C# Class Adf.Core.Menu.MenuObjectExtensions

Show file Open project: NLADP/ADF

Public Methods

Method Description
Add ( this menu, string title, Adf.Core.Tasks.ApplicationTask task, string topic = "", string tip = "" ) : MenuObject
Add ( this menu, string title, string tip = "" ) : MenuObject
AddLast ( this menu, string title, Adf.Core.Tasks.ApplicationTask task, string topic = "", string tip = "" ) : MenuObject
Authorize ( this menu, IAction action ) : void
Up ( this menu ) : MenuObject

Method Details

Add() public static method

public static Add ( this menu, string title, Adf.Core.Tasks.ApplicationTask task, string topic = "", string tip = "" ) : MenuObject
menu this
title string
task Adf.Core.Tasks.ApplicationTask
topic string
tip string
return MenuObject

Add() public static method

public static Add ( this menu, string title, string tip = "" ) : MenuObject
menu this
title string
tip string
return MenuObject

AddLast() public static method

public static AddLast ( this menu, string title, Adf.Core.Tasks.ApplicationTask task, string topic = "", string tip = "" ) : MenuObject
menu this
title string
task Adf.Core.Tasks.ApplicationTask
topic string
tip string
return MenuObject

Authorize() public static method

public static Authorize ( this menu, IAction action ) : void
menu this
action IAction
return void

Up() public static method

public static Up ( this menu ) : MenuObject
menu this
return MenuObject