using System;
namespace ZeroLevel.Services.PartitionStorage
{
///
/// Partition, contains the method of forming the path
///
public class StoreCatalogPartition
{
///
/// Name of partition, just for info
///
public string Name { get; }
///
/// Path generator
///
public Func PathExtractor { get; }
public StoreCatalogPartition(string name, Func pathExtractor)
{
Name = name;
PathExtractor = pathExtractor;
}
}
}