Skip to content

Commit 705a1dc

Browse files
committed
fixed table
1 parent 2e921a4 commit 705a1dc

File tree

1 file changed

+19
-18
lines changed
  • src/connections/sources/catalog/libraries/server/csharp

1 file changed

+19
-18
lines changed

src/connections/sources/catalog/libraries/server/csharp/index.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ tags:
1212
- ASP.NET
1313
id:
1414
redirect_from:
15-
- '/connections/sources/catalog/libraries/mobile/unity'
15+
- '/connections/sources/catalog/libraries/mobile/unity/'
1616
- '/connections/sources/catalog/libraries/mobile/csharp/'
1717
---
18-
1918
With Analytics-CSharp, you can add Segment analytics to your C# based app which includes Unity, Xamarin, .NET. Analytics-CSharp helps you measure your users, product, and business. It unlocks insights into your app's funnel, core business metrics, and whether you have product-market fit. The Analytics-CSharp library is open-source [on GitHub](https://github.com/segmentio/analytics-csharp){:target="_blank"}.
2019

21-
2220
### Supported platforms
2321
These platforms support Analytics-CSharp:
2422
* .NET/.NET core/.NET framework
@@ -31,7 +29,8 @@ These platforms support Analytics-CSharp:
3129
* Unity
3230
* iOS
3331
* Android
34-
* PC, Mac, Linux
32+
* PC, Mac, Linux
33+
3534

3635
## Getting started
3736

@@ -67,20 +66,22 @@ To get started with the Analytics-CSharp library:
6766
> info ""
6867
> Segment's SDK is designed to be disposable, meaning Segment disposes of objects when the analytics instance is disposed. Segment avoids using singletons for configurations or HTTP clients to prevent memory management issues. If you want to use singletons, create your own HTTP client provider with a singleton HTTP client for better control and management.
6968

70-
| Option Name | Description |
71-
|-----------------------------|---------------|
72-
| `writeKey` *required* | This is your Segment write key. |
73-
| `flushAt` | The default is set to `20`. <br> The count of events at which Segment flushes events. |
74-
| `flushInterval` | The default is set to `30` (seconds). <br> The interval in seconds at which Segment flushes events. |
75-
| `defaultSettings` | The default is set to `{}`. <br> The settings object used as fallback in case of network failure. |
76-
| `autoAddSegmentDestination` | The default is set to `true`. <br> This automatically adds the Segment Destination plugin. You can set this to `false` if you want to manually add the Segment Destination plugin. |
77-
| `apiHost` | The default is set to `api.segment.io/v1`. <br> This sets a default API Host to which Segment sends events. |
78-
| `cdnHost` | The default is set to `cdn-settings.segment.com/v1`. <br> This sets a default cdnHost to which Segment fetches settings. |
79-
| `analyticsErrorHandler` | The default is set to `null`. <br>This sets an error handler to handle errors happened in analytics. |
80-
| `storageProvider` | The default is set to `DefaultStorageProvider`. <br>This sets how you want your data to be stored. `DefaultStorageProvider` is used by default which stores data to local storage. `InMemoryStorageProvider` is also provided in the library. You can also write your own storage solution by implementing `IStorageProvider` and `IStorage`. |
81-
| `httpClientProvider` | The default is set to `DefaultHTTPClientProvider`. <br>This sets a http client provider for analytics use to do network activities. The default provider uses System.Net.Http for network activities. |
82-
| `flushPolicies` | The default is set to `null`. <br>This sets custom flush policies to tell analytics when and how to flush. By default, it converts `flushAt` and `flushInterval` to `CountFlushPolicy` and `FrequencyFlushPolicy`. If a value is given, it overwrites `flushAt` and `flushInterval`. |
83-
| `eventPipelineProvider` | The default is `EventPipelineProvider`. <br>This sets a custom event pipeline to define how Analytics handles events. The default `EventPipelineProvider` processes events asynchronously. Use `SyncEventPipelineProvider` to make manual flush operations synchronous. |
69+
70+
71+
Option Name | Description
72+
----------------------------|---------------
73+
`writeKey` *required* | This is your Segment write key.
74+
`flushAt` | The default is set to `20`. <br/> The count of events at which Segment flushes events.
75+
`flushInterval` | The default is set to `30` (seconds). <br/> The interval in seconds at which Segment flushes events.
76+
`defaultSettings` | The default is set to `{}`. <br/> The settings object used as fallback in case of network failure.
77+
`autoAddSegmentDestination` | The default is set to `true`. <br/> This automatically adds the Segment Destination plugin. You can set this to `false` if you want to manually add the Segment Destination plugin.
78+
`apiHost` | The default is set to `api.segment.io/v1`. <br/> This sets a default API Host to which Segment sends events.
79+
`cdnHost` | The default is set to `cdn-settings.segment.com/v1`. <br/> This sets a default cdnHost to which Segment fetches settings.
80+
`analyticsErrorHandler` | The default is set to `null`. <br/>This sets an error handler to handle errors happened in analytics.
81+
`storageProvider` | The default is set to `DefaultStorageProvider`. <br/>This sets how you want your data to be stored. `DefaultStorageProvider` is used by default which stores data to local storage. `InMemoryStorageProvider` is also provided in the library. You can also write your own storage solution by implementing `IStorageProvider` and `IStorage`.
82+
`httpClientProvider` | The default is set to `DefaultHTTPClientProvider`. <br/>This sets a http client provider for analytics use to do network activities. The default provider uses System.Net.Http for network activities.
83+
`flushPolicies` | The default is set to `null`. <br/>This sets custom flush policies to tell analytics when and how to flush. By default, it converts `flushAt` and `flushInterval` to `CountFlushPolicy` and `FrequencyFlushPolicy`. If a value is given, it overwrites `flushAt` and `flushInterval`.
84+
`eventPipelineProvider` | The default is `EventPipelineProvider`. <br/>This sets a custom event pipeline to define how Analytics handles events. The default `EventPipelineProvider` processes events asynchronously. Use `SyncEventPipelineProvider` to make manual flush operations synchronous.
8485

8586
## Tracking Methods
8687

0 commit comments

Comments
 (0)