Back to OIM Explorer

RMS.Customizer/RMS.Customizer/PersonHasESet.cs

Decompiler Source FileRMS.Customizer.PersonHasESetDecompiled Source

1 extracted method/event/call references in PersonHasESet.

Source: F:\Claude\.tmp\oim-decompiled-full\1010_One_Identity_Manager_RMS.Customizer.dll\RMS.Customizer\PersonHasESet.cs

Source size: 5.182 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 PersonHasESet; methods MoveNext, SetStateMachine, CreateITShopOrder; references ESet, Person, PersonHasESet; markers references DB/Dialog objects, IT Shop related markers

Classes

PersonHasESet

DB/Dialog object references

OIM key/entity markers

UID_ESet 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 RMS.Customizer;1112public class PersonHasESet : StateBasedEntityLogic13{14	[StructLayout((LayoutKind)3)]15	[CompilerGenerated]16	private struct _003CCreateITShopOrder_003Ed__1 : IAsyncStateMachine17	{18		public int _003C_003E1__state;1920		public AsyncTaskMethodBuilder _003C_003Et__builder;2122		public PersonHasESet _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			PersonHasESet personHasESet = _003C_003E4__this;50			try51			{52				if (num != 0)53				{54					_003C_003E7__wrap1 = personHasESet.StartInternalProcess();55				}56				try57				{58					ConfiguredTaskAwaiter val2;59					if (num != 0)60					{61						ConfiguredTaskAwaitable val = ITShopHelperAsync.CreateMemberITShopOrder(session, entity, "UID_ESet", "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, _003CCreateITShopOrder_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 PersonHasESet()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(_003CCreateITShopOrder_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		_003CCreateITShopOrder_003Ed__1 _003CCreateITShopOrder_003Ed__ = default(_003CCreateITShopOrder_003Ed__1);127		_003CCreateITShopOrder_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();128		_003CCreateITShopOrder_003Ed__._003C_003E4__this = this;129		_003CCreateITShopOrder_003Ed__.session = session;130		_003CCreateITShopOrder_003Ed__.entity = entity;131		_003CCreateITShopOrder_003Ed__.customScriptName = customScriptName;132		_003CCreateITShopOrder_003Ed__.ct = ct;133		_003CCreateITShopOrder_003Ed__._003C_003E1__state = -1;134		((AsyncTaskMethodBuilder)(ref _003CCreateITShopOrder_003Ed__._003C_003Et__builder)).Start<_003CCreateITShopOrder_003Ed__1>(ref _003CCreateITShopOrder_003Ed__);135		return ((AsyncTaskMethodBuilder)(ref _003CCreateITShopOrder_003Ed__._003C_003Et__builder)).Task;136	}137}138