Skip to content

Commit f563f03

Browse files
author
Jörg Battermann
committed
Applied .editorconfig Formatting to previously changed file
1 parent da044ef commit f563f03

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/Nest/DSL/Filter/HasChildFilterDescriptor.cs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ public interface IHasChildFilter : IFilter
1313
[JsonProperty("type")]
1414
TypeNameMarker Type { get; set; }
1515

16-
[JsonProperty("min_children")]
17-
int? MinChildren { get; set; }
16+
[JsonProperty("min_children")]
17+
int? MinChildren { get; set; }
1818

19-
[JsonProperty("max_children")]
20-
int? MaxChildren { get; set; }
19+
[JsonProperty("max_children")]
20+
int? MaxChildren { get; set; }
2121

22-
[JsonProperty("query")]
22+
[JsonProperty("query")]
2323
IQueryContainer Query { get; set; }
2424

2525
[JsonProperty("filter")]
@@ -31,7 +31,7 @@ public interface IHasChildFilter : IFilter
3131
IInnerHits InnerHits { get; set; }
3232

3333
}
34-
34+
3535
public class HasChildFilter : PlainFilter, IHasChildFilter
3636
{
3737
protected internal override void WrapInContainer(IFilterContainer container)
@@ -40,9 +40,9 @@ protected internal override void WrapInContainer(IFilterContainer container)
4040
}
4141

4242
public TypeNameMarker Type { get; set; }
43-
public int? MinChildren { get; set; }
44-
public int? MaxChildren { get; set; }
45-
public IQueryContainer Query { get; set; }
43+
public int? MinChildren { get; set; }
44+
public int? MaxChildren { get; set; }
45+
public IQueryContainer Query { get; set; }
4646
public IFilterContainer Filter { get; set; }
4747
public IInnerHits InnerHits { get; set; }
4848
}
@@ -65,11 +65,11 @@ bool IFilter.IsConditionless
6565

6666
TypeNameMarker IHasChildFilter.Type { get; set; }
6767

68-
int? IHasChildFilter.MinChildren { get; set; }
68+
int? IHasChildFilter.MinChildren { get; set; }
6969

70-
int? IHasChildFilter.MaxChildren { get; set; }
70+
int? IHasChildFilter.MaxChildren { get; set; }
7171

72-
IQueryContainer IHasChildFilter.Query { get; set; }
72+
IQueryContainer IHasChildFilter.Query { get; set; }
7373

7474
IFilterContainer IHasChildFilter.Filter { get; set; }
7575

@@ -99,20 +99,20 @@ public HasChildFilterDescriptor<T> Type(string type)
9999
Self.Type = type;
100100
return this;
101101
}
102-
103-
public HasChildFilterDescriptor<T> MinChildren(int minChildren)
104-
{
105-
Self.MinChildren = minChildren;
106-
return this;
107-
}
108-
109-
public HasChildFilterDescriptor<T> MaxChildren(int maxChildren)
110-
{
111-
Self.MaxChildren = maxChildren;
112-
return this;
113-
}
114-
115-
public HasChildFilterDescriptor<T> InnerHits()
102+
103+
public HasChildFilterDescriptor<T> MinChildren(int minChildren)
104+
{
105+
Self.MinChildren = minChildren;
106+
return this;
107+
}
108+
109+
public HasChildFilterDescriptor<T> MaxChildren(int maxChildren)
110+
{
111+
Self.MaxChildren = maxChildren;
112+
return this;
113+
}
114+
115+
public HasChildFilterDescriptor<T> InnerHits()
116116
{
117117
Self.InnerHits = new InnerHits();
118118
return this;

0 commit comments

Comments
 (0)