C# Class CmisSync.RepositoryMenuItem

Inheritance: MonoMac.AppKit.NSMenuItem
显示文件 Open project: OpenDataSpace/CmisSync Class Usage Examples

Private Properties

Property Type Description
EditFolderDelegate EventHandler
OpenFolderDelegate EventHandler
RemoveFolderFromSyncDelegate EventHandler
SuspendSyncFolderDelegate EventHandler
UpdateStatusText void

Public Methods

Method Description
Dispose ( ) : void

Releases all resource used by the CmisSync.RepositoryMenuItem object.

Call Dispose when you are finished using the CmisSync.RepositoryMenuItem. The Dispose method leaves the CmisSync.RepositoryMenuItem in an unusable state. After calling Dispose, you must release all references to the CmisSync.RepositoryMenuItem so the garbage collector can reclaim the memory that the CmisSync.RepositoryMenuItem was occupying.

Dispose ( bool disposing ) : void

Dispose the specified Menu Item.

RepositoryMenuItem ( Repository repo, StatusIconController controller ) : System
RepositoryMenuItem ( Repository repo, StatusIconController controller, Control parent ) : System

Private Methods

Method Description
EditFolderDelegate ( ) : EventHandler
OpenFolderDelegate ( ) : EventHandler
RemoveFolderFromSyncDelegate ( ) : EventHandler
SuspendSyncFolderDelegate ( ) : EventHandler
UpdateStatusText ( ) : void

Method Details

Dispose() public method

Releases all resource used by the CmisSync.RepositoryMenuItem object.
Call Dispose when you are finished using the CmisSync.RepositoryMenuItem. The Dispose method leaves the CmisSync.RepositoryMenuItem in an unusable state. After calling Dispose, you must release all references to the CmisSync.RepositoryMenuItem so the garbage collector can reclaim the memory that the CmisSync.RepositoryMenuItem was occupying.
public Dispose ( ) : void
return void

Dispose() public method

Dispose the specified Menu Item.
public Dispose ( bool disposing ) : void
disposing bool If set to true disposing.
return void

RepositoryMenuItem() public method

public RepositoryMenuItem ( Repository repo, StatusIconController controller ) : System
repo Repository
controller StatusIconController
return System

RepositoryMenuItem() public method

public RepositoryMenuItem ( Repository repo, StatusIconController controller, Control parent ) : System
repo Repository
controller StatusIconController
parent Control
return System