コード例 #1
0
 /// <summary>
 /// Used to return the routable value of the command to the correct notification interface 
 /// </summary>
 /// <returns>A string value containing the MS command name if it exists in the map</returns>
 public override string ToString()
 {
     var map = new CommandNameMap();
     return map.GetCommandName(this);
 }
コード例 #2
0
        /// <summary>
        /// Used to return the routable value of the command to the correct notification interface
        /// </summary>
        /// <returns>A string value containing the MS command name if it exists in the map</returns>
        public override string ToString()
        {
            var map = new CommandNameMap();

            return(map.GetCommandName(this));
        }