public static List <D_Test> FindEntities(Predicate <D_Test> filter, List <D_Test> result = null, Comparison <D_Test> sort = null) { result = result ?? new List <D_Test>(); _find_Entities_Result.Clear(); MetaDefault.FindEntities(filter == null ? (Predicate <BGEntity>)null: e => filter((D_Test)e), _find_Entities_Result, sort == null ? (Comparison <BGEntity>)null : (e1, e2) => sort((D_Test)e1, (D_Test)e2)); if (_find_Entities_Result.Count != 0) { for (var i = 0; i < _find_Entities_Result.Count; i++) { result.Add((D_Test)_find_Entities_Result[i]); } _find_Entities_Result.Clear(); } return(result); }
public static D_Test GetEntity(BGId entityId) { return((D_Test)MetaDefault.GetEntity(entityId)); }
public static void ForEachEntity(Action <D_Test> action, Predicate <D_Test> filter = null, Comparison <D_Test> sort = null) { MetaDefault.ForEachEntity(entity => action((D_Test)entity), filter == null ? null : (Predicate <BGEntity>)(entity => filter((D_Test)entity)), sort == null?(Comparison <BGEntity>)null:(e1, e2) => sort((D_Test)e1, (D_Test)e2)); }
public static D_Test FindEntity(Predicate <D_Test> filter) { return(MetaDefault.FindEntity(entity => filter == null || filter((D_Test)entity)) as D_Test); }
public static D_ObjectText GetEntity(string entityName) { return((D_ObjectText)MetaDefault.GetEntity(entityName)); }
public static D_ObjectText NewEntity() { return((D_ObjectText)MetaDefault.NewEntity()); }
public static D_StageData NewEntity() { return((D_StageData)MetaDefault.NewEntity()); }
public static D_SaveLoad GetEntity(BGId entityId) { return((D_SaveLoad)MetaDefault.GetEntity(entityId)); }
public static D_StageData GetEntity(BGId entityId) { return((D_StageData)MetaDefault.GetEntity(entityId)); }
public static D_StageData GetEntity(string entityName) { return((D_StageData)MetaDefault.GetEntity(entityName)); }
public static D_StageData FindEntity(Predicate <D_StageData> filter) { return(MetaDefault.FindEntity(entity => filter == null || filter((D_StageData)entity)) as D_StageData); }
public static D_SaveLoad NewEntity() { return((D_SaveLoad)MetaDefault.NewEntity()); }
public static D_SaveLoad GetEntity(string entityName) { return((D_SaveLoad)MetaDefault.GetEntity(entityName)); }
public static D_Test GetEntity(string entityName) { return((D_Test)MetaDefault.GetEntity(entityName)); }
public static D_ObjectText GetEntity(BGId entityId) { return((D_ObjectText)MetaDefault.GetEntity(entityId)); }
public static D_Test NewEntity() { return((D_Test)MetaDefault.NewEntity()); }
public static D_SaveLoad FindEntity(Predicate <D_SaveLoad> filter) { return(MetaDefault.FindEntity(entity => filter == null || filter((D_SaveLoad)entity)) as D_SaveLoad); }