Пример #1
0
        public static CatalogField forKKey(KKey kKey)
        {
            CatalogField result = null;

            FIELDS_BY_KEY.TryGetValue(kKey, out result);
            return(result);
        }
Пример #2
0
 private KKeyMetadata findMetadata()
 {
     if (getLevel() == Level.CATALOG)
     {
         return(CatalogField.getMetadataFor(this));
     }
     else
     {
         return(KKeyRepository.getInstance().getMetadataFor(this));
     }
 }
Пример #3
0
        public static KKeyMetadata getMetadataFor(KKey kKey)
        {
            CatalogField field = forKKey(kKey);

            return(field?.Metadata);
        }