Common.Customizer/VI.Common.Customizer/JobEventGen.cs
Decompiler Source FileCommon.Customizer.JobEventGenDecompiled Source
Interpretation
- Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.
Relations
- Function registration: GetParameterCollection at line 372
Typed Edges
- No typed edges extracted for this source.
References
- No direct source references extracted.
Referenced By
- No direct source references extracted.
C# source-derived context
Generated by pattern extraction from the decompiled C# source and decompile index. This is factual source evidence, not inferred behavior.
reads entity values references DB/Dialog objects Job/process related markers
Summary: classes JobEventGen; methods MoveNext, SetStateMachine, GetParameterCollection, GetParameterCollectionAsync, _GetParameterCollectionAsync, _CollectParamsAsync; references DialogTable, JobChain, JobEventGen, JobRunParameter, QBMEvent; markers reads entity values, references DB/Dialog objects, Job/process related markers
Classes
JobEventGenMethods
DB/Dialog object references
OIM key/entity markers
UID_JobChain UID_QBMEvent UID_DialogTable UID_Job UID_JobEventGenAPI/entity calls
GetValueRegistrations / handlers
None extracted.
Complete Source
1using System;2using System.Collections;3using System.Collections.Generic;4using System.Data.Common;5using System.Diagnostics;6using System.Linq;7using System.Runtime.CompilerServices;8using System.Runtime.InteropServices;9using System.Text.RegularExpressions;10using System.Threading;11using System.Threading.Tasks;12using VI.Base;13using VI.DB;14using VI.DB.DataAccess;15using VI.DB.Entities;16using VI.DB.Scripting;1718namespace VI.Common.Customizer;1920public class JobEventGen : StateLessEntityLogic21{22 [StructLayout((LayoutKind)3)]23 [CompilerGenerated]24 private struct _003CGetParameterCollectionAsync_003Ed__2 : IAsyncStateMachine25 {26 public int _003C_003E1__state;2728 public AsyncTaskMethodBuilder<System.Collections.Generic.IReadOnlyList<string>> _003C_003Et__builder;2930 public IDbSession dbSession;3132 public string table;3334 public string eventName;3536 public CancellationToken ct;3738 private HashSet<string> _003CcolReturn_003E5__2;3940 private ISqlFormatter _003Cf_003E5__3;4142 private ConfiguredTaskAwaiter _003C_003Eu__1;4344 private void MoveNext()45 {46 //IL_00da: Unknown result type (might be due to invalid IL or missing references)47 //IL_00df: Unknown result type (might be due to invalid IL or missing references)48 //IL_00e6: Unknown result type (might be due to invalid IL or missing references)49 //IL_0174: Unknown result type (might be due to invalid IL or missing references)50 //IL_017f: Unknown result type (might be due to invalid IL or missing references)51 //IL_0184: Unknown result type (might be due to invalid IL or missing references)52 //IL_0188: Unknown result type (might be due to invalid IL or missing references)53 //IL_018d: Unknown result type (might be due to invalid IL or missing references)54 //IL_01b8: Unknown result type (might be due to invalid IL or missing references)55 //IL_01bd: Unknown result type (might be due to invalid IL or missing references)56 //IL_01c4: Unknown result type (might be due to invalid IL or missing references)57 //IL_0093: Unknown result type (might be due to invalid IL or missing references)58 //IL_009e: Unknown result type (might be due to invalid IL or missing references)59 //IL_00a3: Unknown result type (might be due to invalid IL or missing references)60 //IL_00a7: Unknown result type (might be due to invalid IL or missing references)61 //IL_00ac: Unknown result type (might be due to invalid IL or missing references)62 //IL_01a1: Unknown result type (might be due to invalid IL or missing references)63 //IL_01a2: Unknown result type (might be due to invalid IL or missing references)64 //IL_00c0: Unknown result type (might be due to invalid IL or missing references)65 //IL_00c1: Unknown result type (might be due to invalid IL or missing references)66 int num = _003C_003E1__state;67 System.Collections.Generic.IReadOnlyList<string> result;68 try69 {70 ConfiguredTaskAwaiter val;71 ConfiguredTaskAwaitable val2;72 string sql;73 if (num != 0)74 {75 if (num == 1)76 {77 val = _003C_003Eu__1;78 _003C_003Eu__1 = default(ConfiguredTaskAwaiter);79 num = (_003C_003E1__state = -1);80 goto IL_01d3;81 }82 _003CcolReturn_003E5__2 = new HashSet<string>((IEqualityComparer<string>)(object)StringComparer.OrdinalIgnoreCase);83 _003Cf_003E5__3 = dbSession.SqlFormatter;84 sql = "select j.GenCondition, j.NotifyAddress, j.NotifyAddressSuccess, j.NotifyBody, \r\n\tj.NotifyBodySuccess, j.NotifySender, j.NotifySenderSuccess, j.NotifySubject, \r\n\tj.NotifySubjectSuccess, j.PreCode, j.ProcessDisplay, j.ServerDetectScript, \r\n\tc.GenCondition, c.PreCode, c.ProcessDisplay, je.ProcessDisplay \r\nfrom Job j \r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain \r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain \r\njoin QBMEvent ev on je.UID_QBMEvent = ev.UID_QBMEvent\r\njoin DialogTable t on ev.UID_DialogTable = t.UID_DialogTable\r\nwhere " + _003Cf_003E5__3.AndRelation(_003Cf_003E5__3.Comparison("t.Tablename", table, ValType.String), _003Cf_003E5__3.Comparison("ev.EventName", eventName, ValType.String));85 val2 = _CollectParamsAsync(dbSession, sql, _003CcolReturn_003E5__2, ct).ConfigureAwait(false);86 val = ((ConfiguredTaskAwaitable)(ref val2)).GetAwaiter();87 if (!((ConfiguredTaskAwaiter)(ref val)).IsCompleted)88 {89 num = (_003C_003E1__state = 0);90 _003C_003Eu__1 = val;91 _003C_003Et__builder.AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003CGetParameterCollectionAsync_003Ed__2>(ref val, ref this);92 return;93 }94 }95 else96 {97 val = _003C_003Eu__1;98 _003C_003Eu__1 = default(ConfiguredTaskAwaiter);99 num = (_003C_003E1__state = -1);100 }101 ((ConfiguredTaskAwaiter)(ref val)).GetResult();102 sql = "select p.Valuetemplate from JobRunParameter p\r\njoin Job j on p.UID_Job = j.UID_Job\r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain\r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain\r\njoin QBMEvent ev on je.UID_QBMEvent = ev.UID_QBMEvent\r\njoin DialogTable t on ev.UID_DialogTable = t.UID_DialogTable\r\nwhere " + _003Cf_003E5__3.AndRelation(_003Cf_003E5__3.Comparison("t.Tablename", table, ValType.String), _003Cf_003E5__3.Comparison("ev.EventName", eventName, ValType.String), _003Cf_003E5__3.Comparison("p.valuetemplate", "%$PC(%", ValType.String, CompareOperator.Like));103 val2 = _CollectParamsAsync(dbSession, sql, _003CcolReturn_003E5__2, ct).ConfigureAwait(false);104 val = ((ConfiguredTaskAwaitable)(ref val2)).GetAwaiter();105 if (!((ConfiguredTaskAwaiter)(ref val)).IsCompleted)106 {107 num = (_003C_003E1__state = 1);108 _003C_003Eu__1 = val;109 _003C_003Et__builder.AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003CGetParameterCollectionAsync_003Ed__2>(ref val, ref this);110 return;111 }112 goto IL_01d3;113 IL_01d3:114 ((ConfiguredTaskAwaiter)(ref val)).GetResult();115 result = Enumerable.ToArray<string>((System.Collections.Generic.IEnumerable<string>)_003CcolReturn_003E5__2);116 }117 catch (System.Exception exception)118 {119 _003C_003E1__state = -2;120 _003CcolReturn_003E5__2 = null;121 _003Cf_003E5__3 = null;122 _003C_003Et__builder.SetException(exception);123 return;124 }125 _003C_003E1__state = -2;126 _003CcolReturn_003E5__2 = null;127 _003Cf_003E5__3 = null;128 _003C_003Et__builder.SetResult(result);129 }130131 [DebuggerHidden]132 private void SetStateMachine(IAsyncStateMachine stateMachine)133 {134 _003C_003Et__builder.SetStateMachine(stateMachine);135 }136 }137138 [StructLayout((LayoutKind)3)]139 [CompilerGenerated]140 private struct _003C_CollectParamsAsync_003Ed__4 : IAsyncStateMachine141 {142 public int _003C_003E1__state;143144 public AsyncTaskMethodBuilder _003C_003Et__builder;145146 public IDbSession dbSession;147148 public string sql;149150 public CancellationToken ct;151152 public HashSet<string> colReturn;153154 private ConfiguredTaskAwaiter<DbDataReader> _003C_003Eu__1;155156 private void MoveNext()157 {158 //IL_005d: Unknown result type (might be due to invalid IL or missing references)159 //IL_0062: Unknown result type (might be due to invalid IL or missing references)160 //IL_0069: Unknown result type (might be due to invalid IL or missing references)161 //IL_0017: Unknown result type (might be due to invalid IL or missing references)162 //IL_0022: Unknown result type (might be due to invalid IL or missing references)163 //IL_0027: Unknown result type (might be due to invalid IL or missing references)164 //IL_002a: Unknown result type (might be due to invalid IL or missing references)165 //IL_002f: Unknown result type (might be due to invalid IL or missing references)166 //IL_0043: Unknown result type (might be due to invalid IL or missing references)167 //IL_0044: Unknown result type (might be due to invalid IL or missing references)168 //IL_00b3: Unknown result type (might be due to invalid IL or missing references)169 int num = _003C_003E1__state;170 try171 {172 ConfiguredTaskAwaiter<DbDataReader> val;173 if (num != 0)174 {175 val = dbSession.SqlExecuteAsync(sql, ct).ConfigureAwait(false).GetAwaiter();176 if (!val.IsCompleted)177 {178 num = (_003C_003E1__state = 0);179 _003C_003Eu__1 = val;180 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter<DbDataReader>, _003C_CollectParamsAsync_003Ed__4>(ref val, ref this);181 return;182 }183 }184 else185 {186 val = _003C_003Eu__1;187 _003C_003Eu__1 = default(ConfiguredTaskAwaiter<DbDataReader>);188 num = (_003C_003E1__state = -1);189 }190 DbDataReader result = val.GetResult();191 try192 {193 while (result.Read())194 {195 for (int i = 0; i < result.FieldCount; i++)196 {197 string text = result.GetString(i);198 System.Collections.IEnumerator enumerator = ScriptSyntax.DollarExpression.Matches(text).GetEnumerator();199 try200 {201 while (enumerator.MoveNext())202 {203 text = ((Capture)((Match)enumerator.Current).Groups["def"]).Value;204 if (text.ToUpperInvariant().StartsWith("PC"))205 {206 int num2 = text.IndexOf('(');207 int num3 = text.IndexOf(')');208 if (num2 >= 2 && num3 >= num2 + 2)209 {210 text = text.Substring(num2 + 1, num3 - num2 - 1);211 colReturn.Add(text);212 }213 }214 }215 }216 finally217 {218 if (num < 0 && enumerator is System.IDisposable disposable)219 {220 disposable.Dispose();221 }222 }223 }224 }225 }226 finally227 {228 if (num < 0)229 {230 ((System.IDisposable)result)?.Dispose();231 }232 }233 }234 catch (System.Exception exception)235 {236 _003C_003E1__state = -2;237 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetException(exception);238 return;239 }240 _003C_003E1__state = -2;241 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetResult();242 }243244 [DebuggerHidden]245 private void SetStateMachine(IAsyncStateMachine stateMachine)246 {247 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetStateMachine(stateMachine);248 }249 }250251 [StructLayout((LayoutKind)3)]252 [CompilerGenerated]253 private struct _003C_GetParameterCollectionAsync_003Ed__3 : IAsyncStateMachine254 {255 public int _003C_003E1__state;256257 public AsyncTaskMethodBuilder<System.Collections.Generic.IReadOnlyList<string>> _003C_003Et__builder;258259 public ISession session;260261 public IEntity entity;262263 public CancellationToken ct;264265 private HashSet<string> _003CcolReturn_003E5__2;266267 private IDbSession _003CdbSession_003E5__3;268269 private ISqlFormatter _003Cf_003E5__4;270271 private ConfiguredTaskAwaiter _003C_003Eu__1;272273 private void MoveNext()274 {275 //IL_00c7: Unknown result type (might be due to invalid IL or missing references)276 //IL_00cc: Unknown result type (might be due to invalid IL or missing references)277 //IL_00d3: Unknown result type (might be due to invalid IL or missing references)278 //IL_0151: Unknown result type (might be due to invalid IL or missing references)279 //IL_015c: Unknown result type (might be due to invalid IL or missing references)280 //IL_0161: Unknown result type (might be due to invalid IL or missing references)281 //IL_0165: Unknown result type (might be due to invalid IL or missing references)282 //IL_016a: Unknown result type (might be due to invalid IL or missing references)283 //IL_0198: Unknown result type (might be due to invalid IL or missing references)284 //IL_019d: Unknown result type (might be due to invalid IL or missing references)285 //IL_01a4: Unknown result type (might be due to invalid IL or missing references)286 //IL_0080: Unknown result type (might be due to invalid IL or missing references)287 //IL_008b: Unknown result type (might be due to invalid IL or missing references)288 //IL_0090: Unknown result type (might be due to invalid IL or missing references)289 //IL_0094: Unknown result type (might be due to invalid IL or missing references)290 //IL_0099: Unknown result type (might be due to invalid IL or missing references)291 //IL_017e: Unknown result type (might be due to invalid IL or missing references)292 //IL_017f: Unknown result type (might be due to invalid IL or missing references)293 //IL_00ad: Unknown result type (might be due to invalid IL or missing references)294 //IL_00ae: Unknown result type (might be due to invalid IL or missing references)295 int num = _003C_003E1__state;296 System.Collections.Generic.IReadOnlyList<string> result;297 try298 {299 ConfiguredTaskAwaiter val;300 ConfiguredTaskAwaitable val2;301 string sql;302 if (num != 0)303 {304 if (num == 1)305 {306 val = _003C_003Eu__1;307 _003C_003Eu__1 = default(ConfiguredTaskAwaiter);308 num = (_003C_003E1__state = -1);309 goto IL_01b3;310 }311 _003CcolReturn_003E5__2 = new HashSet<string>((IEqualityComparer<string>)(object)StringComparer.OrdinalIgnoreCase);312 _003CdbSession_003E5__3 = session.Resolve<IDbSession>();313 _003Cf_003E5__4 = _003CdbSession_003E5__3.SqlFormatter;314 sql = "select j.GenCondition, j.NotifyAddress, j.NotifyAddressSuccess, j.NotifyBody, \r\n\tj.NotifyBodySuccess, j.NotifySender, j.NotifySenderSuccess, j.NotifySubject, \r\n\tj.NotifySubjectSuccess, j.PreCode, j.ProcessDisplay, j.ServerDetectScript, \r\n\tc.GenCondition, c.PreCode, c.ProcessDisplay, je.ProcessDisplay \r\nfrom Job j \r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain \r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain \r\nwhere " + _003Cf_003E5__4.UidComparison("je.UID_JobEventGen", entity.GetValue<string>("UID_JobEventGen"));315 val2 = _CollectParamsAsync(_003CdbSession_003E5__3, sql, _003CcolReturn_003E5__2, ct).ConfigureAwait(false);316 val = ((ConfiguredTaskAwaitable)(ref val2)).GetAwaiter();317 if (!((ConfiguredTaskAwaiter)(ref val)).IsCompleted)318 {319 num = (_003C_003E1__state = 0);320 _003C_003Eu__1 = val;321 _003C_003Et__builder.AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003C_GetParameterCollectionAsync_003Ed__3>(ref val, ref this);322 return;323 }324 }325 else326 {327 val = _003C_003Eu__1;328 _003C_003Eu__1 = default(ConfiguredTaskAwaiter);329 num = (_003C_003E1__state = -1);330 }331 ((ConfiguredTaskAwaiter)(ref val)).GetResult();332 sql = "select p.Valuetemplate from JobRunParameter p\r\njoin Job j on p.UID_Job = j.UID_Job\r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain\r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain\r\nwhere " + _003Cf_003E5__4.AndRelation(_003Cf_003E5__4.UidComparison("je.UID_JobEventGen", entity.GetValue<string>("UID_JobEventGen")), _003Cf_003E5__4.Comparison("p.valuetemplate", "%$PC(%", ValType.String, CompareOperator.Like));333 val2 = _CollectParamsAsync(_003CdbSession_003E5__3, sql, _003CcolReturn_003E5__2, ct).ConfigureAwait(false);334 val = ((ConfiguredTaskAwaitable)(ref val2)).GetAwaiter();335 if (!((ConfiguredTaskAwaiter)(ref val)).IsCompleted)336 {337 num = (_003C_003E1__state = 1);338 _003C_003Eu__1 = val;339 _003C_003Et__builder.AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003C_GetParameterCollectionAsync_003Ed__3>(ref val, ref this);340 return;341 }342 goto IL_01b3;343 IL_01b3:344 ((ConfiguredTaskAwaiter)(ref val)).GetResult();345 result = Enumerable.ToArray<string>((System.Collections.Generic.IEnumerable<string>)_003CcolReturn_003E5__2);346 }347 catch (System.Exception exception)348 {349 _003C_003E1__state = -2;350 _003CcolReturn_003E5__2 = null;351 _003CdbSession_003E5__3 = null;352 _003Cf_003E5__4 = null;353 _003C_003Et__builder.SetException(exception);354 return;355 }356 _003C_003E1__state = -2;357 _003CcolReturn_003E5__2 = null;358 _003CdbSession_003E5__3 = null;359 _003Cf_003E5__4 = null;360 _003C_003Et__builder.SetResult(result);361 }362363 [DebuggerHidden]364 private void SetStateMachine(IAsyncStateMachine stateMachine)365 {366 _003C_003Et__builder.SetStateMachine(stateMachine);367 }368 }369370 public JobEventGen()371 {372 RegisterFunction("GetParameterCollection").As<System.Collections.Generic.IReadOnlyList<string>>(_GetParameterCollectionAsync).Description("Method_JobEventGen_GetParameterCollection").Behavior(MethodBehavior.ValidForReadOnlyUser);373 }374375 public static System.Collections.Generic.IReadOnlyList<string> GetParameterCollection(IDbSession dbSession, string table, string eventName)376 {377 return SyncActions.Do<System.Collections.Generic.IReadOnlyList<string>>(() => GetParameterCollectionAsync(dbSession, table, eventName));378 }379380 [AsyncStateMachine(typeof(_003CGetParameterCollectionAsync_003Ed__2))]381 public static async System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>> GetParameterCollectionAsync(IDbSession dbSession, string table, string eventName, CancellationToken ct = default(CancellationToken))382 {383 //IL_0002: Unknown result type (might be due to invalid IL or missing references)384 //IL_0007: Unknown result type (might be due to invalid IL or missing references)385 //IL_0026: Unknown result type (might be due to invalid IL or missing references)386 //IL_0027: Unknown result type (might be due to invalid IL or missing references)387 HashSet<string> colReturn = new HashSet<string>((IEqualityComparer<string>)(object)StringComparer.OrdinalIgnoreCase);388 ISqlFormatter f = dbSession.SqlFormatter;389 string sql = "select j.GenCondition, j.NotifyAddress, j.NotifyAddressSuccess, j.NotifyBody, \r\n\tj.NotifyBodySuccess, j.NotifySender, j.NotifySenderSuccess, j.NotifySubject, \r\n\tj.NotifySubjectSuccess, j.PreCode, j.ProcessDisplay, j.ServerDetectScript, \r\n\tc.GenCondition, c.PreCode, c.ProcessDisplay, je.ProcessDisplay \r\nfrom Job j \r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain \r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain \r\njoin QBMEvent ev on je.UID_QBMEvent = ev.UID_QBMEvent\r\njoin DialogTable t on ev.UID_DialogTable = t.UID_DialogTable\r\nwhere " + f.AndRelation(f.Comparison("t.Tablename", table, ValType.String), f.Comparison("ev.EventName", eventName, ValType.String));390 await _CollectParamsAsync(dbSession, sql, colReturn, ct).ConfigureAwait(false);391 sql = "select p.Valuetemplate from JobRunParameter p\r\njoin Job j on p.UID_Job = j.UID_Job\r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain\r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain\r\njoin QBMEvent ev on je.UID_QBMEvent = ev.UID_QBMEvent\r\njoin DialogTable t on ev.UID_DialogTable = t.UID_DialogTable\r\nwhere " + f.AndRelation(f.Comparison("t.Tablename", table, ValType.String), f.Comparison("ev.EventName", eventName, ValType.String), f.Comparison("p.valuetemplate", "%$PC(%", ValType.String, CompareOperator.Like));392 await _CollectParamsAsync(dbSession, sql, colReturn, ct).ConfigureAwait(false);393 return Enumerable.ToArray<string>((System.Collections.Generic.IEnumerable<string>)colReturn);394 }395396 [AsyncStateMachine(typeof(_003C_GetParameterCollectionAsync_003Ed__3))]397 private static async System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>> _GetParameterCollectionAsync(ISession session, IEntity entity, CancellationToken ct)398 {399 //IL_0002: Unknown result type (might be due to invalid IL or missing references)400 //IL_0007: Unknown result type (might be due to invalid IL or missing references)401 //IL_001e: Unknown result type (might be due to invalid IL or missing references)402 //IL_001f: Unknown result type (might be due to invalid IL or missing references)403 HashSet<string> colReturn = new HashSet<string>((IEqualityComparer<string>)(object)StringComparer.OrdinalIgnoreCase);404 IDbSession dbSession = session.Resolve<IDbSession>();405 ISqlFormatter f = dbSession.SqlFormatter;406 string sql = "select j.GenCondition, j.NotifyAddress, j.NotifyAddressSuccess, j.NotifyBody, \r\n\tj.NotifyBodySuccess, j.NotifySender, j.NotifySenderSuccess, j.NotifySubject, \r\n\tj.NotifySubjectSuccess, j.PreCode, j.ProcessDisplay, j.ServerDetectScript, \r\n\tc.GenCondition, c.PreCode, c.ProcessDisplay, je.ProcessDisplay \r\nfrom Job j \r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain \r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain \r\nwhere " + f.UidComparison("je.UID_JobEventGen", entity.GetValue<string>("UID_JobEventGen"));407 await _CollectParamsAsync(dbSession, sql, colReturn, ct).ConfigureAwait(false);408 sql = "select p.Valuetemplate from JobRunParameter p\r\njoin Job j on p.UID_Job = j.UID_Job\r\njoin JobChain c on c.UID_JobChain = j.UID_JobChain\r\njoin JobEventGen je on je.UID_JobChain = c.UID_JobChain\r\nwhere " + f.AndRelation(f.UidComparison("je.UID_JobEventGen", entity.GetValue<string>("UID_JobEventGen")), f.Comparison("p.valuetemplate", "%$PC(%", ValType.String, CompareOperator.Like));409 await _CollectParamsAsync(dbSession, sql, colReturn, ct).ConfigureAwait(false);410 return Enumerable.ToArray<string>((System.Collections.Generic.IEnumerable<string>)colReturn);411 }412413 [AsyncStateMachine(typeof(_003C_CollectParamsAsync_003Ed__4))]414 private static System.Threading.Tasks.Task _CollectParamsAsync(IDbSession dbSession, string sql, HashSet<string> colReturn, CancellationToken ct)415 {416 //IL_0002: Unknown result type (might be due to invalid IL or missing references)417 //IL_0007: Unknown result type (might be due to invalid IL or missing references)418 //IL_0026: Unknown result type (might be due to invalid IL or missing references)419 //IL_0027: Unknown result type (might be due to invalid IL or missing references)420 _003C_CollectParamsAsync_003Ed__4 _003C_CollectParamsAsync_003Ed__ = default(_003C_CollectParamsAsync_003Ed__4);421 _003C_CollectParamsAsync_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();422 _003C_CollectParamsAsync_003Ed__.dbSession = dbSession;423 _003C_CollectParamsAsync_003Ed__.sql = sql;424 _003C_CollectParamsAsync_003Ed__.colReturn = colReturn;425 _003C_CollectParamsAsync_003Ed__.ct = ct;426 _003C_CollectParamsAsync_003Ed__._003C_003E1__state = -1;427 ((AsyncTaskMethodBuilder)(ref _003C_CollectParamsAsync_003Ed__._003C_003Et__builder)).Start<_003C_CollectParamsAsync_003Ed__4>(ref _003C_CollectParamsAsync_003Ed__);428 return ((AsyncTaskMethodBuilder)(ref _003C_CollectParamsAsync_003Ed__._003C_003Et__builder)).Task;429 }430}431