Extensions Class

Definition

Utility functions for extracting Type related to ICallalble, IAdjointable, IControllable and IUnitary

public static class Extensions
type Extensions = class
Public Module Extensions
Inheritance
Extensions

Methods

IAdjointableType(Type)

Returns type of IUnitary interface implemented by a given type. If given type does not implement ICallable return null

ICallableType(Type)

Returns type of ICallable interface implemented by a given type. If given type does not implement ICallable return null

IControllableType(Type)

Returns type of IControllable interface implemented by a given type. If given type does not implement ICallable return null

IUnitatryType(Type)

Returns type of IUnitary interface implemented by a given type. If given type does not implement ICallable return null

Applies to