Class DanglIconsServiceCollectionExtensions
Inheritance
System.Object
DanglIconsServiceCollectionExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.Icons.Client
Assembly: Dangl.Icons.Client.dll
Syntax
public static class DanglIconsServiceCollectionExtensions
Fields
| Improve this Doc View SourceAPI_KEY_HEADER_NAME
Declaration
public const string API_KEY_HEADER_NAME = "X-DANGL-ICONS-API-KEY"
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddDanglIconsClients(IServiceCollection, String, String)
Declaration
public static IServiceCollection AddDanglIconsClients(this IServiceCollection services, string customBaseUrl = null, string apiKey = null)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | |
System.String | customBaseUrl | |
System.String | apiKey |
Returns
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection |