public MDynamicSupport Create(Object instance) { ManagementInfo info = MInspector.BuildInfoFromStandardComponent(instance); CodeGenerationDynamicSupport codeGen = new CodeGenerationDynamicSupport( instance, info, new MemberResolver(info, instance.GetType())); return codeGen.GetImplementation(); }
public MDynamicSupport Create(Object instance) { ManagementInfo info = MInspector.BuildInfoFromStandardComponent(instance); CodeGenerationDynamicSupport codeGen = new CodeGenerationDynamicSupport( instance, info, new MemberResolver(info, instance.GetType())); return(codeGen.GetImplementation()); }