Пример #1
0
 public FileCache(GameObject gameObject, string rootDirectory, ICacheEncoderDecoder encoderDecoder)
 {
     this.RootDirectory = rootDirectory;
     this.Encoder       = encoderDecoder;
     this.Decoder       = encoderDecoder;
     this.BuildQueue(gameObject);
 }
Пример #2
0
 public MemoryCache(ICacheEncoderDecoder encoderDecoder)
 {
     this.Encoder = encoderDecoder;
     this.Decoder = encoderDecoder;
 }