예제 #1
0
 public override void InnerConfigure(IMigrationClient migrationClient, bool bypassRules = true)
 {
     _config      = MigrationClient.Config;
     _bypassRules = bypassRules ? WorkItemStoreFlags.BypassRules : WorkItemStoreFlags.None;
     _wistore     = new WorkItemStore(MigrationClient.Config.Collection.ToString(), _bypassRules);
     _project     = migrationClient.WorkItems.GetProject();
 }
 public void Configure(TeamProjectConfig config, NetworkCredential credentials = null)
 {
     _config      = config;
     _credentials = credentials;
     EnsureCollection();
     _workItemClient.Configure(this);
     _testPlanClient.Configure(this);
 }
예제 #3
0
 public override void InnerConfigure(IMigrationClient migrationClient, bool bypassRules = true)
 {
     _migrationClient = migrationClient;
     _config          = MigrationClient.Config;
     _bypassRules     = bypassRules ? WorkItemStoreFlags.BypassRules : WorkItemStoreFlags.None;
     _wistore         = GetWorkItemStore(_bypassRules);
     _project         = migrationClient.WorkItems.GetProject();
 }
 public void Connect(TeamProjectConfig config, NetworkCredential credentials)
 {
 }
 public void Connect(TeamProjectConfig config)
 {
 }
예제 #6
0
 public void Connect(TeamProjectConfig config, NetworkCredential credentials)
 {
     throw new NotImplementedException();
 }
예제 #7
0
 public void Connect(TeamProjectConfig config)
 {
     throw new NotImplementedException();
 }
 public void Configure(TeamProjectConfig config, NetworkCredential credentials = null)
 {
 }
예제 #9
0
 public TeamProjectContext(TeamProjectConfig config, NetworkCredential credentials, ITelemetryLogger telemetry)
 {
     _config      = config;
     _credentials = credentials;
     Telemetry    = telemetry;
 }
예제 #10
0
 public TeamProjectContext(TeamProjectConfig config, ITelemetryLogger telemetry)
 {
     this._config = config;
     Telemetry    = telemetry;
 }
 public void Connect(TeamProjectConfig config, NetworkCredential credentials)
 {
     _config      = config;
     _credentials = new VssCredentials(new Microsoft.VisualStudio.Services.Common.WindowsCredential(credentials));;
     Connect();
 }
 public void Connect(TeamProjectConfig config)
 {
     _config = config;
     Connect();
 }
 public TeamProjectContext(TeamProjectConfig config, NetworkCredential credentials)
 {
     _config      = config;
     _credentials = credentials;
 }
 public TeamProjectContext(TeamProjectConfig config)
 {
     this._config = config;
 }
 public TeamProjectContext(TeamProjectConfig config, VssCredentials credentials)
 {
     _config      = config;
     _credentials = credentials;
 }
예제 #16
0
 public TeamProjectContext(TeamProjectConfig config, TelemetryClient telemetry)
 {
     this._config = config;
     _Telemetry   = telemetry;
     Connect();
 }