internal IDisposable NewStructItemInspectorFactoryScope(IComponentDataElement root, CustomInspectorManager customInspectors, Type elementType) { return((IDisposable)Activator.CreateInstance( typeof(StructInspectorFactoryScope <>).MakeGenericType(elementType), this, root, customInspectors)); }
internal StructInspectorFactoryScope <T> NewStructInspectorFactoryScope <T>(IComponentDataElement root, CustomInspectorManager customInspectors) { return(new StructInspectorFactoryScope <T>(this, root, customInspectors)); }
public StructInspectorFactoryScope(InspectorContext context, IComponentDataElement root, CustomInspectorManager customInspectors) { Context = context; Context.StructElementFactory = new StructDataElementFactory <T>(root, customInspectors); }
public StructDataElementFactory(IComponentDataElement root, CustomInspectorManager customInspectors) { Root = root; CustomInspectors = customInspectors; }
public EntityContainerAdapter(InspectorVisitor <Entity> visitor) : base(visitor) { CustomInspectors = Session.GetManager <CustomInspectorManager>(); EntityManager = Session.GetManager <IWorldManager>().EntityManager; }