// *** Constructors ***

            public MockShareOperation(IShareTargetActivatedEventArgs activatedEventArgs)
            {
                this.ActivatedEventArgs = activatedEventArgs;
            }
 protected override IShareOperation WrapShareOperation(IShareTargetActivatedEventArgs shareTargetEventArgs)
 {
     return new MockShareOperation(shareTargetEventArgs);
 }
예제 #3
0
 protected virtual IShareOperation WrapShareOperation(IShareTargetActivatedEventArgs shareTargetEventArgs)
 {
     return new ShareOperationProxy(shareTargetEventArgs.ShareOperation);
 }
 public void WrapShareOperationDirect(IShareTargetActivatedEventArgs shareTargetEventArgs)
 {
     base.WrapShareOperation(shareTargetEventArgs);
 }
예제 #5
0
        protected virtual IShareOperation WrapShareOperation(IShareTargetActivatedEventArgs shareTargetEventArgs)
        {
            if (shareTargetEventArgs == null)
                throw new ArgumentNullException(nameof(shareTargetEventArgs));

            return new ShareOperationProxy(shareTargetEventArgs.ShareOperation);
        }