namespace Bit.RustSDK; /// /// Factory for creating Rust SDK service instances /// public static class RustSdkServiceFactory { /// /// Creates a new instance of the Rust SDK service /// /// A new IRustSdkService instance public static RustSdkService Create() { return new RustSdkService(); } /// /// Creates a singleton instance of the Rust SDK service (thread-safe) /// /// A singleton IRustSdkService instance public static RustSdkService CreateSingleton() { return SingletonHolder.Instance; } private static class SingletonHolder { internal static readonly RustSdkService Instance = new RustSdkService(); } }