コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="BillingOfficeAddress"/> class.
        /// </summary>
        /// <param name="billingOfficeAddressType">Type of the billing office address.</param>
        /// <param name="address">The address.</param>
        public BillingOfficeAddress(
            BillingOfficeAddressType billingOfficeAddressType,
            Address address )
        {
            Check.IsNotNull ( billingOfficeAddressType, "Billing office address type is required." );
            Check.IsNotNull ( address, "Address is required." );

            _billingOfficeAddressType = billingOfficeAddressType;
            _address = address;
        }
コード例 #2
0
ファイル: BillingOfficeAddress.cs プロジェクト: girish66/REM
        /// <summary>
        /// Initializes a new instance of the <see cref="BillingOfficeAddress"/> class.
        /// </summary>
        /// <param name="billingOfficeAddressType">Type of the billing office address.</param>
        /// <param name="address">The address.</param>
        public BillingOfficeAddress(
            BillingOfficeAddressType billingOfficeAddressType,
            Address address)
        {
            Check.IsNotNull(billingOfficeAddressType, "Billing office address type is required.");
            Check.IsNotNull(address, "Address is required.");

            _billingOfficeAddressType = billingOfficeAddressType;
            _address = address;
        }