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