@@ -85,24 +85,72 @@ public override Expression GenerateCodeLiteral(object value)
85
85
private static readonly MethodInfo IPAddressParseMethod = typeof ( IPAddress ) . GetMethod ( "Parse" , new [ ] { typeof ( string ) } ) ! ;
86
86
private static readonly ConstructorInfo NpgsqlInetConstructor = typeof ( NpgsqlInet ) . GetConstructor ( new [ ] { typeof ( string ) } ) ! ;
87
87
88
- private sealed class JsonIPAddressReaderWriter : JsonValueReaderWriter < IPAddress >
88
+ /// <summary>
89
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
90
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
91
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
92
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
93
+ /// </summary>
94
+ public sealed class JsonIPAddressReaderWriter : JsonValueReaderWriter < IPAddress >
89
95
{
96
+ /// <summary>
97
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
98
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
99
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
100
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
101
+ /// </summary>
90
102
public static JsonIPAddressReaderWriter Instance { get ; } = new ( ) ;
91
103
104
+ /// <summary>
105
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
106
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
107
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
108
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
109
+ /// </summary>
92
110
public override IPAddress FromJsonTyped ( ref Utf8JsonReaderManager manager , object ? existingObject = null )
93
111
=> IPAddress . Parse ( manager . CurrentReader . GetString ( ) ! ) ;
94
112
113
+ /// <summary>
114
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
115
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
116
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
117
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
118
+ /// </summary>
95
119
public override void ToJsonTyped ( Utf8JsonWriter writer , IPAddress value )
96
120
=> writer . WriteStringValue ( value . ToString ( ) ) ;
97
121
}
98
122
99
- private sealed class JsonNpgsqlInetReaderWriter : JsonValueReaderWriter < NpgsqlInet >
123
+ /// <summary>
124
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
125
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
126
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
127
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
128
+ /// </summary>
129
+ public sealed class JsonNpgsqlInetReaderWriter : JsonValueReaderWriter < NpgsqlInet >
100
130
{
131
+ /// <summary>
132
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
133
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
134
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
135
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
136
+ /// </summary>
101
137
public static JsonNpgsqlInetReaderWriter Instance { get ; } = new ( ) ;
102
138
139
+ /// <summary>
140
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
141
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
142
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
143
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
144
+ /// </summary>
103
145
public override NpgsqlInet FromJsonTyped ( ref Utf8JsonReaderManager manager , object ? existingObject = null )
104
146
=> new ( manager . CurrentReader . GetString ( ) ! ) ;
105
147
148
+ /// <summary>
149
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
150
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
151
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
152
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
153
+ /// </summary>
106
154
public override void ToJsonTyped ( Utf8JsonWriter writer , NpgsqlInet value )
107
155
=> writer . WriteStringValue ( value . ToString ( ) ) ;
108
156
}
0 commit comments