示例#1
0
        public override void Initialize(InjectedWindowViewModel owner)
        {
            base.Initialize(owner);

            _inputVariable          = owner.FindInputVariableForNewScriptorium();
            _unwrappedInputVariable = this.UnwrapInputVariableFromViewModel();
        }
示例#2
0
        /// <summary>
        /// Initializes this workspace with its owner.  Derived
        /// classes can override this method to perform initialization work.
        /// Be sure to call the base implementation when overriding.
        /// </summary>
        /// <param name="owner">The containing ViewModel</param>
        public virtual void Initialize(InjectedWindowViewModel owner)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            _owner = owner;
        }
示例#3
0
        public override void Initialize(InjectedWindowViewModel owner)
        {
            base.Initialize(owner);

            _inputVariable = owner.FindInputVariableForNewScriptorium();
            _unwrappedInputVariable = this.UnwrapInputVariableFromViewModel();
        }