+10
-11
lines changedFilter options
+10
-11
lines changed Original file line number Diff line number Diff line change
@@ -28,11 +28,11 @@
28
28
<PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="20.0.15" />
29
29
<PackageVersion Include="System.Reactive" Version="6.0.0" />
30
30
<PackageVersion Include="System.Text.Json" Version="7.0.3" />
31
-
<PackageVersion Include="Vecc.YamlDotNet.Analyzers.StaticGenerator" Version="13.7.0" />
31
+
<PackageVersion Include="Vecc.YamlDotNet.Analyzers.StaticGenerator" Version="16.0.0" />
32
32
<PackageVersion Include="xunit" Version="2.6.6" />
33
33
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.6" />
34
34
<PackageVersion Include="Xunit.StaFact" Version="1.1.11" />
35
-
<PackageVersion Include="YamlDotNet" Version="15.1.0" />
35
+
<PackageVersion Include="YamlDotNet" Version="16.0.0" />
36
36
</ItemGroup>
37
37
<ItemGroup>
38
38
<PackageVersion Include="Autofac" Version="8.0.0" />
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ public bool Accepts(Type type)
45
45
return type == typeof(byte[]);
46
46
}
47
47
48
-
public object ReadYaml(IParser parser, Type type)
48
+
public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)
49
49
{
50
50
if (parser?.Current is Scalar scalar)
51
51
{
@@ -67,7 +67,7 @@ public object ReadYaml(IParser parser, Type type)
67
67
throw new InvalidOperationException(parser.Current?.ToString());
68
68
}
69
69
70
-
public void WriteYaml(IEmitter emitter, object value, Type type)
70
+
public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
71
71
{
72
72
var obj = (byte[])value;
73
73
emitter?.Emit(new Scalar(Encoding.UTF8.GetString(obj)));
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ public bool Accepts(Type type)
67
67
return type == typeof(byte[]);
68
68
}
69
69
70
-
public object ReadYaml(IParser parser, Type type)
70
+
public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)
71
71
{
72
72
if (parser?.Current is Scalar scalar)
73
73
{
@@ -89,7 +89,7 @@ public object ReadYaml(IParser parser, Type type)
89
89
throw new InvalidOperationException(parser.Current?.ToString());
90
90
}
91
91
92
-
public void WriteYaml(IEmitter emitter, object value, Type type)
92
+
public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
93
93
{
94
94
var obj = (byte[])value;
95
95
emitter?.Emit(new Scalar(Encoding.UTF8.GetString(obj)));
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ public bool Accepts(Type type)
10
10
return type == typeof(IntstrIntOrString);
11
11
}
12
12
13
-
public object ReadYaml(IParser parser, Type type)
13
+
public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)
14
14
{
15
15
if (parser?.Current is YamlDotNet.Core.Events.Scalar scalar)
16
16
{
@@ -32,7 +32,7 @@ public object ReadYaml(IParser parser, Type type)
32
32
throw new InvalidOperationException(parser?.Current?.ToString());
33
33
}
34
34
35
-
public void WriteYaml(IEmitter emitter, object value, Type type)
35
+
public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
36
36
{
37
37
var obj = (IntstrIntOrString)value;
38
38
emitter?.Emit(new YamlDotNet.Core.Events.Scalar(obj?.Value));
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ public bool Accepts(Type type)
10
10
return type == typeof(ResourceQuantity);
11
11
}
12
12
13
-
public object ReadYaml(IParser parser, Type type)
13
+
public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)
14
14
{
15
15
if (parser?.Current is YamlDotNet.Core.Events.Scalar scalar)
16
16
{
@@ -32,8 +32,7 @@ public object ReadYaml(IParser parser, Type type)
32
32
throw new InvalidOperationException(parser?.Current?.ToString());
33
33
}
34
34
35
-
36
-
public void WriteYaml(IEmitter emitter, object value, Type type)
35
+
public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
37
36
{
38
37
var obj = (ResourceQuantity)value;
39
38
emitter?.Emit(new YamlDotNet.Core.Events.Scalar(obj?.ToString()));
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4