コード例 #1
0
ファイル: Agency.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Type of the reimbursing agency. Values: Federal, State, Local, Other</param>
 ///<param name="name">The name of the reimbursing agency. This element is to be used when the Type is set as Other.</param>
 ///<param name="rates">A Rates</param>
 ///
 public Agency( AgencyTypeCode type, string name, Rates rates )
     : base(FoodDTD.AGENCY)
 {
     this.SetType( type );
     this.Name = name;
     this.Rates = rates;
 }
コード例 #2
0
 ///<summary>Adds the value of the <c>&lt;Agency&gt;</c> element.</summary>
 /// <param name="Type">Type of the reimbursing agency. Values: Federal, State, Local, Other</param>
 /// <param name="Name">The name of the reimbursing agency. This element is to be used when the Type is set as Other.</param>
 /// <param name="Rates">A Rates</param>
 ///<remarks>
 /// <para>This form of <c>setAgency</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddAgency</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddAgency(AgencyTypeCode Type, string Name, Rates Rates)
 {
     AddChild(FoodDTD.AGENCIES_AGENCY, new Agency(Type, Name, Rates));
 }
コード例 #3
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A AgencyTypeCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Type of the reimbursing agency. Values: Federal, State, Local, Other"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType(AgencyTypeCode val)
 {
     SetField(FoodDTD.AGENCY_TYPE, val);
 }
コード例 #4
0
ファイル: Agency.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A AgencyTypeCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Type of the reimbursing agency. Values: Federal, State, Local, Other"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( AgencyTypeCode val )
 {
     SetField( FoodDTD.AGENCY_TYPE, val );
 }
コード例 #5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Type of the reimbursing agency. Values: Federal, State, Local, Other</param>
 ///<param name="name">The name of the reimbursing agency. This element is to be used when the Type is set as Other.</param>
 ///<param name="rates">A Rates</param>
 ///
 public Agency(AgencyTypeCode type, string name, Rates rates) : base(FoodDTD.AGENCY)
 {
     this.SetType(type);
     this.Name  = name;
     this.Rates = rates;
 }