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