Example #1
0
 private static String createEnumName(ValueDef value)
 {
     if (String.IsNullOrEmpty(value.Desc))
     {
         return(makeName(null, value.Desc));
     }
     else
     {
         return(makeName(value.Value, value.Desc));
     }
 }
 private static String createEnumName( ValueDef value )
 {
     if( String.IsNullOrEmpty( value.Desc ) )
     {
         return makeName( null, value.Desc );
     }else
     {
         return makeName( value.Value, value.Desc );
     }
 }
Example #3
0
 public virtual void DefineValue( string name,
                                  string val,
                                  string desc )
 {
     fValues[val] = new ValueDef( name, val, desc );
 }
Example #4
0
 public virtual void DefineValue(string name,
                                 string val,
                                 string desc)
 {
     fValues[val] = new ValueDef(name, val, desc);
 }