@@ -29,7 +29,7 @@ public static DynamicTableEntity ToTableEntity<T>(this T o, string partitionKey,
29
29
}
30
30
public static DynamicTableEntity ToTableEntity < T > ( this T o , string partitionKey , string rowKey ,
31
31
JsonSerializerSettings jsonSerializerSettings ,
32
- PropertyConverters < T > propertyConverters ,
32
+ PropertyConverters < T > propertyConverters = default ,
33
33
params Expression < Func < T , object > > [ ] ignoredProperties )
34
34
{
35
35
_ = jsonSerializerSettings ?? throw new ArgumentNullException ( nameof ( jsonSerializerSettings ) ) ;
@@ -48,7 +48,7 @@ public static DynamicTableEntity ToTableEntity<T>(this T o, Expression<Func<T, o
48
48
49
49
public static DynamicTableEntity ToTableEntity < T > ( this T o , Expression < Func < T , object > > partitionProperty ,
50
50
Expression < Func < T , object > > rowProperty , JsonSerializerSettings jsonSerializerSettings ,
51
- PropertyConverters < T > propertyConverters = null ,
51
+ PropertyConverters < T > propertyConverters = default ,
52
52
params Expression < Func < T , object > > [ ] ignoredProperties )
53
53
{
54
54
_ = jsonSerializerSettings ?? throw new ArgumentNullException ( nameof ( jsonSerializerSettings ) ) ;
@@ -85,7 +85,9 @@ public static T FromTableEntity<T, TP, TR>(this DynamicTableEntity entity,
85
85
86
86
public static T FromTableEntity < T , TP , TR > ( this DynamicTableEntity entity ,
87
87
Expression < Func < T , object > > partitionProperty ,
88
- Expression < Func < T , object > > rowProperty , JsonSerializerSettings jsonSerializerSettings , PropertyConverters < T > propertyConverters = null ) where T : new ( )
88
+ Expression < Func < T , object > > rowProperty ,
89
+ JsonSerializerSettings jsonSerializerSettings ,
90
+ PropertyConverters < T > propertyConverters = default ) where T : new ( )
89
91
{
90
92
_ = jsonSerializerSettings ?? throw new ArgumentNullException ( nameof ( jsonSerializerSettings ) ) ;
91
93
@@ -116,7 +118,8 @@ public static T FromTableEntity<T, TP, TR>(this DynamicTableEntity entity,
116
118
public static T FromTableEntity < T , TP , TR > ( this DynamicTableEntity entity ,
117
119
Expression < Func < T , object > > partitionProperty ,
118
120
Func < string , TP > convertPartitionKey , Expression < Func < T , object > > rowProperty ,
119
- Func < string , TR > convertRowKey , JsonSerializerSettings jsonSerializerSettings , PropertyConverters < T > propertyConverters = null ) where T : new ( )
121
+ Func < string , TR > convertRowKey , JsonSerializerSettings jsonSerializerSettings ,
122
+ PropertyConverters < T > propertyConverters = default ) where T : new ( )
120
123
{
121
124
_ = jsonSerializerSettings ?? throw new ArgumentNullException ( nameof ( jsonSerializerSettings ) ) ;
122
125
@@ -158,7 +161,8 @@ public static T FromTableEntity<T, TP, TR>(this DynamicTableEntity entity,
158
161
return FromTableEntity < T > ( entity , _defaultJsonSerializerSettings ) ;
159
162
}
160
163
161
- public static T FromTableEntity < T > ( this DynamicTableEntity entity , JsonSerializerSettings jsonSerializerSettings , PropertyConverters < T > propertyConverters = null ) where T : new ( )
164
+ public static T FromTableEntity < T > ( this DynamicTableEntity entity ,
165
+ JsonSerializerSettings jsonSerializerSettings , PropertyConverters < T > propertyConverters = default ) where T : new ( )
162
166
{
163
167
_ = jsonSerializerSettings ?? throw new ArgumentNullException ( nameof ( jsonSerializerSettings ) ) ;
164
168
0 commit comments