private void SetValue(object value) { if (value == null) { return; } GenericParserString v = (GenericParserString)value; this.txtString.Text = v.String; this.chkIsContained.Checked = v.IsContained; }
/// <summary> /// Initializes a new instance of the <see cref="SectionDefinition"/> class. /// </summary> public SectionDefinition() { SectionString = new GenericParserString(); Parsers = new List<SectionParserDefinition>(); Areas = new List<AreaDefinition>(); }
/// <summary> /// Initializes a new instance of the <see cref="AreaDefinition"/> class. /// </summary> public AreaDefinition() { AreaString = new GenericParserString(); Separator = ":"; }