private void cmbDonVi_EditValueChanged(object sender, EventArgs e) { if ("" + cmbDonVi.EditValue == "") { cmbBoPhan.Properties.DataSource = null; } else { GlobalMethod.Load_cmbBoPhan(cmbBoPhan, cmbDonVi.EditValue.ToString()); } fgNhanSu.ClearRows(); }
public static void loadCamera( CinemachineVirtualCamera _ctrl, string _assetbundleFolder, string _strfile, bool _isDirect = false) { if (Object.op_Equality((Object)_ctrl, (Object)null)) { return; } string text = string.Empty; if (!_isDirect) { text = GlobalMethod.LoadAllListText(_assetbundleFolder, _strfile, (List <string>)null); } else { TextAsset textAsset = CommonLib.LoadAsset <TextAsset>(_assetbundleFolder, _strfile, false, string.Empty); AssetBundleManager.UnloadAssetBundle(_assetbundleFolder, true, (string)null, false); if (Object.op_Implicit((Object)textAsset)) { text = textAsset.get_text(); } } if (text == string.Empty) { GlobalMethod.DebugLog("cameraファイル読み込めません", 1); } else { string[][] data; GlobalMethod.GetListString(text, out data); Vector3 vector3_1; vector3_1.x = (__Null)(double)float.Parse(data[0][0]); vector3_1.y = (__Null)(double)float.Parse(data[1][0]); vector3_1.z = (__Null)(double)float.Parse(data[2][0]); Vector3 vector3_2; vector3_2.x = (__Null)(double)float.Parse(data[3][0]); vector3_2.y = (__Null)(double)float.Parse(data[4][0]); vector3_2.z = (__Null)(double)float.Parse(data[5][0]); ((CinemachineVirtualCameraBase)_ctrl).get_LookAt().set_localPosition(vector3_1); ((Component)_ctrl).get_transform().set_localPosition(Vector3.op_Addition(vector3_2, vector3_1)); float result = 0.0f; if (!float.TryParse(data[6][0], out result)) { return; } // ISSUE: cast to a reference type // ISSUE: explicit reference operation (^ (LensSettings&)ref _ctrl.m_Lens).FieldOfView = (__Null)(double)result; } }
public override bool Proc(int _modeCtrl, HScene.AnimationListInfo _infoAnimList) { if (Object.op_Equality((Object)this.chaFemales[0].objTop, (Object)null)) { return(false); } this.FemaleAi = this.chaFemales[0].getAnimatorStateInfo(0); float num = ((AnimatorStateInfo) ref this.FemaleAi).get_normalizedTime() % 1f; if (this.ctrlFlag.nowAnimationInfo.id == 10 && !this.sprite.isFade) { HSceneSprite.FadeKindProc fadeKindProc = this.sprite.GetFadeKindProc(); if (fadeKindProc != HSceneSprite.FadeKindProc.OutEnd) { if ((double)num > 0.930000007152557) { this.sprite.FadeState(HSceneSprite.FadeKind.Out, 1.5f); } if ((double)this.oldFrame <= 0.0500000007450581 && 0.0500000007450581 < (double)num) { GlobalMethod.SetAllClothState(this.chaFemales[0], false, 2, true); } else if ((double)this.oldFrame <= 0.209999993443489 && 0.209999993443489 < (double)num) { this.particle.Play(2); } else if ((double)this.oldFrame <= 0.819999992847443 && 0.819999992847443 < (double)num) { GlobalMethod.SetAllClothState(this.chaFemales[0], false, 0, true); } } else if (fadeKindProc == HSceneSprite.FadeKindProc.OutEnd) { GlobalMethod.setCameraMoveFlag(this.ctrlFlag.cameraCtrl, false); this.chaFemales[0].animBody.set_speed(0.0f); ConfirmScene.Sentence = string.Empty; ConfirmScene.OnClickedYes = (Action)(() => this.ctrlFlag.click = HSceneFlagCtrl.ClickKind.PeepingRestart); ConfirmScene.OnClickedNo = (Action)(() => this.ctrlFlag.click = HSceneFlagCtrl.ClickKind.SceneEnd); if (this.ctrlFlag.click == HSceneFlagCtrl.ClickKind.PeepingRestart) { this.setRePlay(this.FemaleAi, 0.0f, false); this.sprite.FadeState(HSceneSprite.FadeKind.In, 0.5f); this.chaFemales[0].animBody.set_speed(1f); this.voice.StartCoroutine(this.InitOldMemberCoroutine()); } } } this.oldFrame = num; this.ctrlMeta.Proc(this.FemaleAi, false); this.setAnimationParamater(); return(true); }
public LocalizationGlobalMethodsProvider() { _contentByLocalizationSet = new GlobalMethod { Name = "contentByLocalizationSet", Method = serviceProvider => (Func <string, string, ContentItem>)((localizationSet, culture) => { var localizationService = serviceProvider.GetRequiredService <IContentLocalizationManager>(); return(localizationService.GetContentItemAsync(localizationSet, culture).GetAwaiter().GetResult()); } ) }; }
public ContentGlobalMethodsProvider(IHttpContextAccessor httpContextAccessor) { _contentByItemId = new GlobalMethod { Name = "contentByItemId", Method = serviceProvider => (Func <string, ContentItem>)((contentItemId) => { var contentManager = serviceProvider.GetRequiredService <IContentManager>(); return(contentManager.GetAsync(contentItemId).GetAwaiter().GetResult()); } ) }; }
public ParametersMethodProvider(object environment) { var environmentObject = JObject.FromObject(environment); _globalMethod = new GlobalMethod { Name = "parameters", Method = serviceprovider => (Func <string, object>)(name => { return(environmentObject.SelectToken(name)?.Value <string>()); }) }; }
public ContentMethodsProvider() { _newContentItemMethod = new GlobalMethod { Name = "newContentItem", Method = serviceProvider => (Func <string, IContent>)((contentType) => { var contentManager = serviceProvider.GetRequiredService <IContentManager>(); var contentItem = contentManager.NewAsync(contentType).GetAwaiter().GetResult(); return(contentItem); }) }; _createContentItemMethod = new GlobalMethod { Name = "createContentItem", Method = serviceProvider => (Func <string, bool?, object, IContent>)((contentType, publish, properties) => { var contentManager = serviceProvider.GetRequiredService <IContentManager>(); var contentItem = contentManager.NewAsync(contentType).GetAwaiter().GetResult(); contentItem.Merge(properties); contentManager.UpdateAndCreateAsync(contentItem, publish == true ? VersionOptions.Published : VersionOptions.Draft).GetAwaiter().GetResult(); return(contentItem); }) }; _updateContentItemMethod = new GlobalMethod { Name = "updateContentItem", Method = serviceProvider => (Action <ContentItem, object>)((contentItem, properties) => { var contentManager = serviceProvider.GetRequiredService <IContentManager>(); contentItem.Merge(properties, new JsonMergeSettings { MergeArrayHandling = MergeArrayHandling.Replace }); contentManager.UpdateAsync(contentItem).GetAwaiter().GetResult(); }) }; _deleteContentItemMethod = new GlobalMethod { Name = "deleteContentItem", Method = serviceProvider => (Action <ContentItem, object>)((contentItem, properties) => { var contentManager = serviceProvider.GetRequiredService <IContentManager>(); contentManager.RemoveAsync(contentItem).GetAwaiter().GetResult(); }) }; }
public WorkflowMethodsProvider(WorkflowExecutionContext workflowContext) { _workflowMethod = new GlobalMethod { Name = "workflow", Method = serviceProvider => (Func <object>)(() => workflowContext) }; _workflowIdMethod = new GlobalMethod { Name = "workflowId", Method = serviceProvider => (Func <string>)(() => workflowContext.Workflow.WorkflowId) }; _inputMethod = new GlobalMethod { Name = "input", Method = serviceProvider => (Func <string, object>)(name => workflowContext.Input[name]) }; _outputMethod = new GlobalMethod { Name = "output", Method = serviceProvider => (Action <string, object>)((name, value) => workflowContext.Output[name] = value) }; _propertyMethod = new GlobalMethod { Name = "property", Method = serviceProvider => (Func <string, object>)((name) => workflowContext.Properties[name]) }; _setPropertyMethod = new GlobalMethod { Name = "setProperty", Method = serviceProvider => (Action <string, object>)((name, value) => workflowContext.Properties[name] = value) }; _resultMethod = new GlobalMethod { Name = "lastResult", Method = serviceProvider => (Func <object>)(() => workflowContext.LastResult) }; _correlationIdMethod = new GlobalMethod { Name = "correlationId", Method = serviceProvider => (Func <string>)(() => workflowContext.Workflow.CorrelationId) }; }
public SignalMethodProvider(WorkflowExecutionContext workflowContext, ISecurityTokenService signalService) { _signalUrlMethod = new GlobalMethod { Name = "signalUrl", Method = serviceProvider => (Func <string, string>)((signal) => { var payload = !String.IsNullOrWhiteSpace(workflowContext.CorrelationId) ? SignalPayload.ForCorrelation(signal, workflowContext.CorrelationId) : SignalPayload.ForWorkflow(signal, workflowContext.WorkflowId); var token = signalService.CreateToken(payload, TimeSpan.FromDays(7)); var urlHelper = serviceProvider.GetRequiredService <IUrlHelper>(); return(urlHelper.Action("Trigger", "HttpWorkflow", new { area = "OrchardCore.Workflows", token })); }) }; }
public GlobalMethodsProvider(IHttpContextAccessor httpContextAccessor) { _formAsJsonObject = new GlobalMethod { Name = "requestFormAsJsonObject", Method = serviceProvider => (Func <JObject>)(() => new JObject(httpContextAccessor.HttpContext.Request.Form.Select( field => { var arr = field.Value.ToArray(); if (arr.Length == 1) { return(new JProperty(field.Key, field.Value[0])); } return(new JProperty(field.Key, JArray.FromObject(arr))); } ).ToArray()) ) }; _formFieldAsJsonObject = new GlobalMethod { Name = "requestFormFieldAsJsonObject", Method = serviceProvider => (Func <string, JObject>)((fieldName) => { var obj = JObject.Parse(httpContextAccessor.HttpContext.Request.Form.FirstOrDefault(f => f.Key.Equals(fieldName)).Value); return(obj); } ) }; _contentByLocalizationSet = new GlobalMethod { Name = "contentByLocalizationSet", Method = serviceProvider => (Func <string, string, ContentItem>)((localizationSet, culture) => { var localizationService = serviceProvider.GetRequiredService <IContentLocalizationManager>(); return(localizationService.GetContentItemAsync(localizationSet, culture).GetAwaiter().GetResult()); } ) }; _contentByItemId = new GlobalMethod { Name = "contentByItemId", Method = serviceProvider => (Func <string, ContentItem>)((contentItemId) => { var contentManager = serviceProvider.GetRequiredService <IContentManager>(); return(contentManager.GetAsync(contentItemId).GetAwaiter().GetResult()); } ) }; }
public LogProvider(ILogger <LogProvider> logger) { _log = new GlobalMethod { Name = "log", Method = serviceProvider => (Action <string, string, object>)((level, text, param) => { if (!Enum.TryParse <LogLevel>(level, true, out var logLevel)) { logLevel = LogLevel.Information; } logger.Log(logLevel, text, param); }) }; }
public JsonResponseModelForPaging <EmpModel> GetEmpJson(int PageNo, int PageSize) { try { myshop = new MyshopDb(); var Allemp = myshop.SpGetEmpList(PageNo, PageSize, WebSession.ShopId); List <EmpModel> EmpList = new List <EmpModel>(); foreach (SpGetEmpList_Result item in Allemp) { EmpModel newEmp = new EmpModel(); newEmp.AadharNo = item.AadharNo; newEmp.Address = item.Address; newEmp.City = item.City; newEmp.CreatedBy = item.CreatedBy; newEmp.Distict = item.Distict; newEmp.DOB = item.DOB; newEmp.DOJ = item.DOJ; newEmp.DOR = item.DOR; newEmp.EmailId = item.EmailId; newEmp.EmpId = item.EmpId; newEmp.FatherName = item.FatherName; newEmp.FirstName = item.FirstName; newEmp.ImageId = item.ImageId; newEmp.LastName = item.LastName; newEmp.Mobile = item.Mobile; newEmp.PANCardNo = item.PANCardNo; newEmp.RoleId = item.RoleId; newEmp.State = item.State; newEmp.UserImage = Convert.ToBase64String(item.UserImage); newEmp.Gender = item.Gender; newEmp.PINCode = item.PINCode; EmpList.Add(newEmp); } return(new JsonResponseModelForPaging <EmpModel> { objList = EmpList, TotalRecords = EmpList.Count(), PageNo = PageNo, PageSize = PageSize }); } catch (Exception ex) { GlobalMethod.LogError("Masters", "GetEmpJson", "Employee Management", ex.Message, ex); throw; } }
private void cmbDonVi_EditValueChanged(object sender, EventArgs e) { if (cmbDonVi.EditValue == null) { cmbBoPhan.EditValue = null; cmbBoPhan.Properties.DataSource = null; fgNhanSu.ClearRows(); } else { VSCM.Base.Forms.WaitForm.ShowSplashScreen(); GlobalMethod.Load_cmbBoPhan(cmbBoPhan, cmbDonVi.EditValue.ToString(), true); cmbBoPhan.EditValue = 0; VSCM.Base.Forms.WaitForm.CloseForm(); } }
public ContentMethodsProvider() { _newContentItemMethod = new GlobalMethod { Name = "newContentItem", Method = serviceProvider => (Func <string, IContent>)((contentType) => { var httpContextAccessor = serviceProvider.GetRequiredService <IHttpContextAccessor>(); var contentManager = httpContextAccessor.HttpContext.RequestServices.GetRequiredService <IContentManager>(); var contentItem = contentManager.NewAsync(contentType).GetAwaiter().GetResult(); return(contentItem); }) }; _createContentItemMethod = new GlobalMethod { Name = "createContentItem", Method = serviceProvider => (Func <string, bool?, object, IContent>)((contentType, publish, properties) => { var httpContextAccessor = serviceProvider.GetRequiredService <IHttpContextAccessor>(); var contentManager = httpContextAccessor.HttpContext.RequestServices.GetRequiredService <IContentManager>(); var contentItem = contentManager.NewAsync(contentType).GetAwaiter().GetResult(); var props = JObject.FromObject(properties); var content = (JObject)contentItem.ContentItem.Content; content.Merge(props); contentManager.CreateAsync(contentItem.ContentItem, publish == true ? VersionOptions.Published : VersionOptions.Draft).GetAwaiter().GetResult(); return(contentItem); }) }; _updateContentItemMethod = new GlobalMethod { Name = "updateContentItem", Method = serviceProvider => (Action <IContent, object>)((contentItem, properties) => { var props = JObject.FromObject(properties); var content = (JObject)contentItem.ContentItem.Content; content.Merge(props, new JsonMergeSettings { MergeArrayHandling = MergeArrayHandling.Replace }); }) }; }
public HttpGlobalMethodsProvider(IHttpContextAccessor httpContextAccessor) { _redirect = new GlobalMethod { Name = "httpRedirect", Method = serviceProvider => (Action <String>)((url) => { if (url.StartsWith("~/")) { url = httpContextAccessor.HttpContext.Request.PathBase + url[1..]; } if (url?.Length == 0) { url = httpContextAccessor.HttpContext.Request.PathBase; } httpContextAccessor.HttpContext.Response.Redirect(url); }
public GlobalMethodProvider() { _role = new GlobalMethod { Name = "role", Method = serviceprovider => (Func <string, object>)(role => { var httpContext = serviceprovider.GetRequiredService <IHttpContextAccessor>().HttpContext; var user = httpContext.User; if (user == null || !user.Identity.IsAuthenticated) { return(false); } return(user.IsInRole(role)); }) }; }
public static List <ExcelData.Param> LoadExcelDataAlFindlFile( string _strAssetPath, string _strFileName, int sCell, int sRow, int eCell, int eRow, List <string> _OmitFolderName = null, bool _isWarning = true) { GlobalMethod.lstABName.Clear(); GlobalMethod.lstABName = GlobalMethod.GetAssetBundleNameListFromPath(_strAssetPath, false); GlobalMethod.lstABName.Sort(); for (int index1 = 0; index1 < GlobalMethod.lstABName.Count; ++index1) { GlobalMethod.strNo.Clear(); GlobalMethod.strNo.Append(Path.GetFileNameWithoutExtension(GlobalMethod.lstABName[index1])); GlobalMethod.strNo.Replace(GlobalMethod.strNo.ToString(), YS_Assist.GetStringRight(GlobalMethod.strNo.ToString(), 2)); if (_OmitFolderName == null || !_OmitFolderName.Contains(GlobalMethod.strNo.ToString())) { string[] allAssetName = AssetBundleCheck.GetAllAssetName(GlobalMethod.lstABName[index1], false, (string)null, false); bool flag = false; for (int index2 = 0; index2 < allAssetName.Length; ++index2) { if (allAssetName[index2].Compare(_strFileName, true)) { flag = true; break; } } if (!flag) { GlobalMethod.DebugLog("[" + GlobalMethod.lstABName[index1] + "][" + _strFileName + "]は見つかりません", 1); } else { List <ExcelData.Param> objList = GlobalMethod.LoadExcelData(GlobalMethod.lstABName[index1], _strFileName, sCell, sRow, eCell, eRow, _isWarning); if (objList != null) { return(objList); } } } } return((List <ExcelData.Param>)null); }
public HttpGlobalMethodsProvider(IHttpContextAccessor httpContextAccessor) { _redirect = new GlobalMethod { Name = "httpRedirect", Method = serviceProvider => (Action <String>)((url) => { if (!url.StartsWith('/')) { url = "/" + url; } var pathString = new PathString(url); httpContextAccessor.HttpContext.Response.Redirect(httpContextAccessor.HttpContext.Request.PathBase + pathString); } ) }; }
public JsonResult GetBrands(int shopId = 1) { try { if (shopId > 0) { return(Json(GlobalMethod.GetBrands())); } else { return(Json("Invalid Parameter")); } } catch (Exception) { return(Json("Invalid Error")); } }
public JsonResult GetSubCatogaries(int catId, int shopId = 1) { try { if (shopId > 0 && catId > 0) { return(Json(GlobalMethod.GetSubCatogaries(catId))); } else { return(Json("Invalid Parameter")); } } catch (Exception) { return(Json("Invalid Error")); } }
protected override async void OnNavigatedTo(NavigationEventArgs e) { this.navigationHelper.OnNavigatedTo(e); string title = (string)e.Parameter; lblName.Text = title; // Load file folder = KnownFolders.VideosLibrary; file = await folder.GetFileAsync(lblName.Text); // Get file size BasicProperties properties = await file.GetBasicPropertiesAsync(); long size = Convert.ToInt32(properties.Size); string sizeStr = GlobalMethod.getFileSizeStr(size); lblSize.Text = sizeStr; }
public JsonResult GetProductUnits(int subCatId) { try { if (subCatId > 0) { return(Json(GlobalMethod.GetProUnit(subCatId))); } else { return(Json("Invalid Parameter")); } } catch (Exception) { return(Json("Invalid Error")); } }
void Update() { if (Input.GetKeyDown(KeyCode.F10)) { windowShow = !windowShow; if (hscene) { if (windowShow) { GlobalMethod.setCameraMoveFlag(hscene.ctrlFlag.cameraCtrl, false); } else { GlobalMethod.setCameraMoveFlag(hscene.ctrlFlag.cameraCtrl, true); } } } }
public JsonResult GetChequeNoByAccNo(int AccId, bool isAllCheque = false) { try { if (AccId > 0) { return(Json(GlobalMethod.GetChequeNoByAccNo(AccId, isAllCheque))); } else { return(Json("Invalid Parameter")); } } catch (Exception) { return(Json("Invalid Error")); } }
protected async override void OnNavigatedTo(NavigationEventArgs e) { this.navigationHelper.OnNavigatedTo(e); ContentJob data = e.Parameter as ContentJob; string title = (string)e.Parameter; lblTitle.Text = title; // Load data MobileServiceInvalidOperationException exception = null; try { items = await jobTable .Where(Job => Job.title == title) .ToCollectionAsync(); } catch (MobileServiceInvalidOperationException ex) { exception = ex; } if (exception != null) { await new MessageDialog(exception.Message, "Error loading items").ShowAsync(); } else { // Show data lblSalary.Text = items[0].salary; lblType.Text = items[0].type; lblRequirements.Text = items[0].requirements; lblClassification.Text = items[0].classification; lblWorkingPlace.Text = items[0].workingPlace; lblDescription.Text = items[0].description; lblContact.Text = items[0].contact; tbxPublisher.Text = items[0].publisher; } Ring.IsActive = false; // Get number from contact GlobalMethod global = new GlobalMethod(); callNumber = global.getNumber(items[0].contact); btnCall.Content = "Call " + callNumber; btnSMS.Content = "SMS " + callNumber; }
public static List <T> LoadAllFolder <T>( string _findFolder, string _strLoadFile, List <string> _OmitFolderName = null) where T : Object { List <T> objList = new List <T>(); GlobalMethod.lstABName.Clear(); GlobalMethod.lstABName = GlobalMethod.GetAssetBundleNameListFromPath(_findFolder, false); GlobalMethod.lstABName.Sort(); for (int index1 = 0; index1 < GlobalMethod.lstABName.Count; ++index1) { string stringRight = YS_Assist.GetStringRight(Path.GetFileNameWithoutExtension(GlobalMethod.lstABName[index1]), 2); if (_OmitFolderName == null || !_OmitFolderName.Contains(stringRight)) { string[] allAssetName = AssetBundleCheck.GetAllAssetName(GlobalMethod.lstABName[index1], false, (string)null, false); bool flag = false; for (int index2 = 0; index2 < allAssetName.Length; ++index2) { if (allAssetName[index2].Compare(_strLoadFile, true)) { flag = true; break; } } if (!flag) { GlobalMethod.DebugLog("[" + GlobalMethod.lstABName[index1] + "][" + _strLoadFile + "]は見つかりません", 1); } else { T obj = CommonLib.LoadAsset <T>(GlobalMethod.lstABName[index1], _strLoadFile, false, string.Empty); AssetBundleManager.UnloadAssetBundle(GlobalMethod.lstABName[index1], true, (string)null, false); if (Object.op_Implicit((Object)(object)obj)) { objList.Add(obj); } } } } return(objList); }
public ObjectCtrl FindOverlapObject(ObjectCtrl _old) { List <ObjectCtrl> _lst = new List <ObjectCtrl>(); foreach (KeyValuePair <IObjectInfo, ObjectCtrl> objectCtrl in this.ObjectCtrls) { if (objectCtrl.Value != null) { objectCtrl.Value.GetOverlapObject(ref _lst); } } if (_lst.IsNullOrEmpty <ObjectCtrl>()) { return((ObjectCtrl)null); } int index = _lst.FindIndex((Predicate <ObjectCtrl>)(v => v == _old)); return(_lst.SafeGet <ObjectCtrl>(GlobalMethod.ValLoop(index + 1, _lst.Count))); }
/// <summary> /// Usage: executeQuery(name, parameters) /// Ex: executeQuery("MySqlQuery", {"Owner":"bob"}); /// </summary> public QueryGlobalMethodProvider() { _executeQuery = new GlobalMethod { Name = "executeQuery", Method = serviceProvider => (Func <string, object, object>)((name, parameters) => { var queryManager = serviceProvider.GetRequiredService <IQueryManager>(); var query = queryManager.GetQueryAsync(name).GetAwaiter().GetResult(); if (query == null) { return(null); } var result = queryManager.ExecuteQueryAsync(query, (IDictionary <string, object>)parameters).GetAwaiter().GetResult(); return(result.Items); }) }; }
private void TimKiem() { var fg = fgNhanSu; fg.Tag = 0; fg.BeginUpdate(); clsNS_ThongTinNS cls = new clsNS_ThongTinNS(); DataTable dt = cls.TimKiemTheoTenNS_MaNS(txtSearch_NhanSu.Text, GlobalVariables.GetCurrentDateTime(), m_TrangThaiHD, m_TrangThaiDiLam); dt = GlobalMethod.CheckQuyenDonVi(dt); fg.SetDataSource(dt, true); fg.AutoSizeRows(); fg.EndUpdate(); fg.Tag = 1; }
public static string LoadAllListText( string _assetbundleFolder, string _strLoadFile, List <string> _OmitFolderName = null) { StringBuilder stringBuilder = new StringBuilder(); GlobalMethod.lstABName.Clear(); GlobalMethod.lstABName = GlobalMethod.GetAssetBundleNameListFromPath(_assetbundleFolder, false); GlobalMethod.lstABName.Sort(); for (int index1 = 0; index1 < GlobalMethod.lstABName.Count; ++index1) { string stringRight = YS_Assist.GetStringRight(Path.GetFileNameWithoutExtension(GlobalMethod.lstABName[index1]), 2); if (_OmitFolderName == null || !_OmitFolderName.Contains(stringRight)) { string[] allAssetName = AssetBundleCheck.GetAllAssetName(GlobalMethod.lstABName[index1], false, (string)null, false); bool flag = false; for (int index2 = 0; index2 < allAssetName.Length; ++index2) { if (allAssetName[index2].Compare(_strLoadFile, true)) { flag = true; break; } } if (!flag) { GlobalMethod.DebugLog("[" + GlobalMethod.lstABName[index1] + "][" + _strLoadFile + "]は見つかりません", 1); } else { TextAsset textAsset = CommonLib.LoadAsset <TextAsset>(GlobalMethod.lstABName[index1], _strLoadFile, false, string.Empty); AssetBundleManager.UnloadAssetBundle(GlobalMethod.lstABName[index1], true, (string)null, false); if (!Object.op_Equality((Object)textAsset, (Object)null)) { stringBuilder.Append(textAsset.get_text()); } } } } return(stringBuilder.ToString()); }