public BuddyListChangedEventHandlerArgs(BuddyListChangedAction action, IList<Buddy> changedBuddies )
        {
            if (changedBuddies == null || changedBuddies.Count() == 0)
                throw new NoNullAllowedException("changedBuddies cannot be null or empty.");

            Action = action;
            ChangedBuddies = changedBuddies;
        }
Beispiel #2
0
        public BuddyListChangedEventHandlerArgs(BuddyListChangedAction action, IList <Buddy> changedBuddies)
        {
            if (changedBuddies == null || changedBuddies.Count() == 0)
            {
                throw new NoNullAllowedException("changedBuddies cannot be null or empty.");
            }

            Action         = action;
            ChangedBuddies = changedBuddies;
        }