C# Class Zetbox.Client.Presentables.ZetboxBase.TagPropertyEditorViewModel

Inheritance: StringValueViewModel
显示文件 Open project: daszat/zetbox Class Usage Examples

Public Methods

Method Description
AddTag ( string text ) : void
RemoveTag ( string text ) : void
ResetPossibleValues ( ) : void
SplitValueItems ( string value ) : string[]
TagPropertyEditorViewModel ( IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IValueModel mdl ) : System

Protected Methods

Method Description
GetPossibleValuesAsync ( ) : ZbTask>
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
EnsureValuePossible ( string value ) : void
TriggerPossibleValuesROAsync ( ) : void

Method Details

AddTag() public method

public AddTag ( string text ) : void
text string
return void

GetPossibleValuesAsync() protected method

protected GetPossibleValuesAsync ( ) : ZbTask>
return ZbTask>

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

RemoveTag() public method

public RemoveTag ( string text ) : void
text string
return void

ResetPossibleValues() public method

public ResetPossibleValues ( ) : void
return void

SplitValueItems() public static method

public static SplitValueItems ( string value ) : string[]
value string
return string[]

TagPropertyEditorViewModel() public method

public TagPropertyEditorViewModel ( IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IValueModel mdl ) : System
dependencies IViewModelDependencies
dataCtx IZetboxContext
parent ViewModel
mdl IValueModel
return System