Class FoundationStringField
One serialized string (or string collection) field reached from an IFoundationSettings owner
type, with the serialized property path it has on that owner and every
FoundationIdReferenceAttribute declared on it. The unit
FoundationReferenceFieldGraph enumerates: the contract table is the declared subset, the
completeness ratchet reads the whole set.
Inherited Members
Namespace: Serenity.Global.Application.References
Assembly: Serenity.Global.Application.dll
Syntax
public sealed class FoundationStringField
Constructors
FoundationStringField(string, string, FieldInfo, IReadOnlyList<FoundationIdReferenceAttribute>, string)
Declaration
public FoundationStringField(string ownerTypeName, string propertyPath, FieldInfo field, IReadOnlyList<FoundationIdReferenceAttribute> declarations, string polymorphicTypeFullName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ownerTypeName | |
| string | propertyPath | |
| FieldInfo | field | |
| IReadOnlyList<FoundationIdReferenceAttribute> | declarations | |
| string | polymorphicTypeFullName |
Properties
Declarations
Declaration
public IReadOnlyList<FoundationIdReferenceAttribute> Declarations { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<FoundationIdReferenceAttribute> | Every reference declaration on the field; empty when the field is not declared a reference. |
Field
Declaration
public FieldInfo Field { get; }
Property Value
| Type | Description |
|---|---|
| FieldInfo | The reflected field itself. |
IsDeclaredReference
Declaration
public bool IsDeclaredReference { get; }
Property Value
| Type | Description |
|---|---|
| bool | True when at least one FoundationIdReferenceAttribute sits on the field. |
OwnerTypeName
Declaration
public string OwnerTypeName { get; }
Property Value
| Type | Description |
|---|---|
| string | Short name of the type that declares the top-level field this one was reached through. |
PolymorphicTypeFullName
Declaration
public string PolymorphicTypeFullName { get; }
Property Value
| Type | Description |
|---|---|
| string | Full name of the concrete type of a polymorphic |
PropertyPath
Declaration
public string PropertyPath { get; }
Property Value
| Type | Description |
|---|---|
| string | Serialized property path from the owner, a collection segment written |