Ejemplo n.º 1
0
 private ValueEncoder(OptionValueType valueType, Func <OptionValueProcessorInput, string> convert,
                      string[] enumValues = null)
 {
     ValueType  = valueType;
     Convert    = convert;
     EnumValues = ShellEnumOptions.Make(enumValues);
 }
 public ShellEnumOptionsGenerator(string shortTypeName, CsNamespace targetNamespace,
                                  [CanBeNull] ShellEnumOptions enumOptions)
 {
     ShortTypeName   = shortTypeName;
     TargetNamespace = targetNamespace;
     EnumOptions     = enumOptions;
 }