コード例 #1
0
        private void SetValue(object value)
        {
            if (value == null)
            {
                return;
            }

            GenericParserString v = (GenericParserString)value;

            this.txtString.Text         = v.String;
            this.chkIsContained.Checked = v.IsContained;
        }
コード例 #2
0
 /// <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>();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AreaDefinition"/> class.
 /// </summary>
 public AreaDefinition()
 {
     AreaString = new GenericParserString();
     Separator = ":";
 }