C# Class ModernWPF.ViewModels.StatusViewModel

A view model for status string.
Inheritance: ViewModelBase
显示文件 Open project: soukoku/ModernWPF Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns a System.String that represents this instance.

Update ( string text ) : void

Updates status with the specified text.

Update ( string text, StatusType type ) : void

Updates status with the specified text.

Method Details

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string

Update() public method

Updates status with the specified text.
public Update ( string text ) : void
text string The text.
return void

Update() public method

Updates status with the specified text.
public Update ( string text, StatusType type ) : void
text string The text.
type StatusType The type.
return void