/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="sourceId">The identifier of the SIF node that is subscribing to the object events. This is the agent or ZIS identifier that would appear in the SIF_SourceId field of any SIF_Header created by the SIF node.</param> ///<param name="sifObjectList">The name of the object being subscribed to by this SIF_SIFNode</param> /// public SIF_Subscriber(string sourceId, SIF_ObjectList sifObjectList) : base(InfraDTD.SIF_SUBSCRIBER) { this.SourceId = sourceId; this.SIF_ObjectList = sifObjectList; }
///<summary>Adds the value of the <c><SIF_Provider></c> element.</summary> /// <param name="SourceId">The identifier of the SIF node that is providing objects. This is the agent or ZIS identifier that would appear in the SIF_SourceId field of any SIF_Header created by the SIF node.</param> /// <param name="SifObjectList">The name of the object that is being provided by this SIF_SIFNode</param> ///<remarks> /// <para>This form of <c>setSIF_Provider</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddSIF_Provider</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void AddSIF_Provider(string SourceId, SIF_ObjectList SifObjectList) { AddChild(InfraDTD.SIF_PROVIDERS_SIF_PROVIDER, new SIF_Provider(SourceId, SifObjectList)); }
///<summary>Adds the value of the <c><SIF_Subscriber></c> element.</summary> /// <param name="SourceId">The identifier of the SIF node that is subscribing to the object events. This is the agent or ZIS identifier that would appear in the SIF_SourceId field of any SIF_Header created by the SIF node.</param> /// <param name="SifObjectList">The name of the object being subscribed to by this SIF_SIFNode</param> ///<remarks> /// <para>This form of <c>setSIF_Subscriber</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddSIF_Subscriber</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void AddSIF_Subscriber(string SourceId, SIF_ObjectList SifObjectList) { AddChild(InfraDTD.SIF_SUBSCRIBERS_SIF_SUBSCRIBER, new SIF_Subscriber(SourceId, SifObjectList)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="sourceId">The identifier of the SIF node that is providing objects. This is the agent or ZIS identifier that would appear in the SIF_SourceId field of any SIF_Header created by the SIF node.</param> ///<param name="sifObjectList">The name of the object that is being provided by this SIF_SIFNode</param> /// public SIF_Provider(string sourceId, SIF_ObjectList sifObjectList) : base(InfraDTD.SIF_PROVIDER) { this.SourceId = sourceId; this.SIF_ObjectList = sifObjectList; }