public DesignerActionListsChangedEventArgs(object relatedObject, DesignerActionListsChangedType changeType,
                                            DesignerActionListCollection actionLists)
 {
     this.related_object = relatedObject;
     this.change_type    = changeType;
     this.action_lists   = actionLists;
 }
		public DesignerActionListsChangedEventArgs (object relatedObject, DesignerActionListsChangedType changeType,
							    DesignerActionListCollection actionLists)
		{
			this.related_object = relatedObject;
			this.change_type = changeType;
			this.action_lists = actionLists;
		}
        public void Ctor_Object_DesignerActionListsChangedType_DesignerActionListCollection(object relatedObject, DesignerActionListsChangedType changeType, DesignerActionListCollection actionLists)
        {
            var e = new DesignerActionListsChangedEventArgs(relatedObject, changeType, actionLists);

            Assert.Same(relatedObject, e.RelatedObject);
            Assert.Equal(changeType, e.ChangeType);
            Assert.Same(actionLists, e.ActionLists);
        }
示例#4
0
 public DesignerActionListsChangedEventArgs(object relatedObject, DesignerActionListsChangedType changeType, DesignerActionListCollection actionLists)
 {
     throw null;
 }
	// Constructors
	public DesignerActionListsChangedEventArgs(object relatedObject, DesignerActionListsChangedType changeType, DesignerActionListCollection actionLists) {}
        private readonly DesignerActionListsChangedType _changeType; //type of change

        /// <summary>
        ///  Constructor that requires the object in question, the type of change and the remaining actionlists left for the object. on the related object.
        /// </summary>
        public DesignerActionListsChangedEventArgs(object relatedObject, DesignerActionListsChangedType changeType, DesignerActionListCollection actionLists)
        {
            _relatedObject = relatedObject;
            _changeType    = changeType;
            _actionLists   = actionLists;
        }