示例#1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Specific type of user identification.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;AuthSystem&amp;gt; element</param>
 ///
 public AuthSystem( AuthSystemType type, string value )
     : base(InfrastructureDTD.AUTHSYSTEM)
 {
     this.SetType( type );
     this.Value = value;
 }
示例#2
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A AuthSystemType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Specific type of user identification."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( AuthSystemType val )
 {
     SetField( InfrastructureDTD.AUTHSYSTEM_TYPE, val );
 }
 ///<summary>Sets the value of the <c>&lt;System&gt;</c> element.</summary>
 /// <param name="Type">Specific type of user identification.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;AuthSystem&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setSystem</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>System</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetSystem( AuthSystemType Type, string Value )
 {
     RemoveChild( InfrastructureDTD.AUTHENTICATIONINFO_SYSTEM);
     AddChild( InfrastructureDTD.AUTHENTICATIONINFO_SYSTEM, new AuthSystem( Type, Value ) );
 }
 ///<summary>Sets the value of the <c>&lt;System&gt;</c> element.</summary>
 /// <param name="Type">Specific type of user identification.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;AuthSystem&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setSystem</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>System</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetSystem(AuthSystemType Type, string Value)
 {
     RemoveChild(InfrastructureDTD.AUTHENTICATIONINFO_SYSTEM);
     AddChild(InfrastructureDTD.AUTHENTICATIONINFO_SYSTEM, new AuthSystem(Type, Value));
 }
示例#5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Specific type of user identification.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;AuthSystem&amp;gt; element</param>
 ///
 public AuthSystem(AuthSystemType type, string value) : base(InfrastructureDTD.AUTHSYSTEM)
 {
     this.SetType(type);
     this.Value = value;
 }
示例#6
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A AuthSystemType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Specific type of user identification."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType(AuthSystemType val)
 {
     SetField(InfrastructureDTD.AUTHSYSTEM_TYPE, val);
 }