ServiceProviderDictionary Class

Summary

ServiceProviderDictionary. Implements the IServiceProviderDictionary
Assembly
Rocket.Surgery.Conventions.dll
Namespace
Rocket.Surgery.Conventions
Interfaces
  • IServiceProviderDictionary
  • IDictionary<object, object>
  • ICollection<KeyValuePair<object, object>>
  • IEnumerable<KeyValuePair<object, object>>
  • IEnumerable
  • IServiceProvider
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IServiceProviderDictionary"] click Interface0 "/api/Rocket.Surgery.Conventions/IServiceProviderDictionary" Type-.->Interface1["IDictionary<object, object>"] Type-.->Interface2["ICollection<KeyValuePair<object, object>>"] Type-.->Interface3["IEnumerable<KeyValuePair<object, object>>"] Type-.->Interface4["IEnumerable"] Type-.->Interface5["IServiceProvider"] Type["ServiceProviderDictionary"] class Type type-node

Syntax

public class ServiceProviderDictionary : IServiceProviderDictionary, IDictionary<object, object>, 
    ICollection<KeyValuePair<object, object>>, IEnumerable<KeyValuePair<object, object>>, 
    IEnumerable, IServiceProvider

Attributes

Type Description
NullableContextAttribute
NullableAttribute
DefaultMemberAttribute

Constructors

Name Summary
ServiceProviderDictionary() Initializes a new instance of the ServiceProviderDictionary class.
ServiceProviderDictionary(IDictionary<object, object>) Initializes a new instance of the ServiceProviderDictionary class.

Properties

Name Value Summary
Count int
Gets the count.
IsReadOnly bool
Gets a value indicating whether this instance is read only.
Keys ICollection<object>
Gets the keys.
this[object] object
Gets or sets the object with the specified key.
Values ICollection<object>
Gets the values.

Methods

Name Value Summary
Add(KeyValuePair<object, object>) void
Adds the specified item.
Add(object, object) void
Adds the specified key.
Clear() void
Clears this instance.
Contains(KeyValuePair<object, object>) bool
Determines whether this instance contains the object.
ContainsKey(object) bool
Determines whether the specified key contains key.
CopyTo(KeyValuePair<object, object>[], int) void
Copies to.
GetEnumerator() IEnumerator<KeyValuePair<object, object>>
Gets the enumerator.
GetService(Type) object
Gets the service.
Remove(KeyValuePair<object, object>) bool
Removes the specified item.
Remove(object) bool
Removes the specified key.
TryGetValue(object, object) bool
Tries the get value.

Extension Methods

See Also