コード例 #1
0
ファイル: Payor.cs プロジェクト: girish66/REM
        /// <summary>
        /// Removes the payor address.
        /// </summary>
        /// <param name="payorAddress">The payor address.</param>
        public virtual void RemovePayorAddress(PayorAddress payorAddress)
        {
            Check.IsNotNull(payorAddress, "Payor Address is required.");

            _addresses.Delete(payorAddress);
            NotifyItemRemoved(() => Addresses, payorAddress);
        }
コード例 #2
0
ファイル: Payor.cs プロジェクト: divyang4481/REM
        /// <summary>
        /// Removes the payor address.
        /// </summary>
        /// <param name="payorAddress">The payor address.</param>
        public virtual void RemovePayorAddress( PayorAddress payorAddress )
        {
            Check.IsNotNull ( payorAddress, "Payor Address is required." );

            _addresses.Delete ( payorAddress );
            NotifyItemRemoved ( () => Addresses, payorAddress );
        }
コード例 #3
0
ファイル: Payor.cs プロジェクト: divyang4481/REM
 /// <summary>
 /// Adds the payor address.
 /// </summary>
 /// <param name="payorAddress">The payor address.</param>
 public virtual void AddPayorAddress( PayorAddress payorAddress )
 {
     payorAddress.Payor = this;
     _addresses.Add ( payorAddress );
     NotifyItemAdded ( () => Addresses, payorAddress );
 }
コード例 #4
0
ファイル: Payor.cs プロジェクト: girish66/REM
 /// <summary>
 /// Adds the payor address.
 /// </summary>
 /// <param name="payorAddress">The payor address.</param>
 public virtual void AddPayorAddress(PayorAddress payorAddress)
 {
     payorAddress.Payor = this;
     _addresses.Add(payorAddress);
     NotifyItemAdded(() => Addresses, payorAddress);
 }