public ScorocodeField(string name, ScorocodeTypes type, string target, bool system, bool readOnly, bool required) { this.name = name; this.type = type.GetName(); this.target = target; this.system = system; this.readOnly = readOnly; this.required = required; }
public static Dictionary <int, string> Values(this ScorocodeTypes typeCode) { return(typeNames); }
public static string GetName(this ScorocodeTypes typeCode) { int index = (int)typeCode; return(index >= 0 && index <= 10 ? typeNames[index] : typeNames[10]); }