private async void LoadData() { try { isLoaded = false; isBusy = true; ReferenceList.Clear(); responseObject = await trackingService.GetReferences(requestObject.JobType, requestObject.JobId); if (responseObject.ReturnCode == "ERR_SUCCESS") { foreach (Reference a in responseObject.References) { ReferenceList.Add(a); } } else { //Error } } catch (Exception e) { //Exception } finally { isLoaded = true; isBusy = false; } }
public override void Reset() { AssetBundleName = String.Empty; LastUsedTime = 0.0f; IsReady = false; ReferenceCount = 0; ReferenceList.Clear(); LoadedAssetMap.Clear(); AssetsPath = null; }
public override void Reset() { Bundle = null; AssetBundleName = String.Empty; LastUsedTime = 0.0f; IsReady = false; DepAssetBundleInfos.Clear(); ReferenceCount = 0; ReferenceList.Clear(); LoadedAssetMap.Clear(); OnBundleUnloadAction = null; }
// public helper methods public void Reset() => refs.Clear();
// public helper methods public void Reset() { refObjects.Clear(); refStrings.Clear(); refClasses.Clear(); }