Share via


ServiceCollection Class

Definition

public ref class ServiceCollection : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Type ^, System::Object ^>>, System::Collections::ICollection
public class ServiceCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>, System.Collections.ICollection
type ServiceCollection = class
    interface ICollection
    interface IEnumerable
    interface seq<KeyValuePair<Type, obj>>
Public Class ServiceCollection
Implements ICollection, IEnumerable(Of KeyValuePair(Of Type, Object))
Inheritance
ServiceCollection
Implements

Constructors

ServiceCollection(ILifetimeContainer, IReadWriteLocator, IBuilder<BuilderStage>, ServiceCollection)

Methods

Add(Type, Object)
Add<TService>(TService)
AddNew(Type, Type)
AddNew(Type)
AddNew<TService,TRegisterAs>()
AddNew<TService>()
AddOnDemand(Type, Type)
AddOnDemand(Type)
AddOnDemand<TService,TRegisterAs>()
AddOnDemand<TService>()
Contains(Type)
Contains<TService>()
ContainsLocal(Type)
Get(Type, Boolean)
Get(Type)
Get<TService>()
Get<TService>(Boolean)
GetEnumerator()
OnAdded(Object)
OnRemoved(Object)
Remove(Type)
Remove<TService>()

Events

Added
Removed

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)
ICollection.Count
ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()

Applies to