Interface IComponentBuildService
Holds all the methods to build the IComponentInfo.
Namespace: Color_Chan.Discord.Commands.Services.Builders
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public interface IComponentBuildService
Methods
| Improve this Doc View SourceBuildComponentInfos(Assembly)
Builds all the IComponentInfos of an assembly
.
Declaration
IEnumerable<IComponentInfo> BuildComponentInfos(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly | The assembly where the components are located. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IComponentInfo> | All the IComponentInfos the provided |
Exceptions
Type | Condition |
---|---|
System.NullReferenceException | Thrown when a valid method did not have a ComponentAttribute. |