You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Unmerged change from project 'OpenSearch.Client(netstandard2.1)'
90
-
Before:
91
-
var ctor = constructors.FirstOrDefault();
92
-
if (ctor == null)
93
-
throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
94
-
95
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
96
-
After:
97
-
var ctor = constructors.FirstOrDefault() ?? throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
98
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
99
-
*/
100
88
varctor=constructors.FirstOrDefault()??thrownewException($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
Copy file name to clipboardExpand all lines: src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/InterfaceGenericDictionaryResolver.cs
Copy file name to clipboardExpand all lines: src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IsADictionaryFormatterResolver.cs
varbulkAllRequest=(_reindexRequest.BulkAll?.Invoke(scrollDocuments))??thrownewException("BulkAll must set on ReindexRequest in order to get the target of a Reindex operation");
133
133
134
-
/* Unmerged change from project 'OpenSearch.Client(netstandard2.1)'
135
-
Before:
136
-
if (bulkAllRequest == null)
137
-
throw new Exception("BulkAll must set on ReindexRequest in order to get the target of a Reindex operation");
/* Unmerged change from project 'OpenSearch.Net(netstandard2.1)'
62
-
Before:
63
-
var ctor = constructors.FirstOrDefault();
64
-
if (ctor == null)
65
-
throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
66
-
67
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
68
-
After:
69
-
var ctor = constructors.FirstOrDefault() ?? throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
70
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
71
-
*/
72
-
73
-
/* Unmerged change from project 'OpenSearch.Net(net6.0)'
74
-
Before:
75
-
var ctor = constructors.FirstOrDefault();
76
-
if (ctor == null)
77
-
throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
78
-
79
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
80
-
After:
81
-
var ctor = constructors.FirstOrDefault() ?? throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
82
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
83
-
*/
84
-
85
-
/* Unmerged change from project 'OpenSearch.Net(net8.0)'
86
-
Before:
87
-
var ctor = constructors.FirstOrDefault();
88
-
if (ctor == null)
89
-
throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
90
-
91
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
92
-
After:
93
-
var ctor = constructors.FirstOrDefault() ?? throw new Exception($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
94
-
activator = (ObjectActivator<object>)generic.Invoke(null, new object[] { ctor });
95
-
*/
96
60
varctor=constructors.FirstOrDefault()??thrownewException($"Cannot create an instance of {t.FullName} because it has no constructor taking {args.Length} arguments");
0 commit comments