TestClient cleanup

This commit is contained in:
Cinder
2022-02-25 19:38:11 -06:00
parent 3fe7b935e7
commit 781a63c307
84 changed files with 385 additions and 408 deletions

View File

@@ -56,7 +56,7 @@ namespace OpenMetaverse.TestClient
};
// Subscribe to the event that will tell us the status of the download
Client.Assets.XferReceived += new EventHandler<XferReceivedEventArgs>(Assets_XferReceived);
Client.Assets.XferReceived += Assets_XferReceived;
// subscribe to the event which tells us when the simulator has received our request
Client.Assets.InitiateDownload += initiateDownloadDelegate;
@@ -75,7 +75,7 @@ namespace OpenMetaverse.TestClient
// unsubscribe from events
Client.Assets.InitiateDownload -= initiateDownloadDelegate;
Client.Assets.XferReceived -= new EventHandler<XferReceivedEventArgs>(Assets_XferReceived);
Client.Assets.XferReceived -= Assets_XferReceived;
// return the result
return result.ToString();