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; }
public virtual DesignerActionListCollection GetComponentActions(IComponent component, ComponentActionsType type) { throw new NotImplementedException(); }
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); }
public virtual DesignerActionListCollection GetComponentActions (IComponent component, ComponentActionsType type) { throw new NotImplementedException (); }
public virtual DesignerActionListCollection GetComponentActions(IComponent component, ComponentActionsType type) { throw null; }
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); }