Method AddIntentType
- Namespace
- IntentSharp.Catalog
- Assembly
- IntentSharp.Catalog.dll
AddIntentType<T>(IServiceCollection)
Allows definitions to name T in shape.clrType (by simple, full or assembly-qualified name).
public static IServiceCollection AddIntentType<T>(this IServiceCollection services)
Parameters
servicesIServiceCollection
Returns
- IServiceCollection
Type Parameters
T
AddIntentType(IServiceCollection, Type)
Allows definitions to name type in shape.clrType (by simple, full or assembly-qualified name).
public static IServiceCollection AddIntentType(this IServiceCollection services, Type type)
Parameters
servicesIServiceCollectiontypeType
Returns
- IServiceCollection
AddIntentType(IServiceCollection, string, Type)
Allows definitions to name type in shape.clrType by the alias name.
public static IServiceCollection AddIntentType(this IServiceCollection services, string name, Type type)
Parameters
servicesIServiceCollectionnamestringtypeType
Returns
- IServiceCollection