Ejemplo n.º 1
0
 public MetafileSession(IFileSandbox sandbox, Metainfo metainfo, string path, byte[] data, MetafileService service, Task onVerified)
 {
     this.sandbox    = sandbox;
     this.metainfo   = metainfo;
     this.path       = path;
     this.data       = data;
     this.service    = service;
     this.onVerified = onVerified;
 }
Ejemplo n.º 2
0
 public MetashareBuilder WithMetafile(MetafileService metafile)
 {
     dependencies.Metafile = metafile;
     return(this);
 }
Ejemplo n.º 3
0
 public MetaGetToMetaStoreAdapter(MetafileService service)
 {
     this.service = service;
 }
Ejemplo n.º 4
0
 public static MetagetMetafile AsMetaGet(this MetafileService service)
 {
     return(new MetaGetToMetaStoreAdapter(service));
 }