Show / Hide Table of Contents

Class DbContextFileBuilderConfigureAdder

Inheritance
object
DbContextFileBuilderConfigureAdder
Implements
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.ProjectModification
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class DbContextFileBuilderConfigureAdder : ITransientDependency

Constructors

DbContextFileBuilderConfigureAdder(UsingStatementAdder)

Declaration
public DbContextFileBuilderConfigureAdder(UsingStatementAdder usingStatementAdder)
Parameters
Type Name Description
UsingStatementAdder usingStatementAdder

Properties

Logger

Declaration
public ILogger<DbContextFileBuilderConfigureAdder> Logger { get; set; }
Property Value
Type Description
ILogger<DbContextFileBuilderConfigureAdder>

UsingStatementAdder

Declaration
protected UsingStatementAdder UsingStatementAdder { get; }
Property Value
Type Description
UsingStatementAdder

Methods

Add(string, string)

Declaration
public bool Add(string path, string moduleConfiguration)
Parameters
Type Name Description
string path
string moduleConfiguration
Returns
Type Description
bool

FindIndexToInsert(string)

Declaration
protected int FindIndexToInsert(string file)
Parameters
Type Name Description
string file
Returns
Type Description
int

GetLineToAdd(string)

Declaration
protected string GetLineToAdd(string moduleConfiguration)
Parameters
Type Name Description
string moduleConfiguration
Returns
Type Description
string

GetNamespace(string)

Declaration
protected string GetNamespace(string moduleConfiguration)
Parameters
Type Name Description
string moduleConfiguration
Returns
Type Description
string

Implements

ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform