Table of Contents

Class ITaggedInstanceExtensions

Namespace
Songhay.Extensions
Assembly
SonghayCore.dll

Extensions of ITaggedInstance

public static class ITaggedInstanceExtensions
Inheritance
ITaggedInstanceExtensions
Inherited Members

Methods

EnsureExpectedInstance(ITaggedInstance?, string?)

public static void EnsureExpectedInstance(this ITaggedInstance? instance, string? instanceTag)

Parameters

instance ITaggedInstance

the ITaggedInstance

instanceTag string

the conventional identifier

Exceptions

ConfigurationErrorsException

IsExpectedInstance(ITaggedInstance?, string?)

Returns true when InstanceTag equals the specified identifier.

public static bool IsExpectedInstance(this ITaggedInstance? instance, string? instanceTag)

Parameters

instance ITaggedInstance

the ITaggedInstance

instanceTag string

the conventional identifier

Returns

bool