예제 #1
0
 public static void MyClassInitialize(TestContext testContext)
 {
     registry = new RegistryClient(USERNAME, PASSWORD, SERVER_URL);
     if (registry.ResourceExists(BASE_PATH))
     {
         MyClassCleanup();
     }
 }
예제 #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;
 }
예제 #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;
 }
예제 #4
0
 public Collection(RegistryClient client, WSCollection collection)
     : base(client, collection)
 {
     this._childCount = collection.childCount;
 }
예제 #5
0
 public Collection(RegistryClient client)
     : base (client)
 {
 }
예제 #6
0
 public Resource(RegistryClient client)
     : this()
 {
     this.client = client;
 }
예제 #7
0
 public Collection(RegistryClient client, WSCollection collection)
     : base(client, collection)
 {
     this._childCount = collection.childCount;
 }
예제 #8
0
 public Collection(RegistryClient client)
     : base(client)
 {
 }
예제 #9
0
 public Resource(RegistryClient client)
     : this()
 {
     this.client = client;
 }