Back to OIM Explorer

TSB.Customizer/TSB.Customizer/PersonHasTSBAccountDef.cs

Decompiler Source FileTSB.Customizer.PersonHasTSBAccountDefDecompiled Source

1 extracted method/event/call references in PersonHasTSBAccountDef.

Source: F:\Claude\.tmp\oim-decompiled-full\1147_One_Identity_Manager_TSB.Customizer.dll\TSB.Customizer\PersonHasTSBAccountDef.cs

Source size: 5.264 characters

Interpretation

  • Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.

Relations

  • Method registration: CreateITShopOrder at line 107

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.

references DB/Dialog objects IT Shop related markers

Summary: classes PersonHasTSBAccountDef; methods MoveNext, SetStateMachine, _CreateItShopOrder; references Person, PersonHasTSBAccountDef, TSBAccountDef; markers references DB/Dialog objects, IT Shop related markers

Classes

PersonHasTSBAccountDef

OIM key/entity markers

UID_TSBAccountDef UID_Person

API/entity calls

None extracted.

Registrations / handlers

None extracted.

Complete Source

C#138 lines
1using System;2using System.Diagnostics;3using System.Runtime.CompilerServices;4using System.Runtime.InteropServices;5using System.Threading;6using System.Threading.Tasks;7using QER.Customizer;8using VI.DB.Entities;910namespace TSB.Customizer;1112public class PersonHasTSBAccountDef : StateBasedEntityLogic13{14	[StructLayout((LayoutKind)3)]15	[CompilerGenerated]16	private struct _003C_CreateItShopOrder_003Ed__1 : IAsyncStateMachine17	{18		public int _003C_003E1__state;1920		public AsyncTaskMethodBuilder _003C_003Et__builder;2122		public PersonHasTSBAccountDef _003C_003E4__this;2324		public ISession session;2526		public IEntity entity;2728		public string customScriptName;2930		public CancellationToken ct;3132		private System.IDisposable _003C_003E7__wrap1;3334		private ConfiguredTaskAwaiter _003C_003Eu__1;3536		private void MoveNext()37		{38			//IL_0081: Unknown result type (might be due to invalid IL or missing references)39			//IL_0086: Unknown result type (might be due to invalid IL or missing references)40			//IL_008d: Unknown result type (might be due to invalid IL or missing references)41			//IL_003e: Unknown result type (might be due to invalid IL or missing references)42			//IL_0049: Unknown result type (might be due to invalid IL or missing references)43			//IL_004e: Unknown result type (might be due to invalid IL or missing references)44			//IL_0051: Unknown result type (might be due to invalid IL or missing references)45			//IL_0056: Unknown result type (might be due to invalid IL or missing references)46			//IL_006a: Unknown result type (might be due to invalid IL or missing references)47			//IL_006b: Unknown result type (might be due to invalid IL or missing references)48			int num = _003C_003E1__state;49			PersonHasTSBAccountDef personHasTSBAccountDef = _003C_003E4__this;50			try51			{52				if (num != 0)53				{54					_003C_003E7__wrap1 = personHasTSBAccountDef.StartInternalProcess();55				}56				try57				{58					ConfiguredTaskAwaiter val2;59					if (num != 0)60					{61						ConfiguredTaskAwaitable val = ITShopHelperAsync.CreateMemberITShopOrder(session, entity, "UID_TSBAccountDef", "UID_Person", customScriptName, ct).ConfigureAwait(false);62						val2 = ((ConfiguredTaskAwaitable)(ref val)).GetAwaiter();63						if (!((ConfiguredTaskAwaiter)(ref val2)).IsCompleted)64						{65							num = (_003C_003E1__state = 0);66							_003C_003Eu__1 = val2;67							((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003C_CreateItShopOrder_003Ed__1>(ref val2, ref this);68							return;69						}70					}71					else72					{73						val2 = _003C_003Eu__1;74						_003C_003Eu__1 = default(ConfiguredTaskAwaiter);75						num = (_003C_003E1__state = -1);76					}77					((ConfiguredTaskAwaiter)(ref val2)).GetResult();78				}79				finally80				{81					if (num < 0 && _003C_003E7__wrap1 != null)82					{83						_003C_003E7__wrap1.Dispose();84					}85				}86				_003C_003E7__wrap1 = null;87			}88			catch (System.Exception exception)89			{90				_003C_003E1__state = -2;91				((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetException(exception);92				return;93			}94			_003C_003E1__state = -2;95			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetResult();96		}9798		[DebuggerHidden]99		private void SetStateMachine(IAsyncStateMachine stateMachine)100		{101			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetStateMachine(stateMachine);102		}103	}104105	public PersonHasTSBAccountDef()106	{107		RegisterMethod("CreateITShopOrder").As<string>(_CreateItShopOrder).Description("Method_CreateITShopOrder").Enabled()108			.Default(value: false)109			.Enabled()110			.From("XOrigin")111			.As<int>((Func<int, bool>)((int xOrigin) => (xOrigin & 8) == 0))112			.Visible()113			.Default(value: false)114			.Visible()115			.From("XOrigin")116			.As<int>((Func<int, bool>)((int xOrigin) => (xOrigin & 8) == 0));117	}118119	[AsyncStateMachine(typeof(_003C_CreateItShopOrder_003Ed__1))]120	private System.Threading.Tasks.Task _CreateItShopOrder(ISession session, IEntity entity, string customScriptName, CancellationToken ct)121	{122		//IL_0002: Unknown result type (might be due to invalid IL or missing references)123		//IL_0007: Unknown result type (might be due to invalid IL or missing references)124		//IL_002e: Unknown result type (might be due to invalid IL or missing references)125		//IL_0030: Unknown result type (might be due to invalid IL or missing references)126		_003C_CreateItShopOrder_003Ed__1 _003C_CreateItShopOrder_003Ed__ = default(_003C_CreateItShopOrder_003Ed__1);127		_003C_CreateItShopOrder_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();128		_003C_CreateItShopOrder_003Ed__._003C_003E4__this = this;129		_003C_CreateItShopOrder_003Ed__.session = session;130		_003C_CreateItShopOrder_003Ed__.entity = entity;131		_003C_CreateItShopOrder_003Ed__.customScriptName = customScriptName;132		_003C_CreateItShopOrder_003Ed__.ct = ct;133		_003C_CreateItShopOrder_003Ed__._003C_003E1__state = -1;134		((AsyncTaskMethodBuilder)(ref _003C_CreateItShopOrder_003Ed__._003C_003Et__builder)).Start<_003C_CreateItShopOrder_003Ed__1>(ref _003C_CreateItShopOrder_003Ed__);135		return ((AsyncTaskMethodBuilder)(ref _003C_CreateItShopOrder_003Ed__._003C_003Et__builder)).Task;136	}137}138