You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
554 B
21 lines
554 B
namespace Bit.RustSDK; |
|
|
|
/// <summary> |
|
/// Factory for creating Rust SDK service instances |
|
/// </summary> |
|
public static class RustSdkServiceFactory |
|
{ |
|
/// <summary> |
|
/// Creates a singleton instance of the Rust SDK service (thread-safe) |
|
/// </summary> |
|
/// <returns>A singleton IRustSdkService instance</returns> |
|
public static RustSdkService CreateSingleton() |
|
{ |
|
return SingletonHolder.Instance; |
|
} |
|
|
|
private static class SingletonHolder |
|
{ |
|
internal static readonly RustSdkService Instance = new(); |
|
} |
|
}
|
|
|