Skip to content

Commit 261b89b

Browse files
committed
broke the build by deleting a method to eagerly with dNd
1 parent 758c92f commit 261b89b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Nest/DSL/MultiGet/MultiGetOperationDescriptor.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,27 @@ public MultiGetOperationDescriptor<T> Type(string type)
8585
return this;
8686
}
8787

88+
89+
/// <summary>
90+
/// Manually set the type of which a typename will be inferred
91+
/// </summary>
92+
public MultiGetOperationDescriptor<T> Type(Type type)
93+
{
94+
if (type == null) return this;
95+
Self.Type = type;
96+
return this;
97+
}
98+
99+
public MultiGetOperationDescriptor<T> Id(long id)
100+
{
101+
return this.Id(id.ToString(CultureInfo.InvariantCulture));
102+
}
103+
104+
public MultiGetOperationDescriptor<T> Id(string id)
105+
{
106+
Self.Id = id;
107+
return this;
108+
}
88109
/// <summary>
89110
/// Control how the document's source is loaded
90111
/// </summary>

0 commit comments

Comments
 (0)