GetImplementation() public method

public GetImplementation ( ) : MDynamicSupport
return MDynamicSupport
		public MDynamicSupport Create(Object instance)
		{
			ManagementInfo info = MInspector.BuildInfoFromStandardComponent(instance);

			CodeGenerationDynamicSupport codeGen = new CodeGenerationDynamicSupport(
				instance, info, 
				new MemberResolver(info, instance.GetType()));

			return codeGen.GetImplementation();
		}
示例#2
0
        public MDynamicSupport Create(Object instance)
        {
            ManagementInfo info = MInspector.BuildInfoFromStandardComponent(instance);

            CodeGenerationDynamicSupport codeGen = new CodeGenerationDynamicSupport(
                instance, info,
                new MemberResolver(info, instance.GetType()));

            return(codeGen.GetImplementation());
        }