* Fixing incorrect documentation for the continuation passing style IAssetService.Get() method
* Changing the SimianGrid asset service connector to match the corrected documentationslimupdates
parent
5fc9fe70af
commit
542abb9c43
|
@ -207,7 +207,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
||||||
AssetBase asset = m_cache.Get(id);
|
AssetBase asset = m_cache.Get(id);
|
||||||
if (asset != null)
|
if (asset != null)
|
||||||
{
|
{
|
||||||
Util.FireAndForget(delegate(object o) { handler(id, sender, asset); });
|
handler(id, sender, asset);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,8 @@ namespace OpenSim.Services.Interfaces
|
||||||
byte[] GetData(string id);
|
byte[] GetData(string id);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get an asset asynchronously
|
/// Get an asset synchronously or asynchronously (depending on whether
|
||||||
|
/// it is locally cached) and fire a callback with the fetched asset
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">The asset id</param>
|
/// <param name="id">The asset id</param>
|
||||||
/// <param name="sender">Represents the requester. Passed back via the handler</param>
|
/// <param name="sender">Represents the requester. Passed back via the handler</param>
|
||||||
|
|
Loading…
Reference in New Issue