Class UnfoundChild
Provides information about an item that could not be located in the repository.
Inherited Members
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class UnfoundChild
Constructors
UnfoundChild()
Initializes a new instance of the UnfoundChild class.
Declaration
public UnfoundChild()
UnfoundChild(IdentifierTriple)
Initializes a new instance of the UnfoundChild class.
Declaration
public UnfoundChild(IdentifierTriple id)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | id | The identifier of the unfound item. |
UnfoundChild(IdentifierTriple, IList, Func<IVersionable>, Guid)
Initializes a new instance of the UnfoundChild class.
Declaration
public UnfoundChild(IdentifierTriple id, IList parent, Func<IVersionable> unpopulatedProperty, Guid requiredType)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | id | The identifier of the unfound item. |
IList | parent | The parent of the unfound item. |
Func<IVersionable> | unpopulatedProperty | The unpopulated property. |
Guid | requiredType | Type of the required item. |
UnfoundChild(IdentifierTriple, Func<IVersionable>, Guid)
Initializes a new instance of the UnfoundChild class.
Declaration
public UnfoundChild(IdentifierTriple id, Func<IVersionable> unpopulatedProperty, Guid requiredType)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | id | The identifier of the unfound item. |
Func<IVersionable> | unpopulatedProperty | The unpopulated property. |
Guid | requiredType | Type of the required. |
Properties
Label
Gets the label describing the unfound item.
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
string |
ParentList
The list that contains the missing item.
Declaration
public IList ParentList { get; set; }
Property Value
Type | Description |
---|---|
IList |
Remarks
This may be null if the UnpopulatedProperty has a value.
RequiredType
The type of item that should exist, if known.
Declaration
public Guid? RequiredType { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
UnfoundItemIdentifier
The identifier of the item that could not be found.
Declaration
public IdentifierTriple UnfoundItemIdentifier { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple |
UnpopulatedProperty
The property that is unpopulated.
Declaration
public Func<IVersionable> UnpopulatedProperty { get; set; }
Property Value
Type | Description |
---|---|
Func<IVersionable> |