Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Document.cs
Go to the documentation of this file.
1
namespace
System.Reflection.Metadata
;
2
3
public
readonly
struct
Document
4
{
5
private
readonly
MetadataReader
_reader
;
6
7
private
readonly
int
_rowId
;
8
9
private
DocumentHandle
Handle
=>
DocumentHandle
.
FromRowId
(
_rowId
);
10
11
public
DocumentNameBlobHandle
Name
=>
_reader
.
DocumentTable
.GetName(
Handle
);
12
13
public
GuidHandle
Language
=>
_reader
.
DocumentTable
.GetLanguage(
Handle
);
14
15
public
GuidHandle
HashAlgorithm
=>
_reader
.
DocumentTable
.GetHashAlgorithm(
Handle
);
16
17
public
BlobHandle
Hash
=>
_reader
.
DocumentTable
.GetHash(
Handle
);
18
19
internal
Document
(
MetadataReader
reader,
DocumentHandle
handle
)
20
{
21
_reader
= reader;
22
_rowId
=
handle
.RowId;
23
}
24
}
System.Reflection.Metadata.MetadataReader.DocumentTable
DocumentTableReader DocumentTable
Definition
MetadataReader.cs:165
System.Reflection.Metadata.MetadataReader
Definition
MetadataReader.cs:12
System.Reflection.Metadata
Definition
AssemblyExtensions.cs:4
System.ExceptionArgument.handle
@ handle
System.Reflection.Metadata.BlobHandle
Definition
BlobHandle.cs:6
System.Reflection.Metadata.DocumentHandle.FromRowId
static DocumentHandle FromRowId(int rowId)
Definition
DocumentHandle.cs:16
System.Reflection.Metadata.DocumentHandle
Definition
DocumentHandle.cs:4
System.Reflection.Metadata.DocumentNameBlobHandle
Definition
DocumentNameBlobHandle.cs:6
System.Reflection.Metadata.Document.HashAlgorithm
GuidHandle HashAlgorithm
Definition
Document.cs:15
System.Reflection.Metadata.Document.Language
GuidHandle Language
Definition
Document.cs:13
System.Reflection.Metadata.Document.Hash
BlobHandle Hash
Definition
Document.cs:17
System.Reflection.Metadata.Document._reader
readonly MetadataReader _reader
Definition
Document.cs:5
System.Reflection.Metadata.Document._rowId
readonly int _rowId
Definition
Document.cs:7
System.Reflection.Metadata.Document.Document
Document(MetadataReader reader, DocumentHandle handle)
Definition
Document.cs:19
System.Reflection.Metadata.Document.Name
DocumentNameBlobHandle Name
Definition
Document.cs:11
System.Reflection.Metadata.Document
Definition
Document.cs:4
System.Reflection.Metadata.GuidHandle
Definition
GuidHandle.cs:6
System.Reflection.Metadata.Handle
Definition
Handle.cs:6
source
System.Reflection.Metadata
System.Reflection.Metadata
Document.cs
Generated by
1.10.0