C# 클래스 Imgix_Dotnet.Sharding.ShardingFactory

A static sharding strategy factory
파일 보기 프로젝트 열기: estei/Imgix-Dotnet

공개 메소드들

메소드 설명
GetStrategy ( string name ) : IShardingStrategy

Creates and returns a new sharding strategy from a name.

메소드 상세

GetStrategy() 공개 정적인 메소드

Creates and returns a new sharding strategy from a name.
If no name is given If no strategy with the name given exists
public static GetStrategy ( string name ) : IShardingStrategy
name string /// The name of the strategy. /// Values: Hash, None, RoundRobin ///
리턴 IShardingStrategy