Ejemplo n.º 1
0
		/// <summary>
		/// Clones this command.
		/// </summary>
		/// <returns></returns>
		public KCommandRaw Clone()
		{
			var cloned = new KCommandRaw( this.Link ); OnClone( cloned );
			cloned._Text = this._Text;
			return cloned;
		}
Ejemplo n.º 2
0
		/// <summary>
		/// Creates a new empty instance of <see cref="KCommandRaw"/> using a fluent syntax.
		/// </summary>
		/// <param name="link">The link the command will be associated to.</param>
		/// <returns>The new created command.</returns>
		public static KCommandRaw Raw( this IKLink link )
		{
			var cmd = new KCommandRaw( link );
			return cmd;
		}