예제 #1
0
        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;
            }
        }
예제 #2
0
 public override void Reset()
 {
     AssetBundleName = String.Empty;
     LastUsedTime    = 0.0f;
     IsReady         = false;
     ReferenceCount  = 0;
     ReferenceList.Clear();
     LoadedAssetMap.Clear();
     AssetsPath = null;
 }
예제 #3
0
 public override void Reset()
 {
     Bundle          = null;
     AssetBundleName = String.Empty;
     LastUsedTime    = 0.0f;
     IsReady         = false;
     DepAssetBundleInfos.Clear();
     ReferenceCount = 0;
     ReferenceList.Clear();
     LoadedAssetMap.Clear();
     OnBundleUnloadAction = null;
 }
예제 #4
0
 // public helper methods
 public void Reset() => refs.Clear();
예제 #5
0
            // public helper methods

            public void Reset()
            {
                refObjects.Clear();
                refStrings.Clear();
                refClasses.Clear();
            }