public Reflector(Assembly assembly) { M_AssemblyModel = new AssemblyMetadata(assembly); MefStartup.Instance.ComposeParts(this); }
public Reflector(AssemblyMetadata assembly) { M_AssemblyModel = assembly; TypeMetadata.TypeDictionary.Clear(); M_AssemblyModel.Namespaces.ToList().ForEach(ns => ns.Types.ToList().ForEach(t => TypeMetadata.TypeDictionary.Add(t.TypeName, (TypeMetadata)t))); }
public void DeserializeAssembly(string path) { BaseAssemblyMetadata deserializedData = Serialization.Read(path); M_AssemblyModel = new AssemblyMetadata(deserializedData); }