private static ISerializer CreateSerializer(IComponentContext ctx) { ProtobufSerializer.Initialize(ctx.Resolve <IEnumerable <ICacheConfiguration> >().ToList()); return(new ProtobufSerializer()); }