C# Class Imgix_Dotnet.Sharding.ShardingFactory

A static sharding strategy factory
Show file Open project: estei/Imgix-Dotnet

Public Methods

Method Description
GetStrategy ( string name ) : IShardingStrategy

Creates and returns a new sharding strategy from a name.

Method Details

GetStrategy() public static method

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 ///
return IShardingStrategy