示例#1
0
        public QuickPadCommands(
            IShowGoToCommand <TStorageFile, TStream> showGotoCommand
            , IShareCommand <TStorageFile, TStream> shareCommand
            , ICutCommand <TStorageFile, TStream> cutCommand
            , ICopyCommand <TStorageFile, TStream> copyCommand
            , IPasteCommand <TStorageFile, TStream> pasteCommand
            , IDeleteCommand <TStorageFile, TStream> deleteCommand
            , IContentChangedCommand <TStorageFile, TStream> contentChangedCommand
            , IEmojiCommand <TStorageFile, TStream> emojiCommand
            , ICompactOverlayCommand <TStorageFile, TStream> compactOverlayCommand
            , IRateAndReviewCommand <TStorageFile, TStream> rateAndReviewCommand)
        {
            _commands = this;

            ShareCommand          = shareCommand;
            CutCommand            = cutCommand;
            CopyCommand           = copyCommand;
            PasteCommand          = pasteCommand;
            DeleteCommand         = deleteCommand;
            ContentChangedCommand = contentChangedCommand;
            EmojiCommand          = emojiCommand;
            CompactOverlayCommand = compactOverlayCommand;
            RateAndReviewCommand  = rateAndReviewCommand;
            ShowGoToCommand       = showGotoCommand;
        }
示例#2
0
 public QuickPadCommands(PasteCommand pasteCommand, ShowGoToCommand showGotoCommand)
 {
     _commands       = this;
     PasteCommand    = pasteCommand;
     ShowGoToCommand = showGotoCommand;
 }
示例#3
0
 public QuickPadCommands(PasteCommand pasteCommand)
 {
     _commands    = this;
     PasteCommand = pasteCommand;
 }