Class RepositoryFileInfo
Represents an entry in the simplic source repository
Inheritance
System.Object
RepositoryFileInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Repository
Assembly: Simplic.Framework.Repository.dll
Syntax
public class RepositoryFileInfo
Properties
| Improve this Doc View SourceContent
Declaration
public byte[] Content { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
ContentAsStream
Declaration
public Stream ContentAsStream { get; }
Property Value
Type | Description |
---|---|
System.IO.Stream |
ContentAsString
Declaration
public string ContentAsString { get; }
Property Value
Type | Description |
---|---|
System.String |
DirectoryPath
Path of the directory, in which the file is placed
Declaration
public string DirectoryPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Extension
Contenttype of the script, existing content-types are: py cs xaml xml sql ini
Declaration
public string Extension { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FullPath
Relative path to the script. Path-name-contenttype
Declaration
public string FullPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Hash
SHA256 Hash of the current script content
Declaration
public string Hash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Unique id of the repository content. The repository head can only contain one script with this id
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ModulePath
Path to the module in the script. Sample: Simplic.Product.Win_Product The Last part is the same as the script-name
Declaration
public string ModulePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Name of the script, equivalent to filename without extension
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |