ServiceFactory Class
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net.dll
Provides methods to create instances of services.
public static class ServiceFactory
Inherited Members
Remarks
The provided methods rely on the Activator.CreateInstance method to create the new instances and are not optimized for performance. It is fine to use them for e.g. creating singletons when the application starts, but they should not be used for intensive creation of objects.
Methods
Name | Description |
---|---|
CreateInstance(string, IDictionary<string, string>, params object[]) | Creates a new instance of type |
CreateInstance(Type, IDictionary<string, string>, params object[]) | Creates a new instance of type |
CreateInstance<TService>(IDictionary<string, string>, params object[]) | Creates a new instance of type |
CreateInstance<TService>(string, IDictionary<string, string>, params object[]) | Creates a new instance of type |
CreateInstance<TService>(Type, IDictionary<string, string>, params object[]) | Creates a new instance of type |
CreateInstance<TService, TActual>(IDictionary<string, string>, params object[]) | Creates a new instance of type |