public StructViewModel(StructProperty property, ViewModelFactory factory) : base(property, factory) { string GetString() => Value?.Value?.ToString(); FormatedString.Dispose(); FormatedString = Property.OnChanged .Select(x => GetString()) .ToReactiveProperty(GetString()); }
public ClassViewModel(ClassProperty property, ViewModelFactory factory) : base(property, factory) { string GetString() { return(Value?.Value?.ToString()); } FormatedString.Dispose(); FormatedString = Property.OnChanged .Select(x => GetString()) .ToReactiveProperty(GetString()); }