ServiceManager.Contains ServiceManager.Contains ServiceManager.Contains ServiceManager.Contains Method

Definition

Overloads

Contains(Type) Contains(Type) Contains(Type) Contains(Type)

Returns a Boolean value that indicates whether the service manager contains a service of the given type.

Contains<TServiceType>() Contains<TServiceType>() Contains<TServiceType>() Contains<TServiceType>()

Returns a Boolean value that indicates whether the service manager contains a service of the given type.

Contains(Type) Contains(Type) Contains(Type) Contains(Type)

Returns a Boolean value that indicates whether the service manager contains a service of the given type.

public:
 abstract bool Contains(Type ^ serviceType);
public abstract bool Contains (Type serviceType);
abstract member Contains : Type -> bool
Public MustOverride Function Contains (serviceType As Type) As Boolean

Parameters

serviceType
Type Type Type Type

The type of service to check.

Returns

true if a service of type serviceType has been published; otherwise, false.

Contains<TServiceType>() Contains<TServiceType>() Contains<TServiceType>() Contains<TServiceType>()

Returns a Boolean value that indicates whether the service manager contains a service of the given type.

public:
generic <typename TServiceType>
 bool Contains();
public bool Contains<TServiceType> ();
member this.Contains : unit -> bool
Public Function Contains(Of TServiceType) () As Boolean

Type Parameters

TServiceType

The type of service to check.

Returns

true if a service of type serviceType has been published; otherwise, false.

Applies to