protected TfsDestination( ICoreConfiguration coreConfiguration, IGreenshotLanguage greenshotLanguage, ITfsConfiguration tfsConfiguration, ITfsLanguage tfsLanguage, TfsClient tfsClient, Func <CancellationTokenSource, Owned <PleaseWaitForm> > pleaseWaitFormFactory, IResourceProvider resourceProvider, WorkItem workItem) : this(coreConfiguration, greenshotLanguage, tfsConfiguration, tfsLanguage, tfsClient, pleaseWaitFormFactory, resourceProvider) { _workItem = workItem; }
public TfsConfigViewModel( ITfsConfiguration tfsConfiguration, ITfsLanguage tfsLanguage, IGreenshotLanguage greenshotLanguage, TfsClient tfsClient, FileConfigPartViewModel fileConfigPartViewModel) { TfsConfiguration = tfsConfiguration; TfsLanguage = tfsLanguage; GreenshotLanguage = greenshotLanguage; TfsClient = tfsClient; FileConfigPartViewModel = fileConfigPartViewModel; }
public TfsDestination( ICoreConfiguration coreConfiguration, IGreenshotLanguage greenshotLanguage, ITfsConfiguration tfsConfiguration, ITfsLanguage tfsLanguage, TfsClient tfsClient, Func <CancellationTokenSource, Owned <PleaseWaitForm> > pleaseWaitFormFactory, IResourceProvider resourceProvider) : base(coreConfiguration, greenshotLanguage) { _tfsConfiguration = tfsConfiguration; _tfsLanguage = tfsLanguage; _tfsClient = tfsClient; _pleaseWaitFormFactory = pleaseWaitFormFactory; _resourceProvider = resourceProvider; }
public TfsClient( ICoreConfiguration coreConfiguration, ITfsConfiguration tfsConfiguration, INetworkConfiguration networkConfiguration) { _coreConfiguration = coreConfiguration; _tfsConfiguration = tfsConfiguration; _tfsHttpBehaviour = new HttpBehaviour { HttpSettings = networkConfiguration, JsonSerializer = new JsonNetJsonSerializer() }; #if DEBUG // Set json log threshold high _tfsHttpBehaviour.RequestConfigurations[nameof(DefaultJsonHttpContentConverterConfiguration)] = new DefaultJsonHttpContentConverterConfiguration { LogThreshold = 0 }; #endif }
public TfsClient(ITfsConfiguration configuration) { _configuration = configuration; }