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