Show / Hide Table of Contents

Class UsingStatementAdder

Inheritance
System.Object
UsingStatementAdder
Namespace: Volo.Abp.Cli.ProjectModification
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class UsingStatementAdder : ITransientDependency

Methods

Add(String, String)

Declaration
public string Add(string fileContent, string nameSpace)
Parameters
Type Name Description
System.String fileContent
System.String nameSpace
Returns
Type Description
System.String

GetIndexOfTheEndOfTheLastUsingStatement(String)

Declaration
protected virtual int GetIndexOfTheEndOfTheLastUsingStatement(string fileContent)
Parameters
Type Name Description
System.String fileContent
Returns
Type Description
System.Int32

GetUsingStatement(String)

Declaration
protected virtual string GetUsingStatement(string nameSpace)
Parameters
Type Name Description
System.String nameSpace
Returns
Type Description
System.String

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft