Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Replaces all existing services for the given service type with the given service instances.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub ReplaceRange ( _
serviceType As Type, _
services As IEnumerable(Of Object) _
)
'Usage
Dim instance As ServicesContainer
Dim serviceType As Type
Dim services As IEnumerable(Of Object)
instance.ReplaceRange(serviceType, services)
public void ReplaceRange(
Type serviceType,
IEnumerable<Object> services
)
public:
void ReplaceRange(
Type^ serviceType,
IEnumerable<Object^>^ services
)
member ReplaceRange :
serviceType:Type *
services:IEnumerable<Object> -> unit
public function ReplaceRange(
serviceType : Type,
services : IEnumerable<Object>
)
Parameters
serviceType
Type: System.TypeThe service type.
services
Type: System.Collections.Generic.IEnumerable<Object>The service instances.