Example #1
0
 /// <summary>
 /// Creates a <see cref="TypeField"/> from a configuration file element
 /// </summary>
 protected static ITypeField GetTypeField(TypeFieldElement element)
 {
     return(element == null
                ? NotFound
                : new TypeField(element));
 }
Example #2
0
 public TypeField(TypeFieldElement config)
 {
     _alias   = config.Alias;
     _name    = config.Name;
     _typeKey = config.TypeKey;
 }