Beispiel #1
0
        public static CatalogField forKKey(KKey kKey)
        {
            CatalogField result = null;

            FIELDS_BY_KEY.TryGetValue(kKey, out result);
            return(result);
        }
Beispiel #2
0
 private CatalogField(Catalog catalog, KKey kKey, KKeyMetadata metadata, CatalogFieldType fieldType = CatalogFieldType.DATA)
 {
     this.Catalog  = catalog;
     this.KKey     = kKey;
     this.Metadata = metadata;
     this.Type     = fieldType;
     FIELDS_BY_KEY.Add(kKey, this);
 }
Beispiel #3
0
        public static KKeyMetadata getMetadataFor(KKey kKey)
        {
            CatalogField field = forKKey(kKey);

            return(field?.Metadata);
        }