class
CodeArchive
public class CodeArchive Constructors
CodeArchive() CodeArchive(Byte[] data) Properties
| Name | Type | Description |
|---|---|---|
CompilerName | String | The name of the compiler |
Configuration | Configuration | The compiler's configuration settings |
SyntaxTrees | List<SyntaxTree> | The syntax trees that should be compiled |
FileHashMap | ConcurrentDictionary<String, UInt64> | Hashes of source files, used for incremental compiles. Not serialized right now. |
AdditionalFiles | List<AdditionalFile> | Additional files that the compiler/generator needs. This is going to be .razor files. |
FileMap | Dictionary<String, String> | Converts the syntax tree paths from physical paths to project local paths |
References | HashSet<String> | References that this compiler/generator needs to compile the code |
Version | Int64 | 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 |
Methods
Byte[] Serialize() Serialize to a byte array