51Degrees Pipeline .NET  4.1

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.Services.MissingPropertyService Class Reference

Detailed Description

Service that determines the reason for a property not being populated by an engine.

Inheritance diagram for FiftyOne.Pipeline.Engines.Services.MissingPropertyService:

[legend]

Collaboration diagram for FiftyOne.Pipeline.Engines.Services.MissingPropertyService:

[legend]

Public Member Functions

MissingPropertyResult  GetMissingPropertyReason (string propertyName, IReadOnlyList< IAspectEngine > engines)
Get the reason that a property is not available from an engine. More...
MissingPropertyResult  GetMissingPropertyReason (string propertyName, IAspectEngine engine)
Get the reason that a property is not available from an engine. More...

Properties

static IMissingPropertyService  Instance [get]
Get the singleton instance of this service. More...

Member Function Documentation

◆ GetMissingPropertyReason() [1/2]

MissingPropertyResult FiftyOne.Pipeline.Engines.Services.MissingPropertyService.GetMissingPropertyReason ( string   propertyName,
IReadOnlyList< IAspectEngine >   engines  
)

Get the reason that a property is not available from an engine.

Parameters
propertyName - The name of the property to look for
engines - The engines that are expected to supply the property value.
Returns
A MissingPropertyResult instance that includes an enum giving the reason and a developer-facing description of the reason.

Implements FiftyOne.Pipeline.Engines.Services.IMissingPropertyService.

◆ GetMissingPropertyReason() [2/2]

MissingPropertyResult FiftyOne.Pipeline.Engines.Services.MissingPropertyService.GetMissingPropertyReason ( string   propertyName,
IAspectEngine   engine  
)

Get the reason that a property is not available from an engine.

Parameters
propertyName - The name of the property to look for
engine - The engine that is expected to supply the property value.
Returns
A MissingPropertyResult instance that includes an enum giving the reason and a developer-facing description of the reason.

Implements FiftyOne.Pipeline.Engines.Services.IMissingPropertyService.

Property Documentation

◆ Instance

IMissingPropertyService FiftyOne.Pipeline.Engines.Services.MissingPropertyService.Instance
static get

Get the singleton instance of this service.