Table of Contents

Class Fact

Namespace
Manpuku.Edinet.Xbrl
Assembly
Manpuku.Edinet.Xbrl.dll

Represents a single XBRL fact value (numeric or non-numeric) associated with a concept.

public class Fact : XbrlItem
Inheritance
Fact
Derived
Inherited Members

Constructors

Fact(DiscoverableTaxonomySet, XElement)

Initializes a new instance of the Fact class.

public Fact(DiscoverableTaxonomySet dts, XElement xml)

Parameters

dts DiscoverableTaxonomySet

The discoverable taxonomy set this fact belongs to.

xml XElement

The XML element representing this fact.

Properties

Concept

Gets the concept definition for this fact.

public required Concept Concept { get; init; }

Property Value

Concept

Context

Gets the context associated with this fact. For tuples this may be null.

public required Context? Context { get; init; }

Property Value

Context

Remarks

Tuple facts do not have a context; non-tuple facts will have a context.

Decimals

Gets the value of the decimals attribute, if provided.

public required int? Decimals { get; init; }

Property Value

int?

Nil

Gets a value indicating whether the fact is explicitly marked as nil (xsi:nil="true").

public required bool Nil { get; init; }

Property Value

bool

Unit

Gets the unit associated with this fact, if any (for numeric facts).

public required Unit? Unit { get; init; }

Property Value

Unit

Value

Gets the textual value of the fact, or null if the fact is nil.

public required string? Value { get; init; }

Property Value

string