Skip to content

Commit c3d8d91

Browse files
committed
Fix indendation in doc.cs files which are excluded from the formatter
1 parent ef567d6 commit c3d8d91

File tree

49 files changed

+3825
-3825
lines changed

Some content is hidden

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

49 files changed

+3825
-3825
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 @@ public AllowAllSslCertificatesApiTests(AllowAllCertificatesCluster cluster, Endp
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
@@ -13,36 +13,36 @@ public class ConfigurationOptions
1313
{
1414
/**[[configuration-options]]
1515
* === Configuration options
16-
*
17-
* Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
16+
*
17+
* Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
1818
* it's entirely possible that you'd like to change the default connection behaviour. There are a number of configuration options available
1919
* on `ConnectionSettings` (and `ConnectionConfiguration` for Elasticsearch.Net) that can be used to control
2020
* how the clients interact with Elasticsearch.
21-
*
22-
* ==== Options on ConnectionConfiguration
23-
*
24-
* The following is a list of available connection configuration options on `ConnectionConfiguration`; since
25-
* `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
26-
* Elasticsearch.Net and NEST:
27-
*
28-
* :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
29-
*
30-
* ==== Options on ConnectionSettings
31-
*
32-
* The following is a list of available connection configuration options on `ConnectionSettings`:
33-
*
34-
* :xml-docs: Nest:ConnectionSettingsBase`1
3521
*
36-
* Here's an example to demonstrate setting several configuration options using the low level client
22+
* ==== Options on ConnectionConfiguration
23+
*
24+
* The following is a list of available connection configuration options on `ConnectionConfiguration`; since
25+
* `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
26+
* Elasticsearch.Net and NEST:
27+
*
28+
* :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
29+
*
30+
* ==== Options on ConnectionSettings
31+
*
32+
* The following is a list of available connection configuration options on `ConnectionSettings`:
33+
*
34+
* :xml-docs: Nest:ConnectionSettingsBase`1
35+
*
36+
* Here's an example to demonstrate setting several configuration options using the low level client
3737
*/
3838
public void AvailableOptions()
3939
{
4040
var connectionConfiguration = new ConnectionConfiguration()
4141
.DisableAutomaticProxyDetection()
4242
.EnableHttpCompression()
4343
.DisableDirectStreaming()
44-
.PrettyJson()
45-
.RequestTimeout(TimeSpan.FromMinutes(2));
44+
.PrettyJson()
45+
.RequestTimeout(TimeSpan.FromMinutes(2));
4646

4747
var lowLevelClient = new ElasticLowLevelClient(connectionConfiguration);
4848

@@ -61,18 +61,18 @@ public void AvailableOptions()
6161
var client = new ElasticClient(connectionSettings);
6262

6363
/**[NOTE]
64-
* ====
65-
*
66-
* Basic Authentication credentials can alternatively be specified on the node URI directly
64+
* ====
65+
*
66+
* Basic Authentication credentials can alternatively be specified on the node URI directly
6767
*/
6868
var uri = new Uri("http://username:password@localhost:9200");
6969
var settings = new ConnectionConfiguration(uri);
7070
}
71-
/**
72-
* but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
71+
/**
72+
* but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
7373
* used is one that is capable of reseeding iteslf. For this reason, we'd recommend specifying credentials
7474
* on `ConnectionSettings`.
75-
*====
76-
*/
75+
*====
76+
*/
7777
}
7878
}

0 commit comments

Comments
 (0)