public Dependence(string id, string name, string clientElementId, string supplierElementId, DependenceType dependenceType)
 {
     Id                = id;
     Name              = name;
     ClientElementId   = clientElementId;
     SupplierElementId = supplierElementId;
     DependenceType    = dependenceType;
 }
示例#2
0
 public void AddDependence(string path, DependenceType type)
 {
     Dependences.Add(new DependentInfo()
     {
         Path        = path,
         Type        = type,
         DownloadUri = null,
     });
 }
示例#3
0
 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;
     }
 }