public virtual DesignerActionListCollection GetComponentActions(IComponent component, ComponentActionsType type)
        {
            if (component == null)
            {
                throw new ArgumentNullException("component");
            }
            DesignerActionListCollection actionLists = new DesignerActionListCollection();
            switch (type)
            {
                case ComponentActionsType.All:
                    this.GetComponentDesignerActions(component, actionLists);
                    this.GetComponentServiceActions(component, actionLists);
                    return actionLists;

                case ComponentActionsType.Component:
                    this.GetComponentDesignerActions(component, actionLists);
                    return actionLists;

                case ComponentActionsType.Service:
                    this.GetComponentServiceActions(component, actionLists);
                    return actionLists;
            }
            return actionLists;
        }
Example #2
0
 public virtual DesignerActionListCollection GetComponentActions(IComponent component, ComponentActionsType type)
 {
     throw new NotImplementedException();
 }
Example #3
0
        public virtual DesignerActionListCollection GetComponentActions(IComponent component, ComponentActionsType type)
        {
            if (component == null)
            {
                throw new ArgumentNullException("component");
            }
            DesignerActionListCollection actionLists = new DesignerActionListCollection();

            switch (type)
            {
            case ComponentActionsType.All:
                this.GetComponentDesignerActions(component, actionLists);
                this.GetComponentServiceActions(component, actionLists);
                return(actionLists);

            case ComponentActionsType.Component:
                this.GetComponentDesignerActions(component, actionLists);
                return(actionLists);

            case ComponentActionsType.Service:
                this.GetComponentServiceActions(component, actionLists);
                return(actionLists);
            }
            return(actionLists);
        }
Example #4
0
		public virtual DesignerActionListCollection GetComponentActions (IComponent component, ComponentActionsType type)
		{
			throw new NotImplementedException ();
		}
Example #5
0
 public virtual DesignerActionListCollection GetComponentActions(IComponent component, ComponentActionsType type)
 {
     throw null;
 }
Example #6
0
 public virtual DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component, ComponentActionsType type)
 {
 }
	public virtual DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component, ComponentActionsType type) {}
        public virtual DesignerActionListCollection GetComponentActions(IComponent component, ComponentActionsType type)
        {
            if (component == null)
            {
                throw new ArgumentNullException(nameof(component));
            }
            DesignerActionListCollection result = new DesignerActionListCollection();

            switch (type)
            {
            case ComponentActionsType.All:
                GetComponentDesignerActions(component, result);
                GetComponentServiceActions(component, result);
                break;

            case ComponentActionsType.Component:
                GetComponentDesignerActions(component, result);
                break;

            case ComponentActionsType.Service:
                GetComponentServiceActions(component, result);
                break;
            }
            return(result);
        }