Skip to content

Commit b3805ad

Browse files
committed
Fix indendation in doc.cs files which are excluded from the formatter
1 parent 73e75c0 commit b3805ad

File tree

50 files changed

+3384
-3384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3384
-3384
lines changed

src/Tests/Tests/Aggregations/ReservedAggregationNames.doc.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ public class ReservedAggregationNames : DocumentationTestBase
2626
{
2727
public string[] Reserved => new []
2828
{
29-
"score",
30-
"value_as_string",
31-
"keys",
32-
"max_score"
29+
"score",
30+
"value_as_string",
31+
"keys",
32+
"max_score"
3333
};
3434

35-
//hide
35+
//hide
3636
private TermsAggregation Terms(string name) => new TermsAggregation(name) {Field = "x"};
3737

3838
//hide

src/Tests/Tests/ClientConcepts/Certificates/WorkingWithCertificates.doc.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ protected override ConnectionSettings ConnectionSettings(ConnectionSettings s) =
116116
*/
117117
public class CertgenCaCluster : SslAndKpiXPackCluster
118118
{
119-
public CertgenCaCluster() : this(new SslAndKpiClusterConfiguration()) { }
120-
public CertgenCaCluster(SslAndKpiClusterConfiguration configuration) : base(configuration) { }
119+
public CertgenCaCluster() : this(new SslAndKpiClusterConfiguration()) { }
120+
public CertgenCaCluster(SslAndKpiClusterConfiguration configuration) : base(configuration) { }
121121
protected override ConnectionSettings ConnectionSettings(ConnectionSettings s) => s
122122
.ServerCertificateValidationCallback(
123123
CertificateValidations.AuthorityIsRoot(new X509Certificate(this.ClusterConfiguration.FileSystem.CaCertificate))

src/Tests/Tests/ClientConcepts/Connection/ConfigurationOptions.doc.cs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,36 @@ public class ConfigurationOptions
1414
{
1515
/**[[configuration-options]]
1616
* === Configuration options
17-
*
18-
* Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
17+
*
18+
* Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
1919
* it's entirely possible that you'd like to change the default connection behaviour. There are a number of configuration options available
2020
* on `ConnectionSettings` (and `ConnectionConfiguration` for Elasticsearch.Net) that can be used to control
2121
* how the clients interact with Elasticsearch.
22-
*
23-
* ==== Options on ConnectionConfiguration
24-
*
25-
* The following is a list of available connection configuration options on `ConnectionConfiguration`; since
26-
* `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
27-
* Elasticsearch.Net and NEST:
28-
*
29-
* :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
30-
*
31-
* ==== Options on ConnectionSettings
32-
*
33-
* The following is a list of available connection configuration options on `ConnectionSettings`:
34-
*
35-
* :xml-docs: Nest:ConnectionSettingsBase`1
3622
*
37-
* Here's an example to demonstrate setting several configuration options using the low level client
23+
* ==== Options on ConnectionConfiguration
24+
*
25+
* The following is a list of available connection configuration options on `ConnectionConfiguration`; since
26+
* `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
27+
* Elasticsearch.Net and NEST:
28+
*
29+
* :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
30+
*
31+
* ==== Options on ConnectionSettings
32+
*
33+
* The following is a list of available connection configuration options on `ConnectionSettings`:
34+
*
35+
* :xml-docs: Nest:ConnectionSettingsBase`1
36+
*
37+
* Here's an example to demonstrate setting several configuration options using the low level client
3838
*/
3939
public void AvailableOptions()
4040
{
4141
var connectionConfiguration = new ConnectionConfiguration()
4242
.DisableAutomaticProxyDetection()
4343
.EnableHttpCompression()
4444
.DisableDirectStreaming()
45-
.PrettyJson()
46-
.RequestTimeout(TimeSpan.FromMinutes(2));
45+
.PrettyJson()
46+
.RequestTimeout(TimeSpan.FromMinutes(2));
4747

4848
var lowLevelClient = new ElasticLowLevelClient(connectionConfiguration);
4949

@@ -63,18 +63,18 @@ public void AvailableOptions()
6363
var client = new ElasticClient(connectionSettings);
6464

6565
/**[NOTE]
66-
* ====
67-
*
68-
* Basic Authentication credentials can alternatively be specified on the node URI directly
66+
* ====
67+
*
68+
* Basic Authentication credentials can alternatively be specified on the node URI directly
6969
*/
7070
var uri = new Uri("http://username:password@localhost:9200");
7171
var settings = new ConnectionConfiguration(uri);
7272
}
73-
/**
74-
* but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
73+
/**
74+
* but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
7575
* used is one that is capable of reseeding iteslf. For this reason, we'd recommend specifying credentials
7676
* on `ConnectionSettings`.
77-
*====
78-
*/
77+
*====
78+
*/
7979
}
8080
}

0 commit comments

Comments
 (0)