Class FoundationDistinctReferenceGroups
The declarative table of every FoundationDistinctReferenceGroup — the companion to
FoundationReferenceContracts, which describes each field on its own and therefore
cannot say that two of them must not name the same asset. Only a field pair whose two controls are
operated independently belongs here; a collection row (Options[].Value,
ExposedParameters[].Value) never does, since its elements legitimately repeat.
Inherited Members
Namespace: Serenity.Global.Application.References
Assembly: Serenity.Global.Application.dll
Syntax
public static class FoundationDistinctReferenceGroups
Properties
All
Every declared group, across every owner type.
Declaration
public static IReadOnlyList<FoundationDistinctReferenceGroup> All { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<FoundationDistinctReferenceGroup> |
Methods
ForOwnerTypeOrBase(IReadOnlyList<string>)
Every group whose owner type name appears anywhere in ownerTypeNameChain — the
concrete type first, then each base type — mirroring
ForOwnerTypeOrBase(IReadOnlyList<string>), so a group declared against a
shared base type still applies to every concrete subtype.
Declaration
public static IReadOnlyList<FoundationDistinctReferenceGroup> ForOwnerTypeOrBase(IReadOnlyList<string> ownerTypeNameChain)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<string> | ownerTypeNameChain |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<FoundationDistinctReferenceGroup> |