示例#1
0
		/// <summary>
		/// Creates new instance of <see cref="Attendee"/>
		/// </summary>
		/// <param name="initData">initialization data</param>
		public Attendee(AttendeeInitData initData)
		{
			if (initData == null)
				throw new MemoryPointerIsNullException("initData");

			this.Id = initData.Id;
			this.DelegateId = initData.DelegateId;
			this.State = initData.State;
			this.delegateProvider = initData.DelegateProvider;
		}
示例#2
0
        /// <summary>
        /// Creates new instance of <see cref="Attendee"/>
        /// </summary>
        /// <param name="initData">initialization data</param>
        public Attendee(AttendeeInitData initData)
        {
            if (initData == null)
            {
                throw new MemoryPointerIsNullException("initData");
            }

            this.Id               = initData.Id;
            this.DelegateId       = initData.DelegateId;
            this.State            = initData.State;
            this.delegateProvider = initData.DelegateProvider;
        }