public Contexts() { actor = new ActorContext(); config = new ConfigContext(); debugging = new DebuggingContext(); game = new GameContext(); gameState = new GameStateContext(); input = new InputContext(); snapshot = new SnapshotContext(); var postConstructors = System.Linq.Enumerable.Where( GetType().GetMethods(), method => System.Attribute.IsDefined(method, typeof(Entitas.CodeGeneration.Attributes.PostConstructorAttribute)) ); foreach (var postConstructor in postConstructors) { postConstructor.Invoke(this, null); } }
public static void help(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnHelp); }
public static void gcinfo(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnGCInfo); }
public static void DumpConcurrentQueue(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnDumpConcurrentQueue); }
public static void PinnedObjects(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnPinnedObjects); }
public static void StringDuplicates(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnStringDuplicates); }
private void SyncObjects(IDataObject[] objs) { _objCache.Clear(); objs.ForEach(o => _objCache.Add(string.Format("({0}) {1}", o.ID, DebuggingContext.GetInterfaceType(o).Type.FullName))); Count = objs.Length; }
public static void tprunning(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnTpRunning); }
public static void getmethodname(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnGetMethodName); }
public static void ShowParallelStacks(IntPtr client, [MarshalAs(UnmanagedType.LPStr)] string args) { DebuggingContext.Execute(client, args, OnParallelStacks); }