Class ServiceCollectionExtensions
Contains all the extensions methods for Microsoft.Extensions.DependencyInjection.IServiceCollection.
Inheritance
System.Object
ServiceCollectionExtensions
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: Color_Chan.Discord.Core.Extensions
Assembly: Color-Chan.Discord.Core.dll
Syntax
public static class ServiceCollectionExtensions
Methods
| Improve this Doc View SourceAddColorChanDiscordCore(IServiceCollection)
Add the dependencies for Color-Chan.Discord.Core to the Microsoft.Extensions.DependencyInjection.IServiceCollection.
Declaration
public static IServiceCollection AddColorChanDiscordCore(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The Microsoft.Extensions.DependencyInjection.IServiceCollection. |
Returns
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | The updated Microsoft.Extensions.DependencyInjection.IServiceCollection. |