Пример #1
0
        static MultiViewModelState()
        {
            var type = typeof(MultiViewModelState);

            ViewModelState = DataConstant.Create <MultiViewModelState>(type, nameof(ViewModelState), true);
            SelectedIndex  = DataConstant.Create <int>(type, nameof(SelectedIndex));
        }
Пример #2
0
 public bool Remove(DataConstant dataConstant)
 {
     return(false);
 }
Пример #3
0
 public bool Contains(DataConstant dataConstant)
 {
     return(false);
 }
Пример #4
0
 public bool TryGetData <T>(DataConstant <T> dataConstant, out T data)
 {
     data = default(T);
     return(false);
 }
Пример #5
0
 public T GetData <T>(DataConstant <T> dataConstant)
 {
     return(default(T));
 }
Пример #6
0
 public void AddOrUpdate <T>(DataConstant <T> dataConstant, T value)
 {
 }
Пример #7
0
 public void Add <T>(DataConstant <T> dataConstant, T value)
 {
 }
 public static DataConstantValue Create(DataConstant dataConstant, object value)
 {
     return(new DataConstantValue(dataConstant, value));
 }
 public static DataConstantValue Create <T>(DataConstant <T> dataConstant, T value)
 {
     return(new DataConstantValue(dataConstant, value));
 }
Пример #10
0
 private DataConstantValue([NotNull] DataConstant dataConstant, object value)
 {
     Should.NotBeNull(dataConstant, "dataConstant");
     DataConstant = dataConstant;
     Value        = value;
 }