コード例 #1
0
 public object ResolveValue(Characteristic characteristic, object defaultValue)
 {
     return(HasValue(characteristic) ? GetValue(characteristic) : characteristic.ResolveValueCore(this, defaultValue));
 }
コード例 #2
0
 private object ResolveCore(Characteristic characteristic, object result)
 {
     return(characteristic.ResolveValueCore(this, result));
 }
コード例 #3
0
 public T ResolveValue <[DynamicallyAccessedMembers(CharacteristicObject.CharacteristicMemberTypes)] T>(Characteristic <T> characteristic, T defaultValue)
 {
     return(HasValue(characteristic) ? GetValue(characteristic) : (T)characteristic.ResolveValueCore(this, defaultValue));
 }
コード例 #4
0
 public T ResolveValue <T>(Characteristic <T> characteristic, T defaultValue)
 {
     return(HasValue(characteristic) ? GetValue(characteristic) : (T)characteristic.ResolveValueCore(this, defaultValue));
 }