public __Mixins(BasicInterceptorSpec target) { this.MixinMasterWrapper = new DefaultMixinActivator() .CreateInstance <__pMixinAutoGenerated.CopaceticSoftware_pMixin_TheorySandbox_Interceptors_BasicInterceptor_Mixin.MasterWrapper>( target); }
protected override void Establish_context() { _spec = new BasicInterceptorSpec(); _spec.Method(10).ShouldEqual("10"); _spec.Property = "Test"; _spec.Property.ShouldEqual("Test"); }
public MasterWrapper(BasicInterceptorSpec target) { this.Mixin = new Mixin(); base.Initialize(target, Mixin, new List <IMixinInterceptor> { //Need custom activator? new DefaultMixinActivator().CreateInstance <MixinInterceptor>() }); }
public __Mixins(BasicInterceptorSpec target) { this.MixinMasterWrapper = new DefaultMixinActivator() .CreateInstance<__pMixinAutoGenerated.CopaceticSoftware_pMixin_TheorySandbox_Interceptors_BasicInterceptor_Mixin.MasterWrapper>( target); }
public MasterWrapper(BasicInterceptorSpec target) { this.Mixin = new Mixin(); base.Initialize(target, Mixin, new List<IMixinInterceptor> { //Need custom activator? new DefaultMixinActivator().CreateInstance<MixinInterceptor>() }); }