forked from Vexilla/client-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.toml
52 lines (44 loc) · 1.13 KB
/
README.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
LanguageName = 'csharp'
LanguageDisplayName = "C#"
InstallInstructions = '''
Using NuGet, install the dependency. Make sure you use the `OutputDirectory` that applies to your project.
Via Package Management CLI:
```
PM> Install-Package Vexilla.Client
```
Or
Via VS Package Management window:
[https://docs.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio](https://docs.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio)
Or
Via NuGet CLI:
```
nuget install Vexilla.Client -OutputDirectory packages
```
'''
CustomInstanceHash = "customInstanceHash"
FetchFlags = "fetchFlags"
SetupSnippet = '''
```csharp
VexillaHasher client = new VexillaClient(
'https://BUCKET_NAME.s3-website-AWS_REGION.amazonaws.com',
process.env.ENVIRONMENT,
userId
).fetchFlags("features.json");
```
'''
Should = "should"
UsageSnippet = '''
```csharp
client.should(FEATURE_NAME);
```
'''
Example = '''
```csharp
VexillaHasher client = new VexillaClient(
'https://BUCKET_NAME.s3-website-AWS_REGION.amazonaws.com',
process.env.ENVIRONMENT,
userId
).fetchFlags("features.json");
client.should(FEATURE_NAME);
```
'''