s&box docs

public class Sandbox.CodeArchive

Constructors

Showing 2 constructors

Methods

Showing 1 methods

public byte[] Serialize()

Serialize to a byte array

Properties

Showing 8 properties

public System.Collections.Generic.List`1<Sandbox.CodeArchive.AdditionalFile> Sandbox.CodeArchive.AdditionalFiles { get; set; }

Additional files that the compiler/generator needs. This is going to be .razor files.

public string Sandbox.CodeArchive.CompilerName { get; set; }

The name of the compiler

public System.Collections.Concurrent.ConcurrentDictionary`2<string,ulong> Sandbox.CodeArchive.FileHashMap { get; set; }

Hashes of source files, used for incremental compiles. Not serialized right now.

public System.Collections.Generic.Dictionary`2<string,string> Sandbox.CodeArchive.FileMap { get; set; }

Converts the syntax tree paths from physical paths to project local paths

public System.Collections.Generic.HashSet`1<string> Sandbox.CodeArchive.References { get; set; }

References that this compiler/generator needs to compile the code

public System.Collections.Generic.List`1<Microsoft.CodeAnalysis.SyntaxTree> Sandbox.CodeArchive.SyntaxTrees { get; set; }

The syntax trees that should be compiled

public long Sandbox.CodeArchive.Version { get; set; }

The version of the code archive 1005 - Inital version 1006 - Razor updates. Add razor namespaces on older versions. 1007 - Razor changed to our own Microsoft.AspNetCore.Components assembly

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Compiling
Doc IDT:Sandbox.CodeArchive

On this page