public void TryGetRawValue_emptyEvent_shouldReturnDbNull() { // Arrange var renderer = new DbNullLayoutRenderer(); IRawValue rawValueGetter = renderer; // Act var result = rawValueGetter.TryGetRawValue(LogEventInfo.CreateNullEvent(), out var resultValue); // Assert Assert.Equal(DBNull.Value, resultValue); Assert.True(result); }
public MtaRawValue(IRawValue s) { source = s; }
void IRawObject.Connect(DebuggerSession session, EvaluationOptions options) { this.options = options; source = session.WrapDebuggerObject(source); }
/// <summary> /// Initializes a new instance of the <see cref="Mono.Debugging.Client.RawValue"/> class. /// </summary> /// <param name='source'> /// Value source /// </param> public RawValue(IRawValue source) { this.source = source; }
public MtaRawValue (IRawValue s) { source = s; }
void IRawObject.Connect(DebuggerSession session, EvaluationOptions options) { this.options = options; source = session.WrapDebuggerObject (source); }
public void SetRawValue(ObjectPath path, IRawValue value, IEvaluationOptions options) { throw new NotSupportedException(); }