コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Values: SampleSize, Description</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ExclusionRule&amp;gt; element</param>
 ///
 public ExclusionRule(ExclusionRuleType type, string value) : base(DwDTD.EXCLUSIONRULE)
 {
     this.SetType(type);
     this.Value = value;
 }
コード例 #2
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ExclusionRuleType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Values: SampleSize, Description"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetType(ExclusionRuleType val)
 {
     SetField(DwDTD.EXCLUSIONRULE_TYPE, val);
 }
コード例 #3
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ExclusionRuleType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Values: SampleSize, Description"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetType( ExclusionRuleType val )
 {
     SetField( DwDTD.EXCLUSIONRULE_TYPE, val );
 }
コード例 #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Values: SampleSize, Description</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ExclusionRule&amp;gt; element</param>
 ///
 public ExclusionRule( ExclusionRuleType type, string value )
     : base(DwDTD.EXCLUSIONRULE)
 {
     this.SetType( type );
     this.Value = value;
 }
コード例 #5
0
 ///<summary>Adds the value of the <c>&lt;ExclusionRule&gt;</c> element.</summary>
 /// <param name="Type">Values: SampleSize, Description</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;ExclusionRule&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setExclusionRule</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddExclusionRule</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void AddExclusionRule(ExclusionRuleType Type, string Value)
 {
     AddChild(DwDTD.EXCLUSIONRULES_EXCLUSIONRULE, new ExclusionRule(Type, Value));
 }