Пример #1
0
 public Boolean Crossing(TParams value)
 {
     return base.Crossing(value);
 }
Пример #2
0
 public bool Equals(TParams args)
 {
     return base.Equals(args);
 }
Пример #3
0
 public static IEnumerable TDictionaryStringInt32Enum(TParams AParams, String AName)
 {
     if (AParams == null) return null;
       TDictionaryStringInt32 LList = AParams.AsTDictionaryStringInt32(AName);
       if(LList == null) return null;
       return TDictionaryStringInt32.Enum(LList);
 }
Пример #4
0
        public static IEnumerable TListStringEnum(TParams AParams, String AName)
        {
            if (AParams == null) return null;

              TListString LList = AParams.AsTListString(AName);
              if(LList == null) return null;
              return TListString.Enum(LList);
        }
Пример #5
0
 public static TParams New()
 {
     TParams result = new TParams();
       result.Init();
       return result;
 }
Пример #6
0
        public static TParams Overwrite(TParams AStorage, TParams ALoad, String ALoadAliases, Char ALoadValueCondition = 'A')
        {
            if(AStorage == null && ALoad == null)
            return null;
              if(String.IsNullOrEmpty(ALoadAliases))
            return AStorage;

              Boolean LNullStorage = (AStorage == null);
              if(LNullStorage)
            AStorage = TParams.New() ;
              AStorage.Load(ALoad, ALoadAliases, Pub.LoadValueConditionParser(ALoadValueCondition));

              return (AStorage.Count > 0 || !LNullStorage) ? AStorage : null;
        }
Пример #7
0
 public static String FormatMax(String AFormat, TParams AParams)
 {
     return INT.TParams.Format(AFormat, AParams);
 }
Пример #8
0
 public void Read(System.IO.BinaryReader r)
 {
     if(OResult == null)
     OResult = TParams.New();
       OResult.Read(r);
 }
Пример #9
0
 public static object Evaluate(TParams AParams, String AExpression)
 {
     return Evaluate(AParams, AExpression, null);
 }
Пример #10
0
 public static Boolean EvaluateBoolean(TParams AParams, String AExpression, Boolean ADefault)
 {
     return EvaluateBoolean(AParams, AExpression, ADefault, null);
 }
Пример #11
0
        public static Boolean Equal(TParams AParams1, TParams AParams2)
        {
            if (AParams1 == null && AParams2 == null) return true;
              if (AParams1 == null || AParams2 == null) return false;

              return AParams1.Equals(AParams2);
        }
Пример #12
0
 public static IEnumerable EnumAsText(TParams Params, String AStyle)
 {
     return Params.ListParamsAsText(AStyle);
 }
Пример #13
0
 public static IEnumerable Enum(TParams Params)
 {
     return Params.ListParams();
 }
Пример #14
0
 public void Load(TParams ASource, String AAliases, Char ALoadValueCondition = 'A')
 {
     base.Load(ASource, AAliases, Pub.LoadValueConditionParser(ALoadValueCondition));
 }
Пример #15
0
        public static TParams Merge(TParams Value1, TParams Value2)
        {
            if(Value2 == null)
            return Value1;
              else if(Value1 == null)
            return Value2;

              Value1.MergeParams(Value2);
              return Value1;
        }
Пример #16
0
 public void MergeParams(TParams value)
 {
     base.MergeParams(value);
 }
Пример #17
0
 public void Init()
 {
     OResult = TParams.New();
 }