-
Notifications
You must be signed in to change notification settings - Fork 35
Methods_T_CodeJam_Services_ServiceContainer
Andrew Koryavchenko edited this page Jul 4, 2017
·
3 revisions
The ServiceContainer type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Calls Dispose() methods in all created service instances, that implements IDisposable. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetService | Gets the service object of the specified type. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Publish(Type, Func(IServicePublisher, Object)) | Publish service. | |
Publish(Type, Object) | Publish service. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
GetRequiredService(Type) | Overloaded. Gets the service object of the specified type, or throws an exception if service not registered. (Defined by ServiceProviderHelper.) |
|
GetRequiredService(T)() | Overloaded. Gets the service object of the specified type, or throws an exception if service not registered. (Defined by ServiceProviderHelper.) |
|
GetService(T) | Gets the service object of the specified type. (Defined by ServiceProviderHelper.) | |
Publish(T)(T) | Overloaded. Publish service. (Defined by ServiceProviderHelper.) |
|
Publish(T)(Func(IServicePublisher, T)) | Overloaded. Publish service. (Defined by ServiceProviderHelper.) |