port from perforce
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using Intromat.Views.Previews;
|
||||
using ReactiveUI;
|
||||
using Splat;
|
||||
|
||||
namespace Intromat.ViewModels.Previews
|
||||
{
|
||||
public class StringPreviewViewModel : NodePreviewViewModelBase
|
||||
{
|
||||
private string _value = string.Empty;
|
||||
|
||||
static StringPreviewViewModel()
|
||||
{
|
||||
Locator.CurrentMutable.Register(() => new StringPreview(), typeof(IViewFor<StringPreviewViewModel>));
|
||||
}
|
||||
|
||||
public string Value
|
||||
{
|
||||
get => _value;
|
||||
set => this.RaiseAndSetIfChanged(ref _value, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user