Beispiel #1
0
        public static MFObjectDef GetMfObjDef(this MetadataAliases aliases, string typeKey, string classKey)
        {
            var od      = new MFObjectDef();
            var contact = aliases.Objects[typeKey];

            od.TypeAlias = contact.Alias;
            var contactClass = contact.ClassDict[classKey];

            od.ClassAlias = contactClass.Alias;
            foreach (var p in contactClass.PropDict)
            {
                od.Properties.Add(p);
            }
            return(od);
        }
Beispiel #2
0
 public MFObject(MFObjectDef objDef)
 {
     ObjDef    = objDef;
     Filepaths = new List <string>();
 }