Exemplo n.º 1
0
 public void Init()
 {
     db.Add(new VersionControlStatus {
         reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Missing, assetPath = "missing",
     });
     db.Add(new VersionControlStatus {
         reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Unversioned, assetPath = "unversioned"
     });
     db.Add(new VersionControlStatus {
         reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Normal, assetPath = "normal"
     });
     db.Add(new VersionControlStatus {
         reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Deleted, assetPath = "deleted"
     });
     db.Add(new VersionControlStatus {
         reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Added, assetPath = "added"
     });
     carrier  = new DataCarrier();
     loopback = new DecoratorLoopback(carrier, db);
     filtered = new VCCFilteredAssets(loopback);
 }
Exemplo n.º 2
0
 public void Init()
 {
     db.Add(new VersionControlStatus { reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Missing      , assetPath = "missing", });
     db.Add(new VersionControlStatus { reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Unversioned  , assetPath = "unversioned"});
     db.Add(new VersionControlStatus { reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Normal       , assetPath = "normal"});
     db.Add(new VersionControlStatus { reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Deleted      , assetPath = "deleted"});
     db.Add(new VersionControlStatus { reflectionLevel = VCReflectionLevel.Local, fileStatus = VCFileStatus.Added        , assetPath = "added" });
     carrier = new DataCarrier();
     loopback = new DecoratorLoopback(carrier, db);
     filtered = new VCCFilteredAssets(loopback);
 }
Exemplo n.º 3
0
 public DecoratorLoopback(DataCarrier carrier, StatusDatabase statusDatabase)
 {
     dataCarrier         = carrier;
     this.statusDatabase = statusDatabase;
 }
Exemplo n.º 4
0
 public DecoratorLoopback(DataCarrier carrier, StatusDatabase statusDatabase)
 {
     dataCarrier = carrier;
     this.statusDatabase = statusDatabase;
 }