ServiceContainer.DefaultServices Property

Definition

Gets the default services implemented directly by ServiceContainer.

protected:
 virtual property cli::array <Type ^> ^ DefaultServices { cli::array <Type ^> ^ get(); };
protected virtual Type[] DefaultServices { get; }
member this.DefaultServices : Type[]
Protected Overridable ReadOnly Property DefaultServices As Type()

Property Value

Type[]

The default services.

Remarks

This property returns the default services that are implemented directly on this IServiceContainer. the default implementation of this property is to return the IServiceContainer and ServiceContainer types. You may override this property and return your own types, modifying the default behavior of GetService.

Applies to