.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    ServiceFactory Class

    Namespace: Hazelcast.Core
    Assembly: Hazelcast.Net.dll

    Provides methods to create instances of services.

    public static class ServiceFactory
    Inheritance
    Object
    ServiceFactory
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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

    CreateInstance(String, IDictionary<String, String>, Object[])

    Creates a new instance of type typeName.

    CreateInstance(Type, IDictionary<String, String>, Object[])

    Creates a new instance of type type.

    CreateInstance<T>(IDictionary<String, String>, Object[])

    Creates a new instance of type T.

    CreateInstance<T>(String, IDictionary<String, String>, Object[])

    Creates a new instance of type typeName as T.

    CreateInstance<T>(Type, IDictionary<String, String>, Object[])

    Creates a new instance of type type as T.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.