public Dependence(string id, string name, string clientElementId, string supplierElementId, DependenceType dependenceType) { Id = id; Name = name; ClientElementId = clientElementId; SupplierElementId = supplierElementId; DependenceType = dependenceType; }
public void AddDependence(string path, DependenceType type) { Dependences.Add(new DependentInfo() { Path = path, Type = type, DownloadUri = null, }); }
public static List<FigureDependenceData> Get(DependenceType type) { if(type == DependenceType.Stat) { if (statData == null) { statData = new List<FigureDependenceData>(); initializingData = statData; InitialzeStatData(); } return statData; } else { if (damageData == null) { damageData = new List<FigureDependenceData>(); initializingData = damageData; InitialzeDamageData(); } return damageData; } }