Table of Contents

Class Files.FileSource

Namespace
Fabricator.Resources
Assembly
Fabricator.Resources.dll
[CompilationMapping(SourceConstructFlags.SumType)]
public abstract class Files.FileSource
Inheritance
Files.FileSource
Derived
Inherited Members

Properties

IsAbsoluteFile

public bool IsAbsoluteFile { get; }

Property Value

bool

IsContentFile

public bool IsContentFile { get; }

Property Value

bool

IsGeneratedContent

public bool IsGeneratedContent { get; }

Property Value

bool

Tag

public int Tag { get; }

Property Value

int

Methods

NewAbsoluteFile(string)

[CompilationMapping(SourceConstructFlags.UnionCase, 1)]
public static Files.FileSource NewAbsoluteFile(string _absolutePath)

Parameters

_absolutePath string

Returns

Files.FileSource

NewContentFile(string)

[CompilationMapping(SourceConstructFlags.UnionCase, 0)]
public static Files.FileSource NewContentFile(string _relativePath)

Parameters

_relativePath string

Returns

Files.FileSource

NewGeneratedContent(string, FSharpFunc<Unit, byte[]>)

[CompilationMapping(SourceConstructFlags.UnionCase, 2)]
public static Files.FileSource NewGeneratedContent(string _name, FSharpFunc<Unit, byte[]> item2)

Parameters

_name string
item2 FSharpFunc<Unit, byte[]>

Returns

Files.FileSource

ToString()

public override string ToString()

Returns

string