Class FileEntry
Inheritance
object
FileEntry
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Cli.Core.dll
Syntax
Constructors
FileEntry(string, byte[], bool)
Declaration
public FileEntry(string name, byte[] bytes, bool isDirectory)
Parameters
| Type |
Name |
Description |
| string |
name |
|
| byte[] |
bytes |
|
| bool |
isDirectory |
|
Properties
Bytes
Declaration
public byte[] Bytes { get; }
Property Value
Content
Declaration
public string Content { get; }
Property Value
Encoding
Declaration
public Encoding Encoding { get; }
Property Value
| Type |
Description |
| System.Text.Encoding |
|
IsBinaryFile
Declaration
public bool IsBinaryFile { get; }
Property Value
IsDirectory
Declaration
public bool IsDirectory { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Methods
GetLines()
Declaration
public string[] GetLines()
Returns
| Type |
Description |
| string[] |
|
NormalizeLineEndings()
Declaration
public void NormalizeLineEndings()
SetContent(string)
Declaration
public void SetContent(string fileContent)
Parameters
| Type |
Name |
Description |
| string |
fileContent |
|
SetLines(IEnumerable<string>)
Declaration
public void SetLines(IEnumerable<string> lines)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
lines |
|
SetName(string)
Declaration
public void SetName(string fileName)
Parameters
| Type |
Name |
Description |
| string |
fileName |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
object.ToString()
Extension Methods