Class UsingStatementAdder
Inheritance
System.Object
UsingStatementAdder
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