public ManagedCOMWrapperContext(object instance) { _instanceType = instance.GetType(); _instance = instance; _nameMapper = new ComReflectionNameToIdMapper(_instanceType); }