public override bool IsNewContextOK(Context newCtx) { InterceptProperty p = newCtx.GetProperty("Intercept") as InterceptProperty; if (p == null) { return(false); } return(true); }
public override bool IsContextOK(Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg) { InterceptProperty p = ctx.GetProperty("Intercept") as InterceptProperty; if (p == null) { return(false); } return(true); }