Class AbpRepositoryConventionalRegistrar
Inheritance
object
AbpRepositoryConventionalRegistrar
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Domain.Repositories
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public class AbpRepositoryConventionalRegistrar : DefaultConventionalRegistrar, IConventionalRegistrar
Constructors
AbpRepositoryConventionalRegistrar()
Declaration
public AbpRepositoryConventionalRegistrar()
Properties
ExposeRepositoryClasses
Declaration
public static bool ExposeRepositoryClasses { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
GetDefaultLifeTimeOrNull(Type)
Declaration
protected override ServiceLifetime? GetDefaultLifeTimeOrNull(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | type |
Returns
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.ServiceLifetime? |
Overrides
GetExposedServiceTypes(Type)
Declaration
protected override List<Type> GetExposedServiceTypes(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | type |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><System.Type> |
Overrides
IsConventionalRegistrationDisabled(Type)
Declaration
protected override bool IsConventionalRegistrationDisabled(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | type |
Returns
| Type | Description |
|---|---|
| bool |