Click or drag to resize

GlobalServiceAttributeFallbackImplementation Property

The class that implements the interface and serves as a fallback service in case no real implementation is registered.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Type? FallbackImplementation { get; set; }

Property Value

Type
Remarks
This property is also useful for unit tests, as there usually is no real service instance when testing. Fallback services must not maintain any state, as that would be preserved between runs even if SD.TearDownForUnitTests() or SD.InitializeForUnitTests() is called.
See Also