C# Class Imgix_Dotnet.Sharding.ShardingFactory

A static sharding strategy factory
Afficher le fichier Open project: estei/Imgix-Dotnet

Méthodes publiques

Méthode Description
GetStrategy ( string name ) : IShardingStrategy

Creates and returns a new sharding strategy from a name.

Method Details

GetStrategy() public static méthode

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 ///
Résultat IShardingStrategy