Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:TomsToolbox.Wpf.Composition.CommandSource" /> class.
 /// </summary>
 /// <param name="owner">The command source factory.</param>
 public CommandSource([NotNull] ICommandSourceFactory owner)
 {
     _owner = owner;
 }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CommandSource"/> class.
        /// </summary>
        /// <param name="owner">The command source factory.</param>
        public CommandSource([NotNull] ICommandSourceFactory owner)
        {
            Contract.Requires(owner != null);

            _owner = owner;
        }
Example #3
0
        /// <inheritdoc />
        /// <summary>
        /// Initializes a new instance of the <see cref="T:TomsToolbox.Wpf.Composition.CommandSource" /> class.
        /// </summary>
        /// <param name="owner">The command source factory.</param>
        public CommandSource([NotNull] ICommandSourceFactory owner)
        {
            Contract.Requires(owner != null);

            _owner = owner;
        }