コード例 #1
0
ファイル: CanSerialize.cs プロジェクト: GorelH/FluentAlerts
 private static void Serialize(IFluentAlertSerializer serializer, object o, string expected)
 {
     var actual = serializer.Serialize(o);
     Debug.Print(actual);
     actual.Should().Be(expected);
 }
コード例 #2
0
ファイル: BaseExample.cs プロジェクト: GorelH/FluentAlerts
 //protected T Get<T>()
 //{
 //    return _container.Get<T>();
 //}
 protected static void SerializeToConsole(object o, IFluentAlertSerializer serializer)
 {
     SendToConsole(serializer.Serialize(o));
 }