mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
406 B
17 lines
406 B
using System;
|
|
|
|
namespace ZeroLevel.Services.PartitionStorage
|
|
{
|
|
public class StoreFilePartition<TKey, TMeta>
|
|
{
|
|
public string Name { get; }
|
|
public Func<TKey, TMeta, string> PathExtractor { get; }
|
|
|
|
public StoreFilePartition(string name, Func<TKey, TMeta, string> pathExtractor)
|
|
{
|
|
Name = name;
|
|
PathExtractor = pathExtractor;
|
|
}
|
|
}
|
|
}
|