Inheritance: System.Web.UI.WebControls.CompositeControl, INamingContainer
Ejemplo n.º 1
0
 /// <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>();
 }
Ejemplo n.º 2
0
 /// <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)
 {
 }