Ejemplo n.º 1
0
 public static void MyClassInitialize(TestContext testContext)
 {
     registry = new RegistryClient(USERNAME, PASSWORD, SERVER_URL);
     if (registry.ResourceExists(BASE_PATH))
     {
         MyClassCleanup();
     }
 }
Ejemplo n.º 2
0
 public Resource(RegistryClient client, WSResource resource)
     : this(client)
 {
     this.authorUserName = resource.authorUserName;
     this.description = resource.description;
     this.mediaType = resource.mediaType;
     this.properties = resource.properties;
     this.createdTime = resource.createdTime;
     this.id = resource.id;
     this.lastModified = resource.lastModified;
     this.lastUpdaterUserName = resource.lastUpdaterUserName;
     this.parentPath = resource.parentPath;
     this.path = resource.path;
     this.matchingSnapshotID = resource.matchingSnapshotID;
 }
Ejemplo n.º 3
0
 public Resource(RegistryClient client, WSResource resource)
     : this(client)
 {
     this.authorUserName      = resource.authorUserName;
     this.description         = resource.description;
     this.mediaType           = resource.mediaType;
     this.properties          = resource.properties;
     this.createdTime         = resource.createdTime;
     this.id                  = resource.id;
     this.lastModified        = resource.lastModified;
     this.lastUpdaterUserName = resource.lastUpdaterUserName;
     this.parentPath          = resource.parentPath;
     this.path                = resource.path;
     this.matchingSnapshotID  = resource.matchingSnapshotID;
 }
Ejemplo n.º 4
0
 public Collection(RegistryClient client, WSCollection collection)
     : base(client, collection)
 {
     this._childCount = collection.childCount;
 }
Ejemplo n.º 5
0
 public Collection(RegistryClient client)
     : base (client)
 {
 }
Ejemplo n.º 6
0
 public Resource(RegistryClient client)
     : this()
 {
     this.client = client;
 }
Ejemplo n.º 7
0
 public Collection(RegistryClient client, WSCollection collection)
     : base(client, collection)
 {
     this._childCount = collection.childCount;
 }
Ejemplo n.º 8
0
 public Collection(RegistryClient client)
     : base(client)
 {
 }
Ejemplo n.º 9
0
 public Resource(RegistryClient client)
     : this()
 {
     this.client = client;
 }