public void Handle(PipelineBuilder.Samples.Events.Contracts.IDocumentOpenedEventArgsContract args)
 {
     DocumentOpenedEventArgsContractToViewHostAdapter adaptedArgs;
     adaptedArgs = new DocumentOpenedEventArgsContractToViewHostAdapter(args);
     object[] argsArray = new object[1];
     argsArray[0] = adaptedArgs;
     _event.Invoke(_view, argsArray);
 }
Esempio n. 2
0
        public void Handle(PipelineBuilder.Samples.Events.Contracts.IDocumentOpenedEventArgsContract args)
        {
            DocumentOpenedEventArgsContractToViewHostAdapter adaptedArgs;

            adaptedArgs = new DocumentOpenedEventArgsContractToViewHostAdapter(args);
            object[] argsArray = new object[1];
            argsArray[0] = adaptedArgs;
            _event.Invoke(_view, argsArray);
        }