Exemple #1
0
        public IInvocationStart CreateInvocationStartRequest(IInvocationTarget target)
        {
            var obj = InvocationStart.Rent();

            obj.Target = target;
            return(obj);
        }
        public IInvocationStart CreateInvocationStartRequest(IInvocationTarget target, IContextLinkageOptions contextLinkageOptions)
        {
            var obj = InvocationStart.Rent();

            obj.Target = target;
            obj.ContextLinkageOptions = contextLinkageOptions ?? CreateContextLinkageOptions(ContextLinkageDiscoveryMode.None);
            return(obj);
        }
 public DynamicTargetProxy(IInvocationTarget target)
 {
     if (target == null)
     {
         throw new ArgumentNullException("target");
     }
     _target = target;
 }
Exemple #4
0
 public TypedTargetProxy(IInvocationTarget target, Type proxyType)
     : base(proxyType)
 {
     if (target == null)
     {
         throw new ArgumentNullException("target");
     }
     _target = target;
 }
Exemple #5
0
 public TypedTargetProxy(IInvocationTarget target, Type proxyType)
     : base(proxyType)
 {
     if (target == null) throw new ArgumentNullException("target");
     _target = target;
 }