C# Class SaveFileDialogMessage, code

Inheritance: GenericMessage
Mostra file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
ProcessCallback ( bool? result, fileName ) : void

Utility method, checks if the Callback property is null, and if it is not null, executes it.

SaveFileDialogMessage ( content, filter, Action, callback )

Initializes a new instance of the SaveFileDialogMessage class.

SaveFileDialogMessage ( object sender, content, filter, Action, callback )

Initializes a new instance of the SaveFileDialogMessage class.

SaveFileDialogMessage ( object sender, object target, content, filter, Action, callback )

Initializes a new instance of the SaveFileDialogMessage class.

Method Details

ProcessCallback() public method

Utility method, checks if the Callback property is null, and if it is not null, executes it.
public ProcessCallback ( bool? result, fileName ) : void
result bool? The result that must be passed /// to the dialog message caller.
fileName Name of the file.
return void

SaveFileDialogMessage() public method

Initializes a new instance of the SaveFileDialogMessage class.
public SaveFileDialogMessage ( content, filter, Action, callback )
content The content.
filter The filter.
callback Action, The callback.

SaveFileDialogMessage() public method

Initializes a new instance of the SaveFileDialogMessage class.
public SaveFileDialogMessage ( object sender, content, filter, Action, callback )
sender object The sender.
content The content.
filter The filter.
callback Action, The callback.

SaveFileDialogMessage() public method

Initializes a new instance of the SaveFileDialogMessage class.
public SaveFileDialogMessage ( object sender, object target, content, filter, Action, callback )
sender object The sender.
target object The target.
content The content.
filter The filter.
callback Action, The callback.