예제 #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);
        }