Пример #1
0
        public static long InvokeTransExchange(DonationTransaction trans, DonationProfile dp)
        {
            var e = new TransExchangeEventArgs(trans, dp);

            if (OnTransExchange != null)
            {
                OnTransExchange(e);
            }

            return(e.Exchanged);
        }
Пример #2
0
		public static long InvokeTransExchange(DonationTransaction trans, DonationProfile dp)
		{
			var e = new TransExchangeEventArgs(trans, dp);

			if (OnTransExchange != null)
			{
				OnTransExchange(e);
			}

			return e.Exchanged;
		}