public override void Initialize(InjectedWindowViewModel owner) { base.Initialize(owner); _inputVariable = owner.FindInputVariableForNewScriptorium(); _unwrappedInputVariable = this.UnwrapInputVariableFromViewModel(); }
/// <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; }