Beispiel #1
0
 private void HandleValue(object value)
 {
     if (value == null)
     {
         Container = new StorageValueContainer(null);
     }
     else if (value is StorageValueContainer)
     {
         Container = value as StorageValueContainer;
     }
     else if (value is StorageValueProvider)
     {
         Container = new StorageValueContainer(null);
         Provider = value as StorageValueProvider;
     }
     else
     {
         Container = new StorageValueContainer(value);
     }
 }
Beispiel #2
0
 private void HandleValue(object value)
 {
     if (value == null)
     {
         Container = new StorageValueContainer(null);
     }
     else if (value is StorageValueContainer)
     {
         Container = value as StorageValueContainer;
     }
     else if (value is StorageValueProvider)
     {
         Container = new StorageValueContainer(null);
         Provider  = value as StorageValueProvider;
     }
     else
     {
         Container = new StorageValueContainer(value);
     }
 }
Beispiel #3
0
 public void Invoke(StorageValueContainer container)
 {
     _provider.Invoke(container);
 }
Beispiel #4
0
 public void Invoke(StorageValueContainer container)
 {
     _provider.Invoke(container);
 }