/// <summary> /// Initializes a new instance of the <see cref="NoteOptions"/> class. /// </summary> /// <param name="noteContainer">The note container.</param> public NoteOptions(NoteContainer noteContainer) { _containerViewState = noteContainer?.ContainerViewState ?? new StateBag(); _noteTypeIds = new List <int>(); }
/// <summary> /// Initializes a new instance of the <see cref="NoteOptions"/> class. /// </summary> /// <param name="noteContainer">The note container.</param> public NoteOptions(NoteContainer noteContainer) : this(noteContainer?.ContainerViewState) { }