public RedmineServiceContext(Uri serviceUri, string apiKey) { ServiceUri = serviceUri; _apiKey = apiKey; News = new NewsCollection(this); Projects = new ProjectsCollection(this); Issues = new IssuesCollection(this); Users = new UsersCollection(this); UserRoles = new UserRolesCollection(this); IssueRelations = new IssueRelationsCollection(this); Trackers = new IssueTrackersCollection(this); IssueStatuses = new IssueStatusesCollection(this); IssuePriorities = new IssuePrioritiesCollection(this); IssueCategories = new IssueCategoriesCollection(this); ProjectVersions = new ProjectVersionsCollection(this); Attachments = new AttachmentsCollection(this); CustomFields = new CustomFieldsCollection(this); Queries = new QueriesCollection(this); SyncRoot = new object(); }
public RedmineServiceContext(Uri serviceUri, string apiKey) { _serviceUri = serviceUri; _apiKey = apiKey; _news = new NewsCollection(this); _projects = new ProjectsCollection(this); _issues = new IssuesCollection(this); _users = new UsersCollection(this); _userRoles = new UserRolesCollection(this); _relations = new IssueRelationsCollection(this); _trackers = new IssueTrackersCollection(this); _statuses = new IssueStatusesCollection(this); _priorities = new IssuePrioritiesCollection(this); _categories = new IssueCategoriesCollection(this); _versions = new ProjectVersionsCollection(this); _attachments = new AttachmentsCollection(this); _customFields = new CustomFieldsCollection(this); _queries = new QueriesCollection(this); _syncRoot = new object(); }