// <copyright file="GlobalCommandsProxy.cs" company="GoalBook"> // Copyright © 2009 Mark Brownsword. All rights reserved. // This source code and supporting files are licensed under The Code Project // Open License (CPOL) as detailed at http://www.codeproject.com/info/cpol10.aspx. // </copyright> namespace GoalBook.Shell.Commands { #region Using Statements using GoalBook.Shell.Misc; using Microsoft.Practices.Composite.Presentation.Commands; #endregion /// <summary> /// Used by Module Views to register Composite Commands. /// </summary> public class GlobalCommandsProxy : IGlobalCommandsProxy { /// <summary> /// Gets reference for Proxy PrintCommand. /// </summary> public virtual CompositeCommand PrintCommand { get { return GlobalCommands.PrintCommand; } } /// <summary> /// Gets reference for Proxy UndoCommand. /// </summary> public virtual CompositeCommand UndoCommand { get { return GlobalCommands.UndoCommand; } } /// <summary> /// Gets reference for Proxy DeleteCommand. /// </summary> public virtual CompositeCommand DeleteCommand { get { return GlobalCommands.DeleteCommand; } } /// <summary> /// Gets reference for Proxy SearchCommand. /// </summary> public virtual CompositeCommand SearchCommand { get { return GlobalCommands.SearchCommand; } } /// <summary> /// Gets reference for Proxy ClearCommand. /// </summary> public virtual CompositeCommand ClearCommand { get { return GlobalCommands.ClearCommand; } } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)