From 3b58ca189788a1e561d9cf183bb17c4fa78b5f81 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Sun, 7 Sep 2025 05:07:34 -0300 Subject: [PATCH 01/36] Refactor source generator --- .../EquatableArray.cs | 112 +++++ .../GeneratedProperty.cs | 2 +- .../GeneratorState.cs | 35 +- .../Generators/Cmdlets/CmdletGenerator.cs | 29 ++ .../Generators/Cmdlets/CmdletInfo.cs | 64 ++- .../Generators/Cmdlets/Filter.cs | 9 - .../Generators/Cmdlets/Generator.cs | 10 - .../Generators/Cmdlets/TypeProcessor.cs | 47 --- .../Generators/Controllers/Analyzers.cs | 102 ----- .../Controllers/ControllerGenerator.cs | 43 ++ .../Generators/Controllers/ControllerInfo.cs | 297 ++++++------- .../Generators/Controllers/Filter.cs | 9 - .../Generators/Controllers/Generator.cs | 10 - .../Generators/Controllers/TypeProcessor.cs | 80 ---- .../Generators/HttpClients/HttpClientInfo.cs | 75 +++- .../Generators/HttpClients/TypeProcessor.cs | 76 +--- .../TfsCmdlets.SourceGenerators/HashCode.cs | 390 ++++++++++++++++++ .../TfsCmdlets.SourceGenerators.csproj | 5 +- 18 files changed, 829 insertions(+), 566 deletions(-) create mode 100644 CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Filter.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Generator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/TypeProcessor.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Analyzers.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Filter.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Generator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/TypeProcessor.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/HashCode.cs diff --git a/CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs b/CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs new file mode 100644 index 000000000..e91a7b024 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs @@ -0,0 +1,112 @@ +#nullable enable +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.Immutable; + +namespace TfsCmdlets.SourceGenerators +{ + /// + /// An immutable, equatable array. This is equivalent to but with value equality support. + /// + /// The type of values in the array. + public readonly struct EquatableArray : IEquatable>, IEnumerable + where T : IEquatable + { + public static readonly EquatableArray Empty = new(Array.Empty()); + + /// + /// The underlying array. + /// + private readonly T[]? _array; + + /// + /// Creates a new instance. + /// + /// The input to wrap. + public EquatableArray(T[] array) + { + _array = array; + } + + /// + public bool Equals(EquatableArray array) + { + return AsSpan().SequenceEqual(array.AsSpan()); + } + + /// + public override bool Equals(object? obj) + { + return obj is EquatableArray array && this.Equals(array); + } + + /// + public override int GetHashCode() + { + if (_array is not T[] array) + { + return 0; + } + + HashCode hashCode = default; + + foreach (T item in array) + { + hashCode.Add(item); + } + + return hashCode.ToHashCode(); + } + + /// + /// Returns a wrapping the current items. + /// + /// A wrapping the current items. + public ReadOnlySpan AsSpan() + { + return _array.AsSpan(); + } + + /// + /// Gets the underlying array if there is one + /// + public T[]? GetArray() => _array; + + /// + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)(_array ?? Array.Empty())).GetEnumerator(); + } + + /// + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)(_array ?? Array.Empty())).GetEnumerator(); + } + + public int Count => _array?.Length ?? 0; + + /// + /// Checks whether two values are the same. + /// + /// The first value. + /// The second value. + /// Whether and are equal. + public static bool operator ==(EquatableArray left, EquatableArray right) + { + return left.Equals(right); + } + + /// + /// Checks whether two values are not the same. + /// + /// The first value. + /// The second value. + /// Whether and are not equal. + public static bool operator !=(EquatableArray left, EquatableArray right) + { + return !left.Equals(right); + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs b/CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs index 9bad2ae21..19e2f7e69 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs @@ -4,7 +4,7 @@ namespace TfsCmdlets.SourceGenerators { - public class GeneratedProperty + public record GeneratedProperty { public string Name { get; } public string Type { get; } diff --git a/CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs b/CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs index 3f722c344..cf55187db 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs @@ -1,27 +1,34 @@ using System; using System.Collections.Generic; -using System.Text; using Microsoft.CodeAnalysis; namespace TfsCmdlets.SourceGenerators { - public class GeneratorState + public abstract record GeneratorState { - private Dictionary PropertyBag { get; } = new Dictionary(); - - public GeneratorState(INamedTypeSymbol targetType, Logger logger) + protected const string HEADER = + """ + //------------------------------------------------------------------------------ + // + // This code was generated by the TfsCmdlets.SourceGenerators source generator + // + // Changes to this file may cause incorrect behavior and will be lost if + // the code is regenerated. + // + //------------------------------------------------------------------------------ + + #nullable enable + """; + + public GeneratorState(INamedTypeSymbol targetType) { if (targetType == null) throw new ArgumentNullException(nameof(targetType)); Name = targetType.Name; Namespace = targetType.FullNamespace(); FullName = FileName = targetType.FullName(); - Logger = logger; - TargetType = targetType; } - public INamedTypeSymbol TargetType { get; set; } - public string Name { get; } public string Namespace { get; } @@ -30,14 +37,8 @@ public GeneratorState(INamedTypeSymbol targetType, Logger logger) public string FileName { get; } - public IDictionary GeneratedProperties = new Dictionary(); - - protected Logger Logger { get; } + public EquatableArray GeneratedProperties { get; protected set; } - public object this[string key] - { - get => PropertyBag[key]; - set => PropertyBag[key] = value; - } + public abstract string GenerateCode(); } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs new file mode 100644 index 000000000..e7ba3b860 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs @@ -0,0 +1,29 @@ +using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.Text; + +namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets +{ + [Generator] + public class CmdletGenerator : IIncrementalGenerator + { + public void Initialize(IncrementalGeneratorInitializationContext context) + { + var cmdletsToGenerate = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.Cmdlets.TfsCmdletAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => CmdletInfo.Create(ctx)) + .Where(static m => m is not null) + .Select((m, _) => m!); + + context.RegisterSourceOutput(cmdletsToGenerate, + static (spc, source) => + { + var result = source.GenerateCode(); + var filename = source.FileName; + spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); + }); + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index 1112b0609..3f5d8df28 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -1,11 +1,13 @@ using System; +using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp.Syntax; namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets { - public class CmdletInfo : GeneratorState + public record CmdletInfo : GeneratorState { public string Noun { get; private set; } public string Verb { get; private set; } @@ -17,18 +19,18 @@ public class CmdletInfo : GeneratorState public bool NoAutoPipeline { get; private set; } public string DefaultParameterSetName { get; private set; } public string CustomControllerName { get; private set; } - public INamedTypeSymbol DataType { get; private set; } - public INamedTypeSymbol OutputType { get; private set; } + public string DataType { get; private set; } + public string OutputType { get; private set; } public bool SupportsShouldProcess { get; private set; } public bool ReturnsValue { get; private set; } public bool SkipGetProperty { get; private set; } public string CmdletAttribute { get; private set; } public string OutputTypeAttribute { get; private set; } - public string AdditionalCredentialParameterSets { get; private set; } + public string Usings { get; private set; } - public CmdletInfo(INamedTypeSymbol cmdlet, Logger logger) - : base(cmdlet, logger) + public CmdletInfo(INamedTypeSymbol cmdlet) + : base(cmdlet) { if (cmdlet == null) throw new ArgumentNullException(nameof(cmdlet)); @@ -41,8 +43,8 @@ public CmdletInfo(INamedTypeSymbol cmdlet, Logger logger) RequiresVersion = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "RequiresVersion"); NoAutoPipeline = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "NoAutoPipeline"); DefaultParameterSetName = cmdlet.GetAttributeNamedValue("CmdletAttribute", "DefaultParameterSetName"); - OutputType = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "OutputType"); - DataType = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "DataType") ?? OutputType; + OutputType = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "OutputType")?.FullName(); + DataType = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "DataType")?.FullName() ?? OutputType; DefaultParameterSetName = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "DefaultParameterSetName"); CustomControllerName = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "CustomControllerName"); ReturnsValue = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "ReturnsValue"); @@ -51,6 +53,7 @@ public CmdletInfo(INamedTypeSymbol cmdlet, Logger logger) SupportsShouldProcess = SetSupportsShouldProcess(cmdlet); CmdletAttribute = GenerateCmdletAttribute(this); OutputTypeAttribute = GenerateOutputTypeAttribute(this); + Usings = cmdlet.GetDeclaringSyntax().FindParentOfType()?.Usings.ToString(); GenerateProperties(); } @@ -67,20 +70,15 @@ private bool SetSupportsShouldProcess(INamedTypeSymbol cmdlet) private void GenerateProperties() { - foreach (var (condition, generator, generatorName) in _generators) + var props = new List(); + + foreach (var (condition, generator, _) in _generators) { - if (!condition(this)) - { - //Logger.Log($" - {generatorName} [-]"); - continue; - }; - - foreach (var prop in generator(this)) - { - //Logger.Log($" - {generatorName} [{prop.Name}]"); - GeneratedProperties.Add(prop.Name, prop); - } + if (!condition(this)) continue; + props.AddRange(generator(this)); } + + GeneratedProperties = new EquatableArray(props.ToArray()); } private static string GenerateCmdletAttribute(CmdletInfo cmdlet) @@ -98,8 +96,8 @@ private static string GenerateOutputTypeAttribute(CmdletInfo cmdlet) if (cmdlet.OutputType == null && cmdlet.DataType == null) return string.Empty; return cmdlet.OutputType != null ? - $"\n [OutputType(typeof({cmdlet.OutputType.FullName()}))]" : - $"\n [OutputType(typeof({cmdlet.DataType.FullName()}))]"; + $"\n [OutputType(typeof({cmdlet.OutputType}))]" : + $"\n [OutputType(typeof({cmdlet.DataType}))]"; } private static IEnumerable GenerateScopeProperty(CmdletScope currentScope, CmdletInfo settings) @@ -251,5 +249,27 @@ private static bool IsPipelineProperty(CmdletScope currentScope, CmdletInfo cmdl // Areas/Iterations StructureGroup property ((cmdlet) => cmdlet.Name.EndsWith("Area") || cmdlet.Name.EndsWith("Iteration"), GenerateStructureGroupProperty, "(Area/Iteration)->StructureGroup"), }; + + public override string GenerateCode() + { + var props = new StringBuilder(); + foreach (var prop in GeneratedProperties) props.Append(prop); + + return $@" +namespace {Namespace} +{{ + {CmdletAttribute}{OutputTypeAttribute} + public partial class {Name}: CmdletBase + {{{props} + }} +}} +"; + } + + internal static CmdletInfo Create(GeneratorAttributeSyntaxContext ctx) + { + if (ctx.TargetSymbol is not INamedTypeSymbol cmdletSymbol) return null; + return new CmdletInfo(cmdletSymbol); + } } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Filter.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Filter.cs deleted file mode 100644 index bc9afbff0..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Filter.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets -{ - public class Filter : BaseFilter - { - public override bool ShouldProcessType(INamedTypeSymbol type) => type.HasAttribute("TfsCmdletAttribute"); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Generator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Generator.cs deleted file mode 100644 index 60ba9d824..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/Generator.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets -{ - [Generator] - public class CmdletGenerator : BaseGenerator - { - protected override string GeneratorName => nameof(CmdletGenerator); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/TypeProcessor.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/TypeProcessor.cs deleted file mode 100644 index 46ac655b3..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/TypeProcessor.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System.Linq; -using System.Text; -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets -{ - public class TypeProcessor : BaseTypeProcessor - { - protected override void OnInitialize() - { - var fields = Type.GetMembers().OfType().ToList(); - - foreach (var field in fields) - { - var attr = field.GetAttributes().FirstOrDefault(a => a.AttributeClass.Name == "ParameterAttribute"); - - if (attr == null) continue; - - Logger.ReportDiagnostic(DiagnosticDescriptors.ParameterMustBeProperty, Context, field); - - } - } - - public override string GenerateCode() - { - //Logger.Log(" - Initializing CmdletInfo"); - - var cmdlet = new CmdletInfo(Type, Logger); - - //Logger.Log($" - {cmdlet.Name} has the following properties: {string.Join(", ", cmdlet.GeneratedProperties.Values.Select(p => p.Name))}"); - - var props = new StringBuilder(); - - foreach (var prop in cmdlet.GeneratedProperties.Values) props.Append(prop.ToString()); - - return $@" -namespace {Namespace} -{{ - {cmdlet.CmdletAttribute}{cmdlet.OutputTypeAttribute} - public partial class {cmdlet.Name}: CmdletBase - {{{props} - }} -}} -"; - } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Analyzers.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Analyzers.cs deleted file mode 100644 index fab01ded6..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Analyzers.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Diagnostics; -using System.Linq; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; -using Microsoft.CodeAnalysis.Diagnostics; - -namespace TfsCmdlets.SourceGenerators.Analyzers -{ - /// - /// Analyzer for "Class must be partial" - /// - [DiagnosticAnalyzer(LanguageNames.CSharp)] - public class ClassMustHaveControllerSuffix : DiagnosticAnalyzer - { - public override ImmutableArray SupportedDiagnostics { get; } - = ImmutableArray.Create(DiagnosticDescriptors.ClassMustHaveControllerSuffix); - - public override void Initialize(AnalysisContext context) - { - context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None); - context.EnableConcurrentExecution(); - context.RegisterSymbolAction(AnalyzeNamedType, SymbolKind.NamedType); - } - - private static void AnalyzeNamedType(SymbolAnalysisContext context) - { - var type = (INamedTypeSymbol)context.Symbol; - var filters = GetFilters().ToList(); - - foreach (var declaringSyntaxReference in type.DeclaringSyntaxReferences) - { - if (!(declaringSyntaxReference.GetSyntax() is TypeDeclarationSyntax cds)) continue; - if (cds.IsPartial()) continue; - if (!filters.Any(filter => filter.ShouldProcessType(type) && !type.Name.EndsWith("Controller"))) continue; - - var error = Diagnostic.Create(DiagnosticDescriptors.ClassMustHaveControllerSuffix, - cds.Identifier.GetLocation(), - type.Name, - DiagnosticSeverity.Error); - - Debug.WriteLine($"[TfsCmdlets.Analyzer] Adding {type}"); - - context.ReportDiagnostic(error); - } - } - - private static IEnumerable GetFilters() - { - yield return new Generators.Controllers.Filter(); - } - } - - /// - /// Analyzer for "Client must be interface" - /// - [DiagnosticAnalyzer(LanguageNames.CSharp)] - public class ClientMustBeInterface : DiagnosticAnalyzer - { - public override ImmutableArray SupportedDiagnostics { get; } - = ImmutableArray.Create(DiagnosticDescriptors.ClientMustBeInterface); - - public override void Initialize(AnalysisContext context) - { - context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None); - context.EnableConcurrentExecution(); - context.RegisterSymbolAction(AnalyzeNamedType, SymbolKind.NamedType); - } - - private static void AnalyzeNamedType(SymbolAnalysisContext context) - { - var type = (INamedTypeSymbol)context.Symbol; - var filters = GetFilters().ToList(); - - foreach (var declaringSyntaxReference in type.DeclaringSyntaxReferences) - { - if (declaringSyntaxReference.GetSyntax() is not TypeDeclarationSyntax cds) continue; - if (!filters.Any(filter => filter.ShouldProcessType(type))) continue; - - var clientType = type.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); - if(clientType == null) continue; - - if ((clientType.TypeKind == TypeKind.Interface) && clientType.Interfaces.Any(i => i.Name.Equals("IVssHttpClient"))) continue; - - var error = Diagnostic.Create(DiagnosticDescriptors.ClientMustBeInterface, - cds.Identifier.GetLocation(), - clientType.Name, - DiagnosticSeverity.Error); - - Debug.WriteLine($"[TfsCmdlets.Analyzer] Adding {type}"); - - context.ReportDiagnostic(error); - } - } - - private static IEnumerable GetFilters() - { - yield return new Generators.Controllers.Filter(); - } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs new file mode 100644 index 000000000..5358e7a52 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs @@ -0,0 +1,43 @@ +using System.Text; +using System.Linq; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.Text; +using TfsCmdlets.SourceGenerators.Generators.Cmdlets; + +namespace TfsCmdlets.SourceGenerators.Generators.Controllers +{ + [Generator] + public class ControllerGenerator : IIncrementalGenerator + { + public void Initialize(IncrementalGeneratorInitializationContext context) + { + var cmdletsToGenerate = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.Cmdlets.TfsCmdletAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => CmdletInfo.Create(ctx)) + .Where(static m => m is not null) + .Select((m, _) => m!) + .Collect(); + + var controllersToGenerate = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.CmdletControllerAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => ControllerInfo.Create(ctx)) + .Where(static m => m is not null) + .Select((m, _) => m!) + .Combine(cmdletsToGenerate); + + context.RegisterSourceOutput(controllersToGenerate, + static (spc, source) => + { + var controller = source.Left; + var cmdlet = source.Right.OfType().FirstOrDefault(c => c.Name.Equals(controller.CmdletName)); + var result = controller.GenerateCode(cmdlet); + var filename = controller.FileName; + spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); + }); + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index fa56ccbf4..984b80c0a 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -1,4 +1,5 @@ using System; +using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; @@ -7,231 +8,165 @@ namespace TfsCmdlets.SourceGenerators.Generators.Controllers { - public class ControllerInfo : GeneratorState + public record ControllerInfo : GeneratorState { + public CmdletInfo CmdletInfo { get; private set; } + public string CmdletClass {get;} public string Noun { get; } - public CmdletInfo CmdletInfo { get; } public string GenericArg { get; } - internal string Verb { get; } - public INamedTypeSymbol DataType { get; } - public INamedTypeSymbol Client { get; } - - public INamedTypeSymbol BaseClass { get; } + public string Verb { get; } + public string DataType { get; } + public string Client { get; } + public string BaseClass { get; } public string CmdletName { get; } - public INamedTypeSymbol Cmdlet { get; } - public string CtorArgs { get; } - public string BaseCtorArgs { get; } - public string ImportingConstructorBody { get; } - public object Usings { get; } - public IDictionary DeclaredProperties { get; } - public IDictionary ImplicitProperties { get; } - public string BaseClassName => BaseClass.Name; - public bool SkipGetProperty => CmdletInfo.SkipGetProperty; - - internal ControllerInfo(INamedTypeSymbol controller, GeneratorExecutionContext context, Logger logger) - : base(controller, logger) + public string Cmdlet { get; } + public string Usings { get; } + public EquatableArray DeclaredProperties { get; } + public EquatableArray ImplicitProperties { get; } + + private bool SkipGetProperty { get; } + private string ImportingConstructorBody { get; } + private string CtorArgs { get; } + private string BaseCtorArgs { get; } + private string BaseClassName => BaseClass.Contains('.') ? BaseClass.Split('.').Last() : BaseClass; + + internal ControllerInfo(INamedTypeSymbol controller) + : base(controller) { if (controller == null) throw new ArgumentNullException(nameof(controller)); - var customBaseClass = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomBaseClass"); - var cmdletName = controller.FullName().Replace(".Controllers.", ".Cmdlets."); - + var cmdletClassName = controller.FullName().Replace(".Controllers.", ".Cmdlets."); + cmdletClassName = cmdletClassName.Substring(0, cmdletClassName.Length - "Controller".Length); var customCmdletClass = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomCmdletName"); + if (!string.IsNullOrEmpty(customCmdletClass)) cmdletClassName = cmdletClassName.Replace(controller.Name, $"{customCmdletClass}Controller"); + CmdletClass = cmdletClassName; + CmdletName = cmdletClassName.Substring(cmdletClassName.LastIndexOf('.') + 1); - if (!string.IsNullOrEmpty(customCmdletClass)) cmdletName = cmdletName.Replace(controller.Name, $"{customCmdletClass}Controller"); - - CmdletName = cmdletName.Substring(0, cmdletName.Length - "Controller".Length); - Cmdlet = context.Compilation.GetTypeByMetadataName(CmdletName); - - if (Cmdlet == null) throw new ArgumentException($"Unable to find cmdlet class '{CmdletName}'"); + var customBaseClass = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomBaseClass"); + BaseClass = customBaseClass?.FullName() ?? "TfsCmdlets.Controllers.ControllerBase"; - BaseClass = customBaseClass ?? context.Compilation.GetTypeByMetadataName("TfsCmdlets.Controllers.ControllerBase"); ; - DataType = controller.GetAttributeConstructorValue("CmdletControllerAttribute"); - Client = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); + DataType = controller.GetAttributeConstructorValue("CmdletControllerAttribute").FullName(); + Client = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client").FullName(); GenericArg = DataType == null ? string.Empty : $"<{DataType}>"; - Verb = Cmdlet.Name.Substring(0, Cmdlet.Name.FindIndex(char.IsUpper, 1)); - Noun = Cmdlet.Name.Substring(Verb.Length); - CtorArgs = controller.GetImportingConstructorArguments(BaseClass); - BaseCtorArgs = BaseClass.GetConstructorArguments(); - ImportingConstructorBody = GetImportingConstructorBody(controller); - Usings = GetUsingStatements(Cmdlet); - CmdletInfo = new CmdletInfo(Cmdlet, Logger); - - DeclaredProperties = Cmdlet.GetPropertiesWithAttribute("ParameterAttribute").Select(p => new GeneratedProperty(p, string.Empty)).ToDictionary(p => p.Name); - ImplicitProperties = CmdletInfo.GeneratedProperties; - - GenerateProperties(); - } + Verb = cmdletClassName.Substring(0, cmdletClassName.FindIndex(char.IsUpper, 1)); + Noun = cmdletClassName.Substring(Verb.Length); - private void GenerateProperties() - { - //Logger.Log($" - GenerateProperties"); - - foreach (var (condition, generator, generatorName) in _generators) - { - if (!condition(this)) - { - //Logger.Log($" - {generatorName} [-]"); - continue; - }; - - foreach (var prop in generator(this)) - { - //Logger.Log($" - {generatorName} [{prop.Name}]"); - GeneratedProperties.Add(prop.Name, prop); - } - } + // GenerateProperties(); } - private static string GetImportingConstructorBody(INamedTypeSymbol type) + public string GenerateCode(CmdletInfo cmdlet) { - var parms = type - .GetPropertiesWithAttribute("ImportAttribute") - .Select(p => $" {p.Name} = {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)};") - .ToList(); - - var client = type.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); - - if (client != null) parms.Add($" Client = client;"); - - return string.Join("\n", parms); + CmdletInfo = cmdlet; + return GenerateCode(); } - private string GetUsingStatements(INamedTypeSymbol cmdlet) - => cmdlet.GetDeclaringSyntax().FindParentOfType()?.Usings.ToString(); - - private static IEnumerable GenerateParameterSetProperty(ControllerInfo controller) + public override string GenerateCode() { - yield return new GeneratedProperty("ParameterSetName", "string", $@" // ParameterSetName - protected bool Has_ParameterSetName {{get;set;}} - protected string ParameterSetName {{get;set;}} -"); - } + return $@"{HEADER} - private static IEnumerable GenerateDataType(ControllerInfo controller) - { - yield return new GeneratedProperty("DataType", controller.DataType.ToString(), true, $@" // DataType - public override Type DataType => typeof({controller.DataType}); +{GenerateUsings()} -"); - } +namespace {Namespace} +{{ + // + internal partial class {Name}: {BaseClassName} + {{ + // Client property + {GenerateClientProperty()} - private static IEnumerable GenerateItemsProperty(ControllerInfo controller) - { - yield return new GeneratedProperty("Items", "object", controller.DataType == null ? - $@" - // Items - protected IEnumerable Items => Data.Invoke(""Get"", ""{controller.Noun}""); - -" : - $@" - // Items - protected IEnumerable{controller.GenericArg} Items => {controller.DeclaredProperties.Values.First().Name} switch {{ - {controller.DataType} item => new[] {{ item }}, - IEnumerable{controller.GenericArg} items => items, - _ => Data.GetItems{controller.GenericArg}() - }}; - -"); - } + // Input property + {GenerateGetInputProperty()} - private static IEnumerable GenerateGetInputProperty(ControllerInfo controller) - { - var prop = controller.DeclaredProperties.Values.First(); + // Cmdlet explicit (declared) parameters + {GenerateDeclaredProperties()} + + // Cmdlet implicit (source-gen'ed) parameters + {GenerateImplicitProperties()} + + // Scope properties + {GenerateScopeProperties()} + + // ParameterSetName + {GenerateParameterSetProperty()} + + // 'Items' property + {GenerateItemsProperty()} - var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; + // DataType + {GenerateDataTypeProperty()} - yield return new GeneratedProperty(prop.Name, "IEnumerable", $@" // {prop.Name} - protected bool Has_{prop.Name} => Parameters.HasParameter(nameof({prop.Name})); - protected IEnumerable {prop.Name} + protected override void CacheParameters() {{ - get - {{ - var paramValue = Parameters.Get(nameof({prop.Name}){initializer}); - if(paramValue is ICollection col) return col; - return new[] {{ paramValue }}; - }} + {GenerateCacheProperties()} }} -"); + [ImportingConstructor] + public {Name}({CtorArgs}) + : base({BaseCtorArgs}) + {{ +{ImportingConstructorBody} + }} + }} +}} +"; } - private static IEnumerable GenerateDeclaredParameters(ControllerInfo controller) + private string GenerateUsings() { - foreach (var prop in controller.DeclaredProperties.Values.Skip(controller.Verb.Equals("Get") && !controller.SkipGetProperty ? 1 : 0)) - { - var type = prop.Type.EndsWith("SwitchParameter") ? "bool" : prop.Type; - - yield return new GeneratedProperty(prop.Name, prop.Type.ToString(), $@" // {prop.Name} - protected bool Has_{prop.Name} {{ get; set; }} - protected {type} {prop.Name} {{ get; set; }} - -") { DefaultValue = prop.DefaultValue }; - } + return $@" +// {CmdletInfo?.Name} +{CmdletInfo?.Usings} +"; } - private static IEnumerable GenerateImplicitParameters(ControllerInfo controller) + private string GenerateClientProperty() { - foreach (var prop in controller.CmdletInfo.GeneratedProperties.Values) - { - var type = prop.Type.ToString().EndsWith("SwitchParameter") ? "bool" : prop.Type.ToString(); - - if (_scopeProperties.Any(s => prop.Name.Equals(s))) continue; - - if (prop.IsHidden) continue; - - yield return new GeneratedProperty(prop.Name, type, $@" // {prop.Name} - protected bool Has_{prop.Name} {{get;set;}} // => Parameters.HasParameter(nameof({prop.Name})); - protected {type} {prop.Name} {{get;set;}} // => _{prop.Name}; // Parameters.Get<{type}>(nameof({prop.Name})); - -"); - } + return Client == null ? string.Empty : $"private {Client} Client {{ get; }}"; } - private static IEnumerable GenerateScopeProperty(CmdletScope scope, string scopeType) + private string GenerateGetInputProperty() { - yield return new GeneratedProperty(scope.ToString(), "object", $@" // {scope} - protected bool Has_{scope} => Parameters.HasParameter(""{scope}""); - protected {scopeType} {scope} => Data.Get{scope}(); - -") { IsScope = true }; + return string.Empty; } - private static readonly ICollection _scopeProperties = new[] { "Server", "Collection", "Project", "Team" }; - - private static readonly List<(Predicate, Func>, string)> _generators = - new List<(Predicate, Func>, string)>() - { - // Get "input" property - - ((controller) => controller.Verb.Equals("Get") && controller.DeclaredProperties.Count > 0 && !controller.SkipGetProperty, GenerateGetInputProperty, "Get->Input"), - - // Cmdlet declared parameters - - ((controller) => controller.DeclaredProperties.Count > 0, GenerateDeclaredParameters, "Declared Parameters"), - - // Cmdlet implicit (source-gen'ed) parameters - - ((controller) => controller.ImplicitProperties.Count > 0, GenerateImplicitParameters, "Implicit Parameters"), + private string GenerateDeclaredProperties() + { + return string.Empty; + } - // Scope properties + private string GenerateImplicitProperties() + { + return string.Empty; + } - ((controller) => (int)controller.CmdletInfo.Scope >= (int)CmdletScope.Team, ci => GenerateScopeProperty(CmdletScope.Team, "WebApiTeam"), "Scope properties"), - ((controller) => (int)controller.CmdletInfo.Scope >= (int)CmdletScope.Project, ci => GenerateScopeProperty(CmdletScope.Project, "WebApiTeamProject"), "Scope properties"), - ((controller) => (int)controller.CmdletInfo.Scope >= (int)CmdletScope.Collection, ci => GenerateScopeProperty(CmdletScope.Collection, "Models.Connection"), "Scope properties"), - ((controller) => (int)controller.CmdletInfo.Scope >= (int)CmdletScope.Server, ci => GenerateScopeProperty(CmdletScope.Server, "Models.Connection"), "Scope properties"), + private string GenerateScopeProperties() + { + return string.Empty; + } - // ParameterSetName + private string GenerateParameterSetProperty() + { + return string.Empty; + } - ((controller) => true, GenerateParameterSetProperty, "ParameterSetName"), + private string GenerateItemsProperty() + { + return string.Empty; + } - // 'Items' property + private string GenerateDataTypeProperty() + { + return string.Empty; + } - ((controller) => !controller.Verb.Equals("Get") && controller.DeclaredProperties.Count > 0 && - controller.DeclaredProperties.Values.First().Type.Equals("object"), GenerateItemsProperty, "Items"), + private string GenerateCacheProperties() + { + return string.Empty; + } - // DataType - ((controller) => !string.IsNullOrEmpty(controller.GenericArg), GenerateDataType, "DataType"), - }; + internal static ControllerInfo Create(GeneratorAttributeSyntaxContext ctx) => + ctx.TargetSymbol is not INamedTypeSymbol controllerSymbol ? + null : + new ControllerInfo(controllerSymbol); } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Filter.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Filter.cs deleted file mode 100644 index d6b3c1d8b..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Filter.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Controllers -{ - public class Filter : BaseFilter - { - public override bool ShouldProcessType(INamedTypeSymbol type) => type.HasAttribute("CmdletControllerAttribute"); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Generator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Generator.cs deleted file mode 100644 index 9ff18d7bf..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/Generator.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Controllers -{ - [Generator] - public class ControllerGenerator : BaseGenerator - { - protected override string GeneratorName => nameof(ControllerGenerator); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/TypeProcessor.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/TypeProcessor.cs deleted file mode 100644 index 266e4a018..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/TypeProcessor.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using System.Linq; -using System.Text; - -namespace TfsCmdlets.SourceGenerators.Generators.Controllers -{ - public class TypeProcessor : BaseTypeProcessor - { - private ControllerInfo _controller; - - protected override void OnInitialize() - { - try - { - _controller = new ControllerInfo(Type, Context, Logger); - } - catch(Exception ex) - { - Logger.LogError(ex, $"Error initializing ControllerInfo for {Type.FullName()}"); - Ignore = true; - } - } - - public override string GenerateCode() - { - var props = new StringBuilder(); - var cacheProps = new StringBuilder(); - var controller = _controller; - var clientProp = string.Empty; - - if(controller.Client != null) - { - clientProp = $"private {controller.Client.FullName()} Client {{ get; }}"; - } - - foreach (var prop in controller.GeneratedProperties.Values) - { - props.Append(prop.ToString()); - - if (prop.IsHidden || prop.Name.Equals("Items") || - prop.IsScope || (controller.Verb.Equals("Get") && - controller.DeclaredProperties.Count > 0 && - !controller.SkipGetProperty && - controller.DeclaredProperties.Values.First().Name.Equals(prop.Name))) continue; - - var type = prop.Type.ToString().EndsWith("SwitchParameter") ? "bool" : prop.Type.ToString(); - var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; - - cacheProps.Append($" // {prop.Name}\n"); - cacheProps.Append($" Has_{prop.Name} = Parameters.HasParameter(\"{prop.Name}\");\n"); - cacheProps.Append($" {prop.Name} = Parameters.Get<{type}>(\"{prop.Name}\"{initializer});\n\n"); - } - - return $@"{controller.Usings} - -namespace {controller.Namespace} -{{ - internal partial class {controller.Name}: {controller.BaseClassName} - {{ - {clientProp} - -{props} - - protected override void CacheParameters() - {{ -{cacheProps} - }} - - [ImportingConstructor] - public {controller.Name}({controller.CtorArgs}) - : base({controller.BaseCtorArgs}) - {{ -{controller.ImportingConstructorBody} - }} - }} -}} -"; - } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs index 1fb9dcb61..762c582be 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs @@ -7,10 +7,10 @@ namespace TfsCmdlets.SourceGenerators.Generators.HttpClients { - public class HttpClientInfo : GeneratorState + public record HttpClientInfo : GeneratorState { - internal HttpClientInfo(INamedTypeSymbol symbol, GeneratorExecutionContext context, Logger logger) - : base(symbol, logger) + internal HttpClientInfo(INamedTypeSymbol symbol, GeneratorExecutionContext context) + : base(symbol) { OriginalType = symbol.GetAttributeConstructorValue("HttpClientAttribute"); Methods = OriginalType @@ -34,5 +34,74 @@ internal IEnumerable GenerateMethods() yield return new GeneratedMethod(method); } } + + private string GetInterfaceBody() + { + var sb = new StringBuilder(); + + foreach (var method in GenerateMethods()) + { + sb.Append($"\t\t{method}"); + sb.AppendLine(";"); + } + + return sb.ToString(); + } + + private string GetClassBody() + { + var sb = new StringBuilder(); + + foreach (var method in GenerateMethods()) + { + sb.Append($"\t\t{method.ToString($"\t\t\t=> Client.{method.Name}{method.SignatureNamesOnly};")}"); + } + + return sb.ToString(); + } + + public override string GenerateCode() + { + return $$""" + using System.Composition; + + namespace {{Namespace}} + { + public partial interface {{Name}}: IVssHttpClient + { + {{GetInterfaceBody()}} + } + + [Export(typeof({{Name}}))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class {{Name}}Impl: {{Name}} + { + private {{OriginalType}} _client; + + protected IDataManager Data { get; } + + [ImportingConstructor] + public {{Name}}Impl(IDataManager data) + { + Data = data; + } + + private {{OriginalType}} Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{OriginalType}})) as {{OriginalType}}; + } + return _client; + } + } + + {{GetClassBody()}} + } + } + """; + } } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs index e173811d5..43b85037b 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs @@ -11,7 +11,7 @@ protected override void OnInitialize() { try { - _client = new HttpClientInfo(Type, Context, Logger); + _client = new HttpClientInfo(Type, Context); } catch (Exception ex) { @@ -19,77 +19,7 @@ protected override void OnInitialize() Ignore = true; } } - - protected string GetInterfaceBody() - { - var sb = new StringBuilder(); - - foreach (var method in _client.GenerateMethods()) - { - sb.Append($"\t\t{method}"); - sb.AppendLine(";"); - } - - return sb.ToString(); - } - - private string GetClassBody() - { - var sb = new StringBuilder(); - - foreach (var method in _client.GenerateMethods()) - { - sb.Append($"\t\t{method.ToString($"\t\t\t=> Client.{method.Name}{method.SignatureNamesOnly};")}"); - } - - return sb.ToString(); - } - - - public override string GenerateCode() - { - var client = _client; - - return $$""" - using System.Composition; - - namespace {{client.Namespace}} - { - public partial interface {{client.Name}}: IVssHttpClient - { - {{GetInterfaceBody()}} - } - - [Export(typeof({{client.Name}}))] - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal class {{client.Name}}Impl: {{client.Name}} - { - private {{client.OriginalType}} _client; - - protected IDataManager Data { get; } - - [ImportingConstructor] - public {{client.Name}}Impl(IDataManager data) - { - Data = data; - } - - private {{client.OriginalType}} Client - { - get - { - if(_client == null) - { - _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{client.OriginalType}})) as {{client.OriginalType}}; - } - return _client; - } - } - - {{GetClassBody()}} - } - } - """; - } + + public override string GenerateCode() => _client.GenerateCode(); } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/HashCode.cs b/CSharp/TfsCmdlets.SourceGenerators/HashCode.cs new file mode 100644 index 000000000..2fe9bbcf4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/HashCode.cs @@ -0,0 +1,390 @@ +#nullable enable +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace TfsCmdlets.SourceGenerators +{ + /// + /// Polyfill for .NET 6 HashCode + /// + internal struct HashCode + { + private static readonly uint s_seed = GenerateGlobalSeed(); + + private const uint Prime1 = 2654435761U; + private const uint Prime2 = 2246822519U; + private const uint Prime3 = 3266489917U; + private const uint Prime4 = 668265263U; + private const uint Prime5 = 374761393U; + + private uint _v1, _v2, _v3, _v4; + private uint _queue1, _queue2, _queue3; + private uint _length; + + private static uint GenerateGlobalSeed() + { + var buffer = new byte[sizeof(uint)]; + new Random().NextBytes(buffer); + return BitConverter.ToUInt32(buffer, 0); + } + + public static int Combine(T1 value1) + { + // Provide a way of diffusing bits from something with a limited + // input hash space. For example, many enums only have a few + // possible hashes, only using the bottom few bits of the code. Some + // collections are built on the assumption that hashes are spread + // over a larger space, so diffusing the bits may help the + // collection work more efficiently. + + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + + uint hash = MixEmptyState(); + hash += 4; + + hash = QueueRound(hash, hc1); + + hash = MixFinal(hash); + return (int)hash; + } + + public static int Combine(T1 value1, T2 value2) + { + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + uint hc2 = (uint)(value2?.GetHashCode() ?? 0); + + uint hash = MixEmptyState(); + hash += 8; + + hash = QueueRound(hash, hc1); + hash = QueueRound(hash, hc2); + + hash = MixFinal(hash); + return (int)hash; + } + + public static int Combine(T1 value1, T2 value2, T3 value3) + { + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + uint hc2 = (uint)(value2?.GetHashCode() ?? 0); + uint hc3 = (uint)(value3?.GetHashCode() ?? 0); + + uint hash = MixEmptyState(); + hash += 12; + + hash = QueueRound(hash, hc1); + hash = QueueRound(hash, hc2); + hash = QueueRound(hash, hc3); + + hash = MixFinal(hash); + return (int)hash; + } + + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4) + { + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + uint hc2 = (uint)(value2?.GetHashCode() ?? 0); + uint hc3 = (uint)(value3?.GetHashCode() ?? 0); + uint hc4 = (uint)(value4?.GetHashCode() ?? 0); + + Initialize(out uint v1, out uint v2, out uint v3, out uint v4); + + v1 = Round(v1, hc1); + v2 = Round(v2, hc2); + v3 = Round(v3, hc3); + v4 = Round(v4, hc4); + + uint hash = MixState(v1, v2, v3, v4); + hash += 16; + + hash = MixFinal(hash); + return (int)hash; + } + + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5) + { + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + uint hc2 = (uint)(value2?.GetHashCode() ?? 0); + uint hc3 = (uint)(value3?.GetHashCode() ?? 0); + uint hc4 = (uint)(value4?.GetHashCode() ?? 0); + uint hc5 = (uint)(value5?.GetHashCode() ?? 0); + + Initialize(out uint v1, out uint v2, out uint v3, out uint v4); + + v1 = Round(v1, hc1); + v2 = Round(v2, hc2); + v3 = Round(v3, hc3); + v4 = Round(v4, hc4); + + uint hash = MixState(v1, v2, v3, v4); + hash += 20; + + hash = QueueRound(hash, hc5); + + hash = MixFinal(hash); + return (int)hash; + } + + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, + T6 value6) + { + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + uint hc2 = (uint)(value2?.GetHashCode() ?? 0); + uint hc3 = (uint)(value3?.GetHashCode() ?? 0); + uint hc4 = (uint)(value4?.GetHashCode() ?? 0); + uint hc5 = (uint)(value5?.GetHashCode() ?? 0); + uint hc6 = (uint)(value6?.GetHashCode() ?? 0); + + Initialize(out uint v1, out uint v2, out uint v3, out uint v4); + + v1 = Round(v1, hc1); + v2 = Round(v2, hc2); + v3 = Round(v3, hc3); + v4 = Round(v4, hc4); + + uint hash = MixState(v1, v2, v3, v4); + hash += 24; + + hash = QueueRound(hash, hc5); + hash = QueueRound(hash, hc6); + + hash = MixFinal(hash); + return (int)hash; + } + + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, + T6 value6, T7 value7) + { + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + uint hc2 = (uint)(value2?.GetHashCode() ?? 0); + uint hc3 = (uint)(value3?.GetHashCode() ?? 0); + uint hc4 = (uint)(value4?.GetHashCode() ?? 0); + uint hc5 = (uint)(value5?.GetHashCode() ?? 0); + uint hc6 = (uint)(value6?.GetHashCode() ?? 0); + uint hc7 = (uint)(value7?.GetHashCode() ?? 0); + + Initialize(out uint v1, out uint v2, out uint v3, out uint v4); + + v1 = Round(v1, hc1); + v2 = Round(v2, hc2); + v3 = Round(v3, hc3); + v4 = Round(v4, hc4); + + uint hash = MixState(v1, v2, v3, v4); + hash += 28; + + hash = QueueRound(hash, hc5); + hash = QueueRound(hash, hc6); + hash = QueueRound(hash, hc7); + + hash = MixFinal(hash); + return (int)hash; + } + + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, + T6 value6, T7 value7, T8 value8) + { + uint hc1 = (uint)(value1?.GetHashCode() ?? 0); + uint hc2 = (uint)(value2?.GetHashCode() ?? 0); + uint hc3 = (uint)(value3?.GetHashCode() ?? 0); + uint hc4 = (uint)(value4?.GetHashCode() ?? 0); + uint hc5 = (uint)(value5?.GetHashCode() ?? 0); + uint hc6 = (uint)(value6?.GetHashCode() ?? 0); + uint hc7 = (uint)(value7?.GetHashCode() ?? 0); + uint hc8 = (uint)(value8?.GetHashCode() ?? 0); + + Initialize(out uint v1, out uint v2, out uint v3, out uint v4); + + v1 = Round(v1, hc1); + v2 = Round(v2, hc2); + v3 = Round(v3, hc3); + v4 = Round(v4, hc4); + + v1 = Round(v1, hc5); + v2 = Round(v2, hc6); + v3 = Round(v3, hc7); + v4 = Round(v4, hc8); + + uint hash = MixState(v1, v2, v3, v4); + hash += 32; + + hash = MixFinal(hash); + return (int)hash; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static void Initialize(out uint v1, out uint v2, out uint v3, out uint v4) + { + v1 = s_seed + Prime1 + Prime2; + v2 = s_seed + Prime2; + v3 = s_seed; + v4 = s_seed - Prime1; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static uint Round(uint hash, uint input) + { + return RotateLeft(hash + input * Prime2, 13) * Prime1; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static uint QueueRound(uint hash, uint queuedValue) + { + return RotateLeft(hash + queuedValue * Prime3, 17) * Prime4; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static uint MixState(uint v1, uint v2, uint v3, uint v4) + { + return RotateLeft(v1, 1) + RotateLeft(v2, 7) + RotateLeft(v3, 12) + RotateLeft(v4, 18); + } + + private static uint MixEmptyState() + { + return s_seed + Prime5; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static uint MixFinal(uint hash) + { + hash ^= hash >> 15; + hash *= Prime2; + hash ^= hash >> 13; + hash *= Prime3; + hash ^= hash >> 16; + return hash; + } + + public void Add(T value) + { + Add(value?.GetHashCode() ?? 0); + } + + public void Add(T value, IEqualityComparer? comparer) + { + Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode())); + } + + private void Add(int value) + { + // The original xxHash works as follows: + // 0. Initialize immediately. We can't do this in a struct (no + // default ctor). + // 1. Accumulate blocks of length 16 (4 uints) into 4 accumulators. + // 2. Accumulate remaining blocks of length 4 (1 uint) into the + // hash. + // 3. Accumulate remaining blocks of length 1 into the hash. + + // There is no need for #3 as this type only accepts ints. _queue1, + // _queue2 and _queue3 are basically a buffer so that when + // ToHashCode is called we can execute #2 correctly. + + // We need to initialize the xxHash32 state (_v1 to _v4) lazily (see + // #0) nd the last place that can be done if you look at the + // original code is just before the first block of 16 bytes is mixed + // in. The xxHash32 state is never used for streams containing fewer + // than 16 bytes. + + // To see what's really going on here, have a look at the Combine + // methods. + + uint val = (uint)value; + + // Storing the value of _length locally shaves of quite a few bytes + // in the resulting machine code. + uint previousLength = _length++; + uint position = previousLength % 4; + + // Switch can't be inlined. + + if (position == 0) + _queue1 = val; + else if (position == 1) + _queue2 = val; + else if (position == 2) + _queue3 = val; + else // position == 3 + { + if (previousLength == 3) + Initialize(out _v1, out _v2, out _v3, out _v4); + + _v1 = Round(_v1, _queue1); + _v2 = Round(_v2, _queue2); + _v3 = Round(_v3, _queue3); + _v4 = Round(_v4, val); + } + } + + public int ToHashCode() + { + // Storing the value of _length locally shaves of quite a few bytes + // in the resulting machine code. + uint length = _length; + + // position refers to the *next* queue position in this method, so + // position == 1 means that _queue1 is populated; _queue2 would have + // been populated on the next call to Add. + uint position = length % 4; + + // If the length is less than 4, _v1 to _v4 don't contain anything + // yet. xxHash32 treats this differently. + + uint hash = length < 4 ? MixEmptyState() : MixState(_v1, _v2, _v3, _v4); + + // _length is incremented once per Add(Int32) and is therefore 4 + // times too small (xxHash length is in bytes, not ints). + + hash += length * 4; + + // Mix what remains in the queue + + // Switch can't be inlined right now, so use as few branches as + // possible by manually excluding impossible scenarios (position > 1 + // is always false if position is not > 0). + if (position > 0) + { + hash = QueueRound(hash, _queue1); + if (position > 1) + { + hash = QueueRound(hash, _queue2); + if (position > 2) + hash = QueueRound(hash, _queue3); + } + } + + hash = MixFinal(hash); + return (int)hash; + } + +#pragma warning disable 0809 + // Obsolete member 'memberA' overrides non-obsolete member 'memberB'. + // Disallowing GetHashCode and Equals is by design + + // * We decided to not override GetHashCode() to produce the hash code + // as this would be weird, both naming-wise as well as from a + // behavioral standpoint (GetHashCode() should return the object's + // hash code, not the one being computed). + + // * Even though ToHashCode() can be called safely multiple times on + // this implementation, it is not part of the contract. If the + // implementation has to change in the future we don't want to worry + // about people who might have incorrectly used this type. + + [Obsolete( + "HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", + error: true)] + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => throw new NotSupportedException("Hash code not supported"); + + [Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", error: true)] + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => throw new NotSupportedException("Equality not supported"); +#pragma warning restore 0809 + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static uint RotateLeft(uint value, int offset) + => (value << offset) | (value >> (32 - offset)); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 0bf0656fd..1a0e9fa05 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -7,9 +7,10 @@ - + - + + From e2b54a2d595cecee8aa8e1d6aaba2a31d7337447 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Mon, 8 Sep 2025 18:58:12 -0300 Subject: [PATCH 02/36] Update dependencies --- .../TfsCmdlets.SourceGenerators.UnitTests.csproj | 8 ++++---- .../TfsCmdlets.SourceGenerators.csproj | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index be5c21651..d2bbb431f 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -10,10 +10,10 @@ allruntime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 1a0e9fa05..057e1a040 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -8,7 +8,7 @@ - + From 32fd4b66693d5729f527e3e8105bd13b8560a86f Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 9 Sep 2025 05:10:44 -0300 Subject: [PATCH 03/36] Remove obsolete files --- .../TfsCmdlets.SourceGenerators/BaseFilter.cs | 47 ---------- .../BaseGenerator.cs | 86 ------------------- .../BaseTypeProcessor.cs | 40 --------- .../GeneratedMethod.cs | 72 ---------------- .../GeneratedProperty.cs | 43 ---------- .../GeneratorState.cs | 44 ---------- .../Generators/HttpClients/Filter.cs | 9 -- .../Generators/HttpClients/Generator.cs | 10 --- .../Generators/HttpClients/TypeProcessor.cs | 25 ------ .../Generators/Models/Filter.cs | 9 -- .../Generators/Models/Generator.cs | 10 --- .../Generators/Models/TypeProcessor.cs | 32 ------- CSharp/TfsCmdlets.SourceGenerators/IFilter.cs | 17 ---- .../TfsCmdlets.SourceGenerators/IGenerator.cs | 11 --- .../ITypeProcessor.cs | 21 ----- 15 files changed, 476 deletions(-) delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/BaseFilter.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/BaseGenerator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/BaseTypeProcessor.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/GeneratedMethod.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Filter.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Generator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Filter.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Generator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Models/TypeProcessor.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/IFilter.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/IGenerator.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/ITypeProcessor.cs diff --git a/CSharp/TfsCmdlets.SourceGenerators/BaseFilter.cs b/CSharp/TfsCmdlets.SourceGenerators/BaseFilter.cs deleted file mode 100644 index 1f4ec8fd0..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/BaseFilter.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using System.Collections.Generic; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; - -namespace TfsCmdlets.SourceGenerators -{ - public abstract class BaseFilter : IFilter - { - public IDictionary TypesToProcess { get; } = new Dictionary(); - - public abstract bool ShouldProcessType(INamedTypeSymbol type); - - protected Logger Logger { get; private set; } - - public void Initialize(Logger logger) - { - Logger = logger; - } - - public void OnVisitSyntaxNode(GeneratorSyntaxContext context) - { - if (!(context.Node is TypeDeclarationSyntax tds)) return; - - try - { - var type = (INamedTypeSymbol)context.SemanticModel.GetDeclaredSymbol(tds); - - if (type == null) - { - Logger.LogError(new Exception($"Unexpected error: Type {tds.Identifier} not found.")); - return; - } - - if (!ShouldProcessType(type)) return; - - //Logger.Log($"Found '{type.FullName()}'"); - - TypesToProcess[type.FullName()] = (type, tds); - } - catch (Exception ex) - { - Logger.LogError(ex); - } - } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/BaseGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/BaseGenerator.cs deleted file mode 100644 index e2b7aae7e..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/BaseGenerator.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Text; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; -using Microsoft.CodeAnalysis.Text; - -namespace TfsCmdlets.SourceGenerators -{ - public abstract class BaseGenerator : ISourceGenerator - where TReceiver : IFilter, new() - where TProcessor : ITypeProcessor, new() - { - protected Logger Logger { get; private set; } - - public void Initialize(GeneratorInitializationContext context) - { - Logger = new Logger(GeneratorName); - - Logger.Log($"=== Initializing generator ==="); - Logger.Log($"=== Path : {GetType().Assembly.Location}) ==="); - Logger.Log($"=== Built: {(new FileInfo(GetType().Assembly.Location)).LastWriteTime} ==="); - - context.RegisterForSyntaxNotifications(() => - { - var receiver = new TReceiver(); - return receiver; - }); - } - - public void Execute(GeneratorExecutionContext context) - { - if (!(context.SyntaxContextReceiver is TReceiver receiver)) return; - - try - { - var typesToProcess = new List<(INamedTypeSymbol, TypeDeclarationSyntax)>( - receiver.TypesToProcess?.Values ?? Enumerable.Empty<(INamedTypeSymbol, TypeDeclarationSyntax)>()); - - Logger.Log($"Preparing to generate code for {typesToProcess.Count} types"); - - foreach (var (type, cds) in typesToProcess) - { - Logger.Log($"{type.FullName()}"); - - //Logger.Log($" - Initializing type processor"); - - var processedType = new TProcessor(); - processedType.Initialize(Logger, type, cds, context); - - if (processedType.Ignore) - { - Logger.Log($" - [WARN] Ignore==true. Skipping"); - continue; - } - - if (!processedType.ClassDeclaration.IsPartial()) - { - Logger.Log($" - [WARN] Type is not marked as partial. Skipping"); - Logger.ReportDiagnostic_ClassMustBePartial(context, cds); - continue; - } - - try - { - //Logger.Log($" - Generating code"); - context.AddSource($"{processedType.FullName}.cs", SourceText.From(processedType.GenerateCode(), Encoding.UTF8)); - } - catch (Exception ex) - { - Logger.LogError(ex, $" - Error adding source '{processedType.FullName}.cs'. Aborting"); - } - } - } - catch (Exception ex) - { - Logger.LogError(ex, $"Unexpected error while generating code"); - } - } - - protected abstract string GeneratorName { get; } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/BaseTypeProcessor.cs b/CSharp/TfsCmdlets.SourceGenerators/BaseTypeProcessor.cs deleted file mode 100644 index 646395881..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/BaseTypeProcessor.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System.Linq; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp; -using Microsoft.CodeAnalysis.CSharp.Syntax; - -namespace TfsCmdlets.SourceGenerators -{ - public abstract class BaseTypeProcessor : ITypeProcessor - { - public INamedTypeSymbol Type { get; set; } - - public TypeDeclarationSyntax ClassDeclaration { get; set; } - - public GeneratorExecutionContext Context { get; set; } - - public string Name => Type.Name; - - public string FullName => Type.FullName(); - - public string Namespace => Type.FullNamespace(); - - public virtual bool Ignore { get; set; } = false; - - public abstract string GenerateCode(); - - protected abstract void OnInitialize(); - - protected Logger Logger { get; private set; } - - public void Initialize(Logger logger, INamedTypeSymbol type, TypeDeclarationSyntax cds, GeneratorExecutionContext context) - { - Type = type; - ClassDeclaration = cds; - Context = context; - Logger = logger; - - OnInitialize(); - } - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/GeneratedMethod.cs b/CSharp/TfsCmdlets.SourceGenerators/GeneratedMethod.cs deleted file mode 100644 index 96d6e93b7..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/GeneratedMethod.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators -{ - internal record GeneratedMethod - { - public GeneratedMethod(IMethodSymbol method) - { - var parms1 = new List(); - var parms2 = new List(); - - Name = method.Arity > 0 ? $"{method.Name}<{string.Join(", ", method.TypeArguments.Select(t => t.FullName()))}>" : method.Name; - ReturnType = method.ReturnType; - - foreach (var p in method.Parameters) - { - var defaultValue = p.HasExplicitDefaultValue ? - p.ExplicitDefaultValue switch - { - string s => $" = \"{s}\"", - char c => $" = '{c}'", - bool b => $" = {b.ToString().ToLower()}", - decimal d => $" = {d}m", - null => p.Type.IsValueType? $" = default({p.Type.ToDisplayString()})": " = null", - _ => $" = {p.ExplicitDefaultValue}" - } - : string.Empty; - - parms1.Add($"{p.Type.FullName()} {p.Name}{defaultValue}"); - parms2.Add(p.Name); - } - - Signature = $"({string.Join(", ", parms1)})"; - SignatureNamesOnly = $"({string.Join(", ", parms2)})"; - } - - public string SignatureNamesOnly { get; set; } - - public string Name { get; } - - public string Signature { get; } - - public ITypeSymbol ReturnType { get; } - - public override string ToString() - { - return ToString(null); - } - - public string ToString(string body) - { - var sb = new StringBuilder(); - sb.Append($"public {ReturnType.FullName()} {Name}{Signature}"); - - if (string.IsNullOrWhiteSpace(body)) return sb.ToString(); - - var isMethodBody = body.TrimStart().StartsWith("=>"); - - sb.AppendLine(); - - if (!isMethodBody) sb.AppendLine("{"); - sb.AppendLine(body); - if (!isMethodBody) sb.AppendLine("}"); - - return sb.ToString(); - } - }; -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs b/CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs deleted file mode 100644 index 19e2f7e69..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/GeneratedProperty.cs +++ /dev/null @@ -1,43 +0,0 @@ -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; -using System.Linq; - -namespace TfsCmdlets.SourceGenerators -{ - public record GeneratedProperty - { - public string Name { get; } - public string Type { get; } - public string DefaultValue { get; set; } - public bool IsHidden { get; } - public bool IsScope { get; set; } - public string GeneratedCode { get; set; } - - internal GeneratedProperty(IPropertySymbol prop, string generatedCode) - : this(prop.Name, prop.Type.ToString(), generatedCode) - { - var node = (PropertyDeclarationSyntax) prop.DeclaringSyntaxReferences.First().GetSyntax(); - var initializer = node.Initializer; - - DefaultValue = initializer?.Value.ToString(); - } - - internal GeneratedProperty(string name, string typeName, string generatedCode) - { - Name = name; - Type = typeName; - GeneratedCode = generatedCode; - } - - internal GeneratedProperty(string name, string typeName, bool isHidden, string generatedCode) - : this(name, typeName, generatedCode) - { - IsHidden = isHidden; - } - - public override string ToString() - { - return GeneratedCode; - } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs b/CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs deleted file mode 100644 index cf55187db..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/GeneratorState.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators -{ - public abstract record GeneratorState - { - protected const string HEADER = - """ - //------------------------------------------------------------------------------ - // - // This code was generated by the TfsCmdlets.SourceGenerators source generator - // - // Changes to this file may cause incorrect behavior and will be lost if - // the code is regenerated. - // - //------------------------------------------------------------------------------ - - #nullable enable - """; - - public GeneratorState(INamedTypeSymbol targetType) - { - if (targetType == null) throw new ArgumentNullException(nameof(targetType)); - - Name = targetType.Name; - Namespace = targetType.FullNamespace(); - FullName = FileName = targetType.FullName(); - } - - public string Name { get; } - - public string Namespace { get; } - - public string FullName { get; } - - public string FileName { get; } - - public EquatableArray GeneratedProperties { get; protected set; } - - public abstract string GenerateCode(); - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Filter.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Filter.cs deleted file mode 100644 index 90fd53816..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Filter.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.HttpClients -{ - public class Filter : BaseFilter - { - public override bool ShouldProcessType(INamedTypeSymbol type) => type.HasAttribute("HttpClientAttribute"); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Generator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Generator.cs deleted file mode 100644 index 5ddb5f69a..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/Generator.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.HttpClients -{ - [Generator] - public class HttpClientGenerator : BaseGenerator - { - protected override string GeneratorName => nameof(HttpClientGenerator); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs deleted file mode 100644 index 43b85037b..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/TypeProcessor.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Text; - -namespace TfsCmdlets.SourceGenerators.Generators.HttpClients -{ - public class TypeProcessor : BaseTypeProcessor - { - private HttpClientInfo _client; - - protected override void OnInitialize() - { - try - { - _client = new HttpClientInfo(Type, Context); - } - catch (Exception ex) - { - Logger.LogError(ex, $"Error initializing HttpClientInfo for {Type.FullName()}"); - Ignore = true; - } - } - - public override string GenerateCode() => _client.GenerateCode(); - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Filter.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Filter.cs deleted file mode 100644 index d08c089a7..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Filter.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Models -{ - public class Filter : BaseFilter - { - public override bool ShouldProcessType(INamedTypeSymbol type) => type.HasAttribute("ModelAttribute"); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Generator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Generator.cs deleted file mode 100644 index 5f4fcf77c..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/Generator.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Models -{ - [Generator] - public class ModelGenerator : BaseGenerator - { - protected override string GeneratorName => nameof(ModelGenerator); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/TypeProcessor.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/TypeProcessor.cs deleted file mode 100644 index ad904ba8a..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/TypeProcessor.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Linq; -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators.Generators.Models -{ - public class TypeProcessor : BaseTypeProcessor - { - public object DataType { get; set; } - - protected override void OnInitialize() - { - DataType = Type.GetAttributeConstructorValue("ModelAttribute"); ; - } - - public override string GenerateCode() - { - return $@"namespace {Namespace} -{{ -/* -InnerType: {DataType.GetType()} -*/ - public partial class {Type.Name}: ModelBase<{DataType}> - {{ - public {Type.Name}({DataType} obj): base(obj) {{ }} - public static implicit operator {Type}({DataType} obj) => new {Type}(obj); - public static implicit operator {DataType}({Type} obj) => obj.InnerObject; - }} -}} -"; - } - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/IFilter.cs b/CSharp/TfsCmdlets.SourceGenerators/IFilter.cs deleted file mode 100644 index 281651ac4..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/IFilter.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; - -namespace TfsCmdlets.SourceGenerators -{ - public interface IFilter: ISyntaxContextReceiver - { - void Initialize(Logger logger); - - IDictionary TypesToProcess { get; } - - bool ShouldProcessType(INamedTypeSymbol type); - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/IGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/IGenerator.cs deleted file mode 100644 index b54677752..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/IGenerator.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators -{ - public interface IGenerator - { - void Initialize(GeneratorExecutionContext context); - GeneratorState ProcessType(GeneratorExecutionContext context, INamedTypeSymbol type); - string Generate(GeneratorState state); - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/ITypeProcessor.cs b/CSharp/TfsCmdlets.SourceGenerators/ITypeProcessor.cs deleted file mode 100644 index 3ec05b96e..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/ITypeProcessor.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; - -namespace TfsCmdlets.SourceGenerators -{ - public interface ITypeProcessor - { - void Initialize(Logger Logger, INamedTypeSymbol type, TypeDeclarationSyntax cds, GeneratorExecutionContext context); - INamedTypeSymbol Type { get; } - TypeDeclarationSyntax ClassDeclaration { get; } - GeneratorExecutionContext Context { get; } - string Name { get; } - string FullName { get; } - string Namespace { get; } - bool Ignore { get; } - string GenerateCode(); - } -} From 56336d2fd61c1261fd6b09d14d731dad37a8557f Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 9 Sep 2025 05:11:02 -0300 Subject: [PATCH 04/36] Update clients --- .../CSharpSourceGeneratorVerifier.cs | 2 +- ...sCmdlets.SourceGenerators.UnitTests.csproj | 14 +- .../Analyzers/ClassMustBePartial.cs | 240 +++++++++--------- .../ClassInfoBase.cs | 65 +++++ .../Generators/Cmdlets/CmdletInfo.cs | 52 ++-- .../Generators/Controllers/ControllerInfo.cs | 27 +- .../HttpClients/HttpClientGenerator.cs | 30 +++ .../Generators/HttpClients/HttpClientInfo.cs | 176 +++++++------ .../Generators/HttpClients/MethodInfo.cs | 40 +++ .../Generators/Models/ModelGenerator.cs | 30 +++ .../Generators/Models/ModelInfo.cs | 43 ++++ .../TfsCmdlets.SourceGenerators/HashCode.cs | 9 +- CSharp/TfsCmdlets.SourceGenerators/Logger.cs | 62 ++--- .../TfsCmdlets.SourceGenerators/MethodInfo.cs | 74 ++++++ .../PropertyInfo.cs | 48 ++++ .../TfsCmdlets.SourceGenerators.csproj | 11 +- .../TfsCmdlets.Tests.UnitTests.csproj | 21 +- .../HttpClients/HttpClientAttribute.cs | 2 +- CSharp/TfsCmdlets/TfsCmdlets.csproj | 22 +- 19 files changed, 663 insertions(+), 305 deletions(-) create mode 100644 CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/MethodInfo.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs index b679873e4..f26feac9a 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs @@ -7,7 +7,7 @@ namespace TfsCmdlets.SourceGenerators.UnitTests { public static class CSharpSourceGeneratorVerifier - where TSourceGenerator : ISourceGenerator, new() + where TSourceGenerator : IIncrementalGenerator, new() { public class Test : CSharpSourceGeneratorTest { diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index d2bbb431f..013226920 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -9,15 +9,15 @@ - allruntime; build; native; contentfiles; analyzers; buildtransitive - - - - + allruntime; build; native; contentfiles; analyzers; buildtransitive + + + + - - + + diff --git a/CSharp/TfsCmdlets.SourceGenerators/Analyzers/ClassMustBePartial.cs b/CSharp/TfsCmdlets.SourceGenerators/Analyzers/ClassMustBePartial.cs index 21dced417..196d7270b 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Analyzers/ClassMustBePartial.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Analyzers/ClassMustBePartial.cs @@ -1,120 +1,120 @@ -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Diagnostics; -using System.Linq; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; -using Microsoft.CodeAnalysis.Diagnostics; - -namespace TfsCmdlets.SourceGenerators.Analyzers -{ - /// - /// Analyzer for "Class must be partial" - /// - [DiagnosticAnalyzer(LanguageNames.CSharp)] - public class ClassMustBePartialAnalyzer : DiagnosticAnalyzer - { - public override ImmutableArray SupportedDiagnostics { get; } - = ImmutableArray.Create(DiagnosticDescriptors.ClassMustBePartial); - - public override void Initialize(AnalysisContext context) - { - context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None); - context.EnableConcurrentExecution(); - - context.RegisterSymbolAction(AnalyzeNamedType, SymbolKind.NamedType); - } - - private static void AnalyzeNamedType(SymbolAnalysisContext context) - { - var type = (INamedTypeSymbol)context.Symbol; - var filters = GetFilters().ToList(); - - foreach (var declaringSyntaxReference in type.DeclaringSyntaxReferences) - { - if (!(declaringSyntaxReference.GetSyntax() is TypeDeclarationSyntax cds)) continue; - if (cds.IsPartial()) continue; - if (!filters.Any(filter => filter.ShouldProcessType(type))) continue; - - var error = Diagnostic.Create(DiagnosticDescriptors.ClassMustBePartial, - cds.Identifier.GetLocation(), - type.Name, - DiagnosticSeverity.Error); - - Debug.WriteLine($"[TfsCmdlets.Analyzer] Adding {type}"); - - context.ReportDiagnostic(error); - } - } - - private static IEnumerable GetFilters() - { - return typeof(ClassMustBePartialAnalyzer).Assembly.GetTypes() - .Where(t => typeof(IFilter).IsAssignableFrom(t) && !t.IsAbstract) - .Select(Activator.CreateInstance) - .Cast(); - } - } - - ///// - ///// Code fix for "Class must be partial" - ///// - //[ExportCodeFixProvider(LanguageNames.CSharp)] - //public class ClassMustBePartialCodeFix : CodeFixProvider - //{ - // public override ImmutableArray FixableDiagnosticIds { get; } - // = ImmutableArray.Create(DiagnosticDescriptors.ClassMustBePartial.Id); - - // public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer; - - // public override Task RegisterCodeFixesAsync(CodeFixContext context) - // { - // foreach (var diagnostic in context.Diagnostics) - // { - // if (diagnostic.Id != DiagnosticDescriptors.ClassMustBePartial.Id) continue; - - // var title = DiagnosticDescriptors.ClassMustBePartial.Title.ToString(); - - // var action = CodeAction.Create( - // title, - // token => AddPartialKeywordAsync(context, diagnostic, token), - // title); - // context.RegisterCodeFix(action, diagnostic); - // } - - // return Task.CompletedTask; - - // } - - // private static async Task AddPartialKeywordAsync( - // CodeFixContext context, - // Diagnostic makePartial, - // CancellationToken cancellationToken) - // { - // var root = await context.Document.GetSyntaxRootAsync(cancellationToken); - - // if (root is null) return context.Document; - - // var classDeclaration = FindClassDeclaration(makePartial, root); - // var partial = SyntaxFactory.Token(SyntaxKind.PartialKeyword); - // var newDeclaration = classDeclaration.AddModifiers(partial); - // var newRoot = root.ReplaceNode(classDeclaration, newDeclaration); - // var newDoc = context.Document.WithSyntaxRoot(newRoot); - - // return newDoc; - // } - - // private static TypeDeclarationSyntax FindClassDeclaration( - // Diagnostic makePartial, - // SyntaxNode root) - // { - // var diagnosticSpan = makePartial.Location.SourceSpan; - - // return root.FindToken(diagnosticSpan.Start) - // .Parent?.AncestorsAndSelf() - // .OfType() - // .First(); - // } - //} -} +//using System; +//using System.Collections.Generic; +//using System.Collections.Immutable; +//using System.Diagnostics; +//using System.Linq; +//using Microsoft.CodeAnalysis; +//using Microsoft.CodeAnalysis.CSharp.Syntax; +//using Microsoft.CodeAnalysis.Diagnostics; + +//namespace TfsCmdlets.SourceGenerators.Analyzers +//{ +// /// +// /// Analyzer for "Class must be partial" +// /// +// [DiagnosticAnalyzer(LanguageNames.CSharp)] +// public class ClassMustBePartialAnalyzer : DiagnosticAnalyzer +// { +// public override ImmutableArray SupportedDiagnostics { get; } +// = ImmutableArray.Create(DiagnosticDescriptors.ClassMustBePartial); + +// public override void Initialize(AnalysisContext context) +// { +// context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None); +// context.EnableConcurrentExecution(); + +// context.RegisterSymbolAction(AnalyzeNamedType, SymbolKind.NamedType); +// } + +// private static void AnalyzeNamedType(SymbolAnalysisContext context) +// { +// var type = (INamedTypeSymbol)context.Symbol; +// var filters = GetFilters().ToList(); + +// foreach (var declaringSyntaxReference in type.DeclaringSyntaxReferences) +// { +// if (!(declaringSyntaxReference.GetSyntax() is TypeDeclarationSyntax cds)) continue; +// if (cds.IsPartial()) continue; +// if (!filters.Any(filter => filter.ShouldProcessType(type))) continue; + +// var error = Diagnostic.Create(DiagnosticDescriptors.ClassMustBePartial, +// cds.Identifier.GetLocation(), +// type.Name, +// DiagnosticSeverity.Error); + +// Debug.WriteLine($"[TfsCmdlets.Analyzer] Adding {type}"); + +// context.ReportDiagnostic(error); +// } +// } + +// private static IEnumerable GetFilters() +// { +// return typeof(ClassMustBePartialAnalyzer).Assembly.GetTypes() +// .Where(t => typeof(IFilter).IsAssignableFrom(t) && !t.IsAbstract) +// .Select(Activator.CreateInstance) +// .Cast(); +// } +// } + +// ///// +// ///// Code fix for "Class must be partial" +// ///// +// //[ExportCodeFixProvider(LanguageNames.CSharp)] +// //public class ClassMustBePartialCodeFix : CodeFixProvider +// //{ +// // public override ImmutableArray FixableDiagnosticIds { get; } +// // = ImmutableArray.Create(DiagnosticDescriptors.ClassMustBePartial.Id); + +// // public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer; + +// // public override Task RegisterCodeFixesAsync(CodeFixContext context) +// // { +// // foreach (var diagnostic in context.Diagnostics) +// // { +// // if (diagnostic.Id != DiagnosticDescriptors.ClassMustBePartial.Id) continue; + +// // var title = DiagnosticDescriptors.ClassMustBePartial.Title.ToString(); + +// // var action = CodeAction.Create( +// // title, +// // token => AddPartialKeywordAsync(context, diagnostic, token), +// // title); +// // context.RegisterCodeFix(action, diagnostic); +// // } + +// // return Task.CompletedTask; + +// // } + +// // private static async Task AddPartialKeywordAsync( +// // CodeFixContext context, +// // Diagnostic makePartial, +// // CancellationToken cancellationToken) +// // { +// // var root = await context.Document.GetSyntaxRootAsync(cancellationToken); + +// // if (root is null) return context.Document; + +// // var classDeclaration = FindClassDeclaration(makePartial, root); +// // var partial = SyntaxFactory.Token(SyntaxKind.PartialKeyword); +// // var newDeclaration = classDeclaration.AddModifiers(partial); +// // var newRoot = root.ReplaceNode(classDeclaration, newDeclaration); +// // var newDoc = context.Document.WithSyntaxRoot(newRoot); + +// // return newDoc; +// // } + +// // private static TypeDeclarationSyntax FindClassDeclaration( +// // Diagnostic makePartial, +// // SyntaxNode root) +// // { +// // var diagnosticSpan = makePartial.Location.SourceSpan; + +// // return root.FindToken(diagnosticSpan.Start) +// // .Parent?.AncestorsAndSelf() +// // .OfType() +// // .First(); +// // } +// //} +//} diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs new file mode 100644 index 000000000..644ff31d3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs @@ -0,0 +1,65 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using Microsoft.CodeAnalysis; + +namespace TfsCmdlets.SourceGenerators +{ + public abstract record ClassInfoBase + { + public ClassInfoBase(INamedTypeSymbol targetType, bool includeProperties = false, bool includeMethods = false) + { + if (targetType == null) throw new ArgumentNullException(nameof(targetType)); + + Name = targetType.Name; + Namespace = targetType.FullNamespace(); + FullName = FileName = targetType.FullName(); + + Methods = includeMethods? + new EquatableArray(GetMethods(targetType).ToArray()) : + Methods = new EquatableArray(Array.Empty()); + + Properties = includeProperties ? + new EquatableArray(GetProperties(targetType).ToArray()) : + new EquatableArray(Array.Empty()); + } + + private IEnumerable GetMethods(INamedTypeSymbol targetType) + { + throw new NotImplementedException(); + } + + private IEnumerable GetProperties(INamedTypeSymbol targetType) + { + throw new NotImplementedException(); + } + + public string Name { get; } + + public string Namespace { get; } + + public string FullName { get; } + + public string FileName { get; } + + public EquatableArray Methods { get; } + + public EquatableArray Properties { get; } + + public virtual string GenerateCode() => string.Empty; + + protected const string HEADER = + """ + //------------------------------------------------------------------------------ + // + // This code was generated by the TfsCmdlets.SourceGenerators source generator + // + // Changes to this file may cause incorrect behavior and will be lost if + // the code is regenerated. + // + //------------------------------------------------------------------------------ + + #nullable enable + """; + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index 3f5d8df28..5dbe5d662 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -7,7 +7,7 @@ namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets { - public record CmdletInfo : GeneratorState + public record CmdletInfo : ClassInfoBase { public string Noun { get; private set; } public string Verb { get; private set; } @@ -28,6 +28,7 @@ public record CmdletInfo : GeneratorState public string OutputTypeAttribute { get; private set; } public string AdditionalCredentialParameterSets { get; private set; } public string Usings { get; private set; } + public EquatableArray DeclaredProperties { get; set; } public CmdletInfo(INamedTypeSymbol cmdlet) : base(cmdlet) @@ -54,10 +55,23 @@ public CmdletInfo(INamedTypeSymbol cmdlet) CmdletAttribute = GenerateCmdletAttribute(this); OutputTypeAttribute = GenerateOutputTypeAttribute(this); Usings = cmdlet.GetDeclaringSyntax().FindParentOfType()?.Usings.ToString(); - + DeclaredProperties = GetDeclaredProperties(cmdlet); + GenerateProperties(); } + private static EquatableArray GetDeclaredProperties(INamedTypeSymbol cmdlet) + { + var props = cmdlet + .GetPropertiesWithAttribute("ParameterAttribute") + .Select(p => new PropertyInfo(p, string.Empty)).ToList(); + + return new EquatableArray(props.Count > 0 ? + props.ToArray(): + Array.Empty()); + } + + private bool SetSupportsShouldProcess(INamedTypeSymbol cmdlet) { if(cmdlet.HasAttributeNamedValue("TfsCmdletAttribute", "SupportsShouldProcess")) @@ -70,7 +84,7 @@ private bool SetSupportsShouldProcess(INamedTypeSymbol cmdlet) private void GenerateProperties() { - var props = new List(); + var props = new List(); foreach (var (condition, generator, _) in _generators) { @@ -78,7 +92,7 @@ private void GenerateProperties() props.AddRange(generator(this)); } - GeneratedProperties = new EquatableArray(props.ToArray()); + GeneratedProperties = new EquatableArray(props.ToArray()); } private static string GenerateCmdletAttribute(CmdletInfo cmdlet) @@ -100,7 +114,7 @@ private static string GenerateOutputTypeAttribute(CmdletInfo cmdlet) $"\n [OutputType(typeof({cmdlet.DataType}))]"; } - private static IEnumerable GenerateScopeProperty(CmdletScope currentScope, CmdletInfo settings) + private static IEnumerable GenerateScopeProperty(CmdletScope currentScope, CmdletInfo settings) { var scopeName = currentScope.ToString(); var isGetScopedCmdlet = IsGetScopeCmdlet(settings); @@ -131,7 +145,7 @@ private static IEnumerable GenerateScopeProperty(CmdletScope yield return parm; } - private static IEnumerable GenerateCredentialProperties(CmdletInfo settings) + private static IEnumerable GenerateCredentialProperties(CmdletInfo settings) { yield return GenerateParameter("Cached", "SwitchParameter", "ParameterSetName = \"Cached credentials\", Mandatory = true", "HELP_PARAM_CACHED_CREDENTIAL"); @@ -150,42 +164,42 @@ private static IEnumerable GenerateCredentialProperties(Cmdle yield return GenerateParameter("Interactive", "SwitchParameter", "ParameterSetName = \"Prompt for credential\"", "HELP_PARAM_INTERACTIVE"); } - private static IEnumerable GenerateCustomControllerProperty(CmdletInfo settings) + private static IEnumerable GenerateCustomControllerProperty(CmdletInfo settings) { - yield return new GeneratedProperty("CommandName", "string", true, $@" + yield return new PropertyInfo("CommandName", "string", true, $@" protected override string CommandName => ""{settings.CustomControllerName}""; "); } - private static IEnumerable GenerateReturnsValueProperty(CmdletInfo settings) + private static IEnumerable GenerateReturnsValueProperty(CmdletInfo settings) { - yield return new GeneratedProperty("ReturnsValue", "bool", true, $@" + yield return new PropertyInfo("ReturnsValue", "bool", true, $@" protected override bool ReturnsValue => {settings.ReturnsValue.ToString().ToLower()}; "); } - private static IEnumerable GenerateStructureGroupProperty(CmdletInfo settings) + private static IEnumerable GenerateStructureGroupProperty(CmdletInfo settings) { - yield return new GeneratedProperty("StructureGroup", "Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup", $@" + yield return new PropertyInfo("StructureGroup", "Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup", $@" [Parameter] internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.{(settings.Name.EndsWith("Area") ? "Areas" : "Iterations")}; "); } - private static IEnumerable GenerateParameterAsList(string name, string type, string parameterAttributeValues, string helpText) + private static IEnumerable GenerateParameterAsList(string name, string type, string parameterAttributeValues, string helpText) => GenerateParameterAsList(name, type, new List<(string, string)>() { ("Parameter", parameterAttributeValues) }, helpText); - private static IEnumerable GenerateParameterAsList(string name, string type, IList<(string, string)> attributes, string helpText) + private static IEnumerable GenerateParameterAsList(string name, string type, IList<(string, string)> attributes, string helpText) { yield return GenerateParameter(name, type, attributes, helpText); } - private static GeneratedProperty GenerateParameter(string name, string type, string parameterAttributeValues, string helpText) + private static PropertyInfo GenerateParameter(string name, string type, string parameterAttributeValues, string helpText) => GenerateParameter(name, type, new List<(string, string)>() { ("Parameter", parameterAttributeValues) }, helpText); - private static GeneratedProperty GenerateParameter(string name, string type, IList<(string, string)> attributes, string helpText) - => new GeneratedProperty(name, type, $@" + private static PropertyInfo GenerateParameter(string name, string type, IList<(string, string)> attributes, string helpText) + => new PropertyInfo(name, type, $@" /// /// {helpText} /// @@ -209,8 +223,8 @@ private static bool IsPipelineProperty(CmdletScope currentScope, CmdletInfo cmdl "Cached credentials", "User name and password", "Credential object", "Personal Access Token", "Prompt for credential" }; - private static readonly List<(Predicate, Func>, string)> _generators = - new List<(Predicate, Func>, string)>() + private static readonly List<(Predicate, Func>, string)> _generators = + new List<(Predicate, Func>, string)>() { // Basic properties diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index 984b80c0a..9651e623a 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -8,7 +8,7 @@ namespace TfsCmdlets.SourceGenerators.Generators.Controllers { - public record ControllerInfo : GeneratorState + public record ControllerInfo : ClassInfoBase { public CmdletInfo CmdletInfo { get; private set; } public string CmdletClass {get;} @@ -21,9 +21,6 @@ public record ControllerInfo : GeneratorState public string CmdletName { get; } public string Cmdlet { get; } public string Usings { get; } - public EquatableArray DeclaredProperties { get; } - public EquatableArray ImplicitProperties { get; } - private bool SkipGetProperty { get; } private string ImportingConstructorBody { get; } private string CtorArgs { get; } @@ -113,10 +110,7 @@ protected override void CacheParameters() private string GenerateUsings() { - return $@" -// {CmdletInfo?.Name} -{CmdletInfo?.Usings} -"; + return CmdletInfo?.Usings ?? "using System;"; } private string GenerateClientProperty() @@ -126,8 +120,21 @@ private string GenerateClientProperty() private string GenerateGetInputProperty() { - return string.Empty; - } + var prop = CmdletInfo.DeclaredProperties.First(); + var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; + + return $@" // {prop.Name} + protected bool Has_{prop.Name} => Parameters.HasParameter(nameof({prop.Name})); + protected IEnumerable {prop.Name} + {{ + get + {{ + var paramValue = Parameters.Get(nameof({prop.Name}){initializer}); + if(paramValue is ICollection col) return col; + return new[] {{ paramValue }}; + }} + }}"; +} private string GenerateDeclaredProperties() { diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs new file mode 100644 index 000000000..9ad66f13c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs @@ -0,0 +1,30 @@ +using System.Linq; +using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.Text; +using TfsCmdlets.SourceGenerators.Generators.Cmdlets; + +namespace TfsCmdlets.SourceGenerators.Generators.HttpClients +{ + public class HttpClientGenerator : IIncrementalGenerator + { + public void Initialize(IncrementalGeneratorInitializationContext context) + { + var clientsToGenerate = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.HttpClients.HttpClientAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => HttpClientInfo.Create(ctx)) + .Where(static m => m is not null) + .Select((m, _) => m!); + + context.RegisterSourceOutput(clientsToGenerate, + static (spc, source) => + { + var result = source.GenerateCode(); + var filename = source.FileName; + spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); + }); + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs index 762c582be..585370468 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs @@ -1,107 +1,115 @@ -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Text; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; +using Microsoft.CodeAnalysis; namespace TfsCmdlets.SourceGenerators.Generators.HttpClients { - public record HttpClientInfo : GeneratorState + public record HttpClientInfo : ClassInfoBase { - internal HttpClientInfo(INamedTypeSymbol symbol, GeneratorExecutionContext context) + public string OriginalType { get; private set; } + + public EquatableArray Methods { get; } + + public HttpClientInfo(INamedTypeSymbol symbol) : base(symbol) { - OriginalType = symbol.GetAttributeConstructorValue("HttpClientAttribute"); - Methods = OriginalType - .GetMembersRecursively(SymbolKind.Method, "Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase") - .Cast() - .Where(m => - m.MethodKind == MethodKind.Ordinary && - m.DeclaredAccessibility == Accessibility.Public && - !m.IsOverride && - !m.HasAttribute("ObsoleteAttribute")) - .ToList(); + OriginalType = symbol.GetAttributeConstructorValue("HttpClientAttribute").FullName(); + Methods = GetMethods(); } - public INamedTypeSymbol OriginalType { get; } - public IEnumerable Methods { get; } - - internal IEnumerable GenerateMethods() + public static HttpClientInfo Create(GeneratorAttributeSyntaxContext ctx) { - foreach (var method in Methods) - { - yield return new GeneratedMethod(method); - } + if (ctx.TargetSymbol is not INamedTypeSymbol namedTypeSymbol) return null; + return new HttpClientInfo(namedTypeSymbol); } + } +} + // OriginalType = symbol.GetAttributeConstructorValue("HttpClientAttribute").FullName(); + // Methods = OriginalType + // .GetMembersRecursively(SymbolKind.Method, "Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase") + // .Cast() + // .Where(m => + // m.MethodKind == MethodKind.Ordinary && + // m.DeclaredAccessibility == Accessibility.Public && + // !m.IsOverride && + // !m.HasAttribute("ObsoleteAttribute")) + // .ToList(); + //} - private string GetInterfaceBody() - { - var sb = new StringBuilder(); + //internal IEnumerable GenerateMethods() + //{ + // foreach (var method in Methods) + // { + // yield return new GeneratedMethod(method); + // } + //} - foreach (var method in GenerateMethods()) - { - sb.Append($"\t\t{method}"); - sb.AppendLine(";"); - } + //private string GetInterfaceBody() + //{ + // var sb = new StringBuilder(); - return sb.ToString(); - } + // foreach (var method in GenerateMethods()) + // { + // sb.Append($"\t\t{method}"); + // sb.AppendLine(";"); + // } - private string GetClassBody() - { - var sb = new StringBuilder(); + // return sb.ToString(); + //} - foreach (var method in GenerateMethods()) - { - sb.Append($"\t\t{method.ToString($"\t\t\t=> Client.{method.Name}{method.SignatureNamesOnly};")}"); - } + //private string GetClassBody() + //{ + // var sb = new StringBuilder(); - return sb.ToString(); - } + // foreach (var method in GenerateMethods()) + // { + // sb.Append($"\t\t{method.ToString($"\t\t\t=> Client.{method.Name}{method.SignatureNamesOnly};")}"); + // } - public override string GenerateCode() - { - return $$""" - using System.Composition; + // return sb.ToString(); + //} + + //public override string GenerateCode() + //{ + // return string.Empty; + //return $$""" + // using System.Composition; - namespace {{Namespace}} - { - public partial interface {{Name}}: IVssHttpClient - { - {{GetInterfaceBody()}} - } + // namespace {{Namespace}} + // { + // public partial interface {{Name}}: IVssHttpClient + // { + // {{GetInterfaceBody()}} + // } - [Export(typeof({{Name}}))] - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal class {{Name}}Impl: {{Name}} - { - private {{OriginalType}} _client; + // [Export(typeof({{Name}}))] + // [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + // internal class {{Name}}Impl: {{Name}} + // { + // private {{OriginalType}} _client; - protected IDataManager Data { get; } + // protected IDataManager Data { get; } - [ImportingConstructor] - public {{Name}}Impl(IDataManager data) - { - Data = data; - } + // [ImportingConstructor] + // public {{Name}}Impl(IDataManager data) + // { + // Data = data; + // } - private {{OriginalType}} Client - { - get - { - if(_client == null) - { - _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{OriginalType}})) as {{OriginalType}}; - } - return _client; - } - } + // private {{OriginalType}} Client + // { + // get + // { + // if(_client == null) + // { + // _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{OriginalType}})) as {{OriginalType}}; + // } + // return _client; + // } + // } - {{GetClassBody()}} - } - } - """; - } - } -} + // {{GetClassBody()}} + // } + // } + // """; + //} +// } +//} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs new file mode 100644 index 000000000..fa0e01c82 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace TfsCmdlets.SourceGenerators.Generators.HttpClients +{ + public record MethodInfo + { + public string Name { get; private set; } + public string ReturnType { get; private set; } + //public List Parameters { get; private set; } = new(); + //public bool IsAsync { get; private set; } + //public bool IsGeneric { get; private set; } + //public List GenericParameters { get; private set; } = new(); + //public bool IsVoid => ReturnType == "void" || ReturnType == "System.Threading.Tasks.Task"; + //public string AsyncSuffix => IsAsync && !IsVoid ? "Async" : string.Empty; + //public override string ToString() + //{ + // var sb = new StringBuilder(); + // sb.Append("public "); + // if (IsAsync && !IsVoid) + // { + // sb.Append("async "); + // } + // sb.Append(ReturnType); + // sb.Append(" "); + // sb.Append(Name); + // if (IsGeneric && GenericParameters.Count > 0) + // { + // sb.Append("<"); + // sb.Append(string.Join(", ", GenericParameters)); + // sb.Append(">"); + // } + // sb.Append("("); + // sb.Append(string.Join(", ", Parameters)); + // sb.Append(")"); + // return sb.ToString(); + //} + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs new file mode 100644 index 000000000..4c8dfc207 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs @@ -0,0 +1,30 @@ +using System.Linq; +using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.Text; +using TfsCmdlets.SourceGenerators.Generators.Cmdlets; + +namespace TfsCmdlets.SourceGenerators.Generators.Models +{ + public class ModelGenerator : IIncrementalGenerator + { + public void Initialize(IncrementalGeneratorInitializationContext context) + { + var cmdletsToGenerate = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.ModelAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => ModelInfo.Create(ctx)) + .Where(static m => m is not null) + .Select((m, _) => m!); + + context.RegisterSourceOutput(cmdletsToGenerate, + static (spc, source) => + { + var result = source.GenerateCode(); + var filename = source.FileName; + spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); + }); + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs new file mode 100644 index 000000000..bdeb4acc4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Microsoft.CodeAnalysis; + +namespace TfsCmdlets.SourceGenerators.Generators.Models +{ + public record ModelInfo: ClassInfoBase + { + public ModelInfo(INamedTypeSymbol namedTypeSymbol) : base(namedTypeSymbol) { } + + public string ModelType { get; set; } + public string DataType { get; private set; } + + public static ModelInfo Create(GeneratorAttributeSyntaxContext ctx) + { + if (ctx.TargetSymbol is not INamedTypeSymbol symbol) return null; + + return new ModelInfo(symbol) + { + ModelType = symbol.FullName(), + DataType = symbol.GetAttributeConstructorValue("ModelAttribute").FullName() + }; + } + + public override string GenerateCode() + { + return $@"namespace {Namespace} +{{ +/* +InnerType: {DataType.GetType()} +*/ + public partial class {Name}: ModelBase<{DataType}> + {{ + public {Name}({DataType} obj): base(obj) {{ }} + public static implicit operator {ModelType}({DataType} obj) => new {ModelType}(obj); + public static implicit operator {DataType}({ModelType} obj) => obj.InnerObject; + }} +}} +"; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/HashCode.cs b/CSharp/TfsCmdlets.SourceGenerators/HashCode.cs index 2fe9bbcf4..5d5cffd05 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/HashCode.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/HashCode.cs @@ -11,7 +11,7 @@ namespace TfsCmdlets.SourceGenerators /// internal struct HashCode { - private static readonly uint s_seed = GenerateGlobalSeed(); + private static readonly uint s_seed = 1370190742U; private const uint Prime1 = 2654435761U; private const uint Prime2 = 2246822519U; @@ -23,13 +23,6 @@ internal struct HashCode private uint _queue1, _queue2, _queue3; private uint _length; - private static uint GenerateGlobalSeed() - { - var buffer = new byte[sizeof(uint)]; - new Random().NextBytes(buffer); - return BitConverter.ToUInt32(buffer, 0); - } - public static int Combine(T1 value1) { // Provide a way of diffusing bits from something with a limited diff --git a/CSharp/TfsCmdlets.SourceGenerators/Logger.cs b/CSharp/TfsCmdlets.SourceGenerators/Logger.cs index 6f3e60861..fc21d1623 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Logger.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Logger.cs @@ -1,39 +1,39 @@ -using System; -using System.Diagnostics; -using System.Linq; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; +//using System; +//using System.Diagnostics; +//using System.Linq; +//using Microsoft.CodeAnalysis; +//using Microsoft.CodeAnalysis.CSharp.Syntax; -namespace TfsCmdlets.SourceGenerators -{ - public class Logger - { - private readonly Guid _instanceId = Guid.NewGuid(); - private readonly string _generatorName; +//namespace TfsCmdlets.SourceGenerators +//{ +// public class Logger +// { +// private readonly Guid _instanceId = Guid.NewGuid(); +// private readonly string _generatorName; - public Logger(string generatorName) - { - _generatorName = generatorName; - } +// public Logger(string generatorName) +// { +// _generatorName = generatorName; +// } - [Conditional("DEBUG")] - internal void Log(string message) => Debug.WriteLine($"[TfsCmdlets.SourceGenerators {_instanceId}] [{_generatorName}] {message}"); +// [Conditional("DEBUG")] +// internal void Log(string message) => Debug.WriteLine($"[TfsCmdlets.SourceGenerators {_instanceId}] [{_generatorName}] {message}"); - [Conditional("DEBUG")] - internal void LogError(Exception ex) => Log($"[ERROR] {ex}"); +// [Conditional("DEBUG")] +// internal void LogError(Exception ex) => Log($"[ERROR] {ex}"); - [Conditional("DEBUG")] - internal void LogError(Exception ex, string msg) => Log($"[ERROR] {msg} ({ex})"); +// [Conditional("DEBUG")] +// internal void LogError(Exception ex, string msg) => Log($"[ERROR] {msg} ({ex})"); - internal void ReportDiagnostic_ClassMustBePartial(GeneratorExecutionContext context, TypeDeclarationSyntax cds) - => context.ReportDiagnostic(Diagnostic.Create(DiagnosticDescriptors.ClassMustBePartial, - cds.Identifier.GetLocation(), - cds.Identifier)); +// internal void ReportDiagnostic_ClassMustBePartial(GeneratorExecutionContext context, TypeDeclarationSyntax cds) +// => context.ReportDiagnostic(Diagnostic.Create(DiagnosticDescriptors.ClassMustBePartial, +// cds.Identifier.GetLocation(), +// cds.Identifier)); - internal void ReportDiagnostic(DiagnosticDescriptor descriptor, GeneratorExecutionContext context, ISymbol symbol) - => ReportDiagnostic(descriptor, context, symbol.DeclaringSyntaxReferences.First().GetSyntax().GetLocation(), symbol.Name); +// internal void ReportDiagnostic(DiagnosticDescriptor descriptor, GeneratorExecutionContext context, ISymbol symbol) +// => ReportDiagnostic(descriptor, context, symbol.DeclaringSyntaxReferences.First().GetSyntax().GetLocation(), symbol.Name); - internal void ReportDiagnostic(DiagnosticDescriptor descriptor, GeneratorExecutionContext context, Location location, params object[] args) - => context.ReportDiagnostic(Diagnostic.Create(descriptor, location, args)); - } -} +// internal void ReportDiagnostic(DiagnosticDescriptor descriptor, GeneratorExecutionContext context, Location location, params object[] args) +// => context.ReportDiagnostic(Diagnostic.Create(descriptor, location, args)); +// } +//} diff --git a/CSharp/TfsCmdlets.SourceGenerators/MethodInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/MethodInfo.cs new file mode 100644 index 000000000..4fd74ef2a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/MethodInfo.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Microsoft.CodeAnalysis; + +namespace TfsCmdlets.SourceGenerators +{ + public record MethodInfo + { + public string SignatureNamesOnly { get; set; } + + public string Name { get; } + + public string Signature { get; } + + public string ReturnType { get; } + + public MethodInfo(IMethodSymbol method) + { + var parms1 = new List(); + var parms2 = new List(); + + Name = method.Arity > 0 ? + $"{method.Name}<{string.Join(", ", method.TypeArguments.Select(t => t.FullName()))}>" : + method.Name; + ReturnType = method.ReturnType.FullName(); + + foreach (var p in method.Parameters) + { + var defaultValue = p.HasExplicitDefaultValue ? + p.ExplicitDefaultValue switch + { + string s => $" = \"{s}\"", + char c => $" = '{c}'", + bool b => $" = {b.ToString().ToLower()}", + decimal d => $" = {d}m", + null => p.Type.IsValueType? $" = default({p.Type.ToDisplayString()})": " = null", + _ => $" = {p.ExplicitDefaultValue}" + } + : string.Empty; + + parms1.Add($"{p.Type.FullName()} {p.Name}{defaultValue}"); + parms2.Add(p.Name); + } + + Signature = $"({string.Join(", ", parms1)})"; + SignatureNamesOnly = $"({string.Join(", ", parms2)})"; + } + + public override string ToString() + { + return ToString(null); + } + + public string ToString(string body) + { + var sb = new StringBuilder(); + sb.Append($"public {ReturnType} {Name}{Signature}"); + + if (string.IsNullOrWhiteSpace(body)) return sb.ToString(); + + var isMethodBody = body.TrimStart().StartsWith("=>"); + + sb.AppendLine(); + + if (!isMethodBody) sb.AppendLine("{"); + sb.AppendLine(body); + if (!isMethodBody) sb.AppendLine("}"); + + return sb.ToString(); + } + }; +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs new file mode 100644 index 000000000..86159bb06 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs @@ -0,0 +1,48 @@ +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp.Syntax; +using System.Linq; + +namespace TfsCmdlets.SourceGenerators +{ + public record PropertyInfo + { + public string Name { get; } + + public string Type { get; } + + public string DefaultValue { get; set; } + + public bool IsHidden { get; } + + public bool IsScope { get; set; } + + public string GeneratedCode { get; set; } + + public PropertyInfo(IPropertySymbol prop, string generatedCode) + : this(prop.Name, prop.Type.ToString(), generatedCode) + { + var node = (PropertyDeclarationSyntax) prop.DeclaringSyntaxReferences.First().GetSyntax(); + var initializer = node.Initializer; + + DefaultValue = initializer?.Value.ToString(); + } + + public PropertyInfo(string name, string typeName, string generatedCode) + { + Name = name; + Type = typeName; + GeneratedCode = generatedCode; + } + + public PropertyInfo(string name, string typeName, bool isHidden, string generatedCode) + : this(name, typeName, generatedCode) + { + IsHidden = isHidden; + } + + public override string ToString() + { + return GeneratedCode; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 057e1a040..ced0fca81 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -4,14 +4,15 @@ netstandard2.0 true 11.0 + true - - - - - + + + + + diff --git a/CSharp/TfsCmdlets.Tests.UnitTests/TfsCmdlets.Tests.UnitTests.csproj b/CSharp/TfsCmdlets.Tests.UnitTests/TfsCmdlets.Tests.UnitTests.csproj index 1c7629e72..e7e71c4cf 100644 --- a/CSharp/TfsCmdlets.Tests.UnitTests/TfsCmdlets.Tests.UnitTests.csproj +++ b/CSharp/TfsCmdlets.Tests.UnitTests/TfsCmdlets.Tests.UnitTests.csproj @@ -2,23 +2,28 @@ netcoreapp3.1 + true + true - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/CSharp/TfsCmdlets/HttpClients/HttpClientAttribute.cs b/CSharp/TfsCmdlets/HttpClients/HttpClientAttribute.cs index 62f31e6fc..53005de99 100644 --- a/CSharp/TfsCmdlets/HttpClients/HttpClientAttribute.cs +++ b/CSharp/TfsCmdlets/HttpClients/HttpClientAttribute.cs @@ -1,6 +1,6 @@ namespace TfsCmdlets.HttpClients { - internal class HttpClientAttribute : Attribute + public class HttpClientAttribute : Attribute { public HttpClientAttribute(Type type) { diff --git a/CSharp/TfsCmdlets/TfsCmdlets.csproj b/CSharp/TfsCmdlets/TfsCmdlets.csproj index 41fc1d5f7..dc122874d 100644 --- a/CSharp/TfsCmdlets/TfsCmdlets.csproj +++ b/CSharp/TfsCmdlets/TfsCmdlets.csproj @@ -21,22 +21,22 @@ - - - - - - - + + + + + + + - - + + - + @@ -44,7 +44,7 @@ - + From 84101ad7a0727086aab578d01b53898ca0ffc56a Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Fri, 12 Sep 2025 02:54:45 -0300 Subject: [PATCH 05/36] Refactor tests --- .../CSharpSourceGeneratorVerifier.cs | 42 -------- .../Resolve_Default_Value_Namespace.cs | 97 ----------------- .../HttpClientGenerator/Can_Create_Client.cs | 23 ++++ .../ModuleInitializer.cs | 18 ++++ .../RoslynReferenceHelper.cs | 37 +++++++ .../TestBase.cs | 0 .../TestHelper.cs | 40 +++++++ ...sCmdlets.SourceGenerators.UnitTests.csproj | 73 ++++++++----- .../HttpClientAttribute.verified.cs | 15 +++ ...ts.IAccountLicensingHttpClient.verified.cs | 100 ++++++++++++++++++ 10 files changed, 279 insertions(+), 166 deletions(-) delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Resolve_Default_Value_Namespace.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/ModuleInitializer.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestBase.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs deleted file mode 100644 index f26feac9a..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/CSharpSourceGeneratorVerifier.cs +++ /dev/null @@ -1,42 +0,0 @@ -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp; -using Microsoft.CodeAnalysis.CSharp.Testing; -using Microsoft.CodeAnalysis.Testing; -using System.Collections.Immutable; - -namespace TfsCmdlets.SourceGenerators.UnitTests -{ - public static class CSharpSourceGeneratorVerifier - where TSourceGenerator : IIncrementalGenerator, new() - { - public class Test : CSharpSourceGeneratorTest - { - public Test() - { - } - - protected override CompilationOptions CreateCompilationOptions() - { - var compilationOptions = base.CreateCompilationOptions(); - return compilationOptions.WithSpecificDiagnosticOptions( - compilationOptions.SpecificDiagnosticOptions.SetItems(GetNullableWarningsFromCompiler())); - } - - public LanguageVersion LanguageVersion { get; set; } = LanguageVersion.Default; - - private static ImmutableDictionary GetNullableWarningsFromCompiler() - { - string[] args = { "/warnaserror:nullable" }; - var commandLineArguments = CSharpCommandLineParser.Default.Parse(args, baseDirectory: Environment.CurrentDirectory, sdkDirectory: Environment.CurrentDirectory); - var nullableWarnings = commandLineArguments.CompilationOptions.SpecificDiagnosticOptions; - - return nullableWarnings; - } - - protected override ParseOptions CreateParseOptions() - { - return ((CSharpParseOptions)base.CreateParseOptions()).WithLanguageVersion(LanguageVersion); - } - } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Resolve_Default_Value_Namespace.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Resolve_Default_Value_Namespace.cs deleted file mode 100644 index bdc64e2db..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Resolve_Default_Value_Namespace.cs +++ /dev/null @@ -1,97 +0,0 @@ -using Microsoft.CodeAnalysis.Text; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TfsCmdlets.SourceGenerators.Generators.Controllers; -using Xunit; -using VerifyCS = TfsCmdlets.SourceGenerators.UnitTests.CSharpSourceGeneratorVerifier; - -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers -{ - public class Resolve_Default_Value_Namespace - { - [Fact] - public async Task Can_Resolve_Enum_Namespaces() - { - var code = """ - using Microsoft.TeamFoundation.WorkItemTracking.WebApi; - using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; - - namespace TfsCmdlets.Cmdlets.WorkItem.Field - { - /// - /// Gets information from one or more process templates. - /// - [TfsCmdlet(CmdletScope.Collection, OutputType = typeof(WorkItemField))] - partial class NewWorkItemField - { - /// - /// Specifies the type of the field. - /// - [Parameter] - public FieldType Type { get; set; } = FieldType.String; - } - } - """; - - var generated = """ - namespace TfsCmdlets.Cmdlets.WorkItem.Field - { - internal partial class NewWorkItemFieldController: ControllerBase - { - // Type - protected bool Has_Type { get; set; } - protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldType Type { get; set; } - - // Passthru - protected bool Has_Passthru {get;set;} // => Parameters.HasParameter("Passthru"); - protected bool Passthru {get;set;} // => _Passthru; // Parameters.Get("Passthru"); - - // Collection - protected bool Has_Collection => Parameters.HasParameter("Collection"); - protected Models.Connection Collection => Data.GetCollection(); - - // Server - protected bool Has_Server => Parameters.HasParameter("Server"); - protected Models.Connection Server => Data.GetServer(); - - // ParameterSetName - protected bool Has_ParameterSetName {get;set;} - protected string ParameterSetName {get;set;} - - - protected override void CacheParameters() - { - // Field - Has_Field = Parameters.HasParameter("Field"); - Field = Parameters.Get("Field"); - - // ReferenceName - Has_ReferenceName = Parameters.HasParameter("ReferenceName"); - ReferenceName = Parameters.Get("ReferenceName"); - - // Description - Has_Description = Parameters.HasParameter("Description"); - Description = Parameters.Get("Description"); - - // Type - Has_Type = Parameters.HasParameter("Type"); - Type = Parameters.Get("Type", FieldType.String); - """; - - await new VerifyCS.Test - { - TestState = - { - Sources = { code }, - GeneratedSources = - { - (typeof(ControllerGenerator), "NewWorkItemFieldController.cs", SourceText.From(generated, Encoding.UTF8, SourceHashAlgorithm.Sha256)), - }, - }, - }.RunAsync(); - } - } -} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs new file mode 100644 index 000000000..91797c89a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs @@ -0,0 +1,23 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.HttpClientGenerator; + +public partial class HttpClientGeneratorTests +{ + [Fact] + public async Task Can_Create_Client() + { + var source = """ + using Microsoft.VisualStudio.Services.Licensing.Client; + + namespace TfsCmdlets.HttpClients + { + [HttpClient(typeof(AccountLicensingHttpClient))] + partial interface IAccountLicensingHttpClient + { + } + } + """; + + await TestHelper.Verify(nameof(Can_Create_Client), source); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/ModuleInitializer.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/ModuleInitializer.cs new file mode 100644 index 000000000..39f86620b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/ModuleInitializer.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; + +namespace TfsCmdlets.SourceGenerators.UnitTests +{ + public static class ModuleInitializer + { + [ModuleInitializer] + public static void Init() + { + VerifySourceGenerators.Initialize(); + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs new file mode 100644 index 000000000..afad0ccfd --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs @@ -0,0 +1,37 @@ +using System.Reflection; +using System.Runtime.Loader; +using Microsoft.CodeAnalysis; + +namespace TfsCmdlets.SourceGenerators.UnitTests +{ + public static class RoslynReferenceHelper + { + public static List LoadReferences() + { + // 1) Starts with assemblies already loaded + var set = new HashSet(StringComparer.OrdinalIgnoreCase); + var loaded = AppDomain.CurrentDomain.GetAssemblies() + .Where(a => !a.IsDynamic && !string.IsNullOrWhiteSpace(a.Location)) + .Select(a => a.Location); + + foreach (var loc in loaded) + set.Add(loc); + + // 2) Adds assemblies found in the output folder + var baseDir = AppContext.BaseDirectory; + if (!string.IsNullOrEmpty(baseDir) && Directory.Exists(baseDir)) + { + foreach (var dll in Directory.GetFiles(baseDir, "*.dll")) + set.Add(Path.GetFullPath(dll)); + } + + // Creates metadata references for all assemblies found + var references = set + .Where(File.Exists) + .Select(p => MetadataReference.CreateFromFile(p)) + .ToList(); + + return references; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestBase.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestBase.cs new file mode 100644 index 000000000..e69de29bb diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs new file mode 100644 index 000000000..f18e92947 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs @@ -0,0 +1,40 @@ +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; + +namespace TfsCmdlets.SourceGenerators.UnitTests +{ + internal static class TestHelper + { + private static readonly List _References = RoslynReferenceHelper.LoadReferences(); + + internal static Task Verify(string testName, string source) + where T : IIncrementalGenerator, new() + { + // Parse the provided string into a C# syntax tree + var syntaxTree = CSharpSyntaxTree.ParseText(source); + + // Create a Roslyn compilation for the syntax tree. + var compilation = CSharpCompilation.Create( + assemblyName: "TfsCmdlets_SrcGen_Tests", + syntaxTrees: [syntaxTree], + references: _References); + + // Create an instance of the source generator + var generator = new T(); + + // The GeneratorDriver is used to run our generator against a compilation + var driver = CSharpGeneratorDriver + .Create(generator) + .RunGenerators(compilation); + + var settings = new VerifySettings(); + settings.UseUniqueDirectory(); + //settings.UseSplitModeForUniqueDirectory(); + settings.UseDirectory($"_Verify/{generator.GetType().Name}"); + settings.UseFileName(testName); + + // Use verify to snapshot test the source generator output! + return Verifier.Verify(driver, settings); + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index 013226920..f1f3fa5d4 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -1,35 +1,54 @@  - - net8.0 - enable - enable - false - true - + + net8.0 + enable + enable + false + true + - - allruntime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + + + + + + + + - - - + + + - - - + + + + + + + + + + + diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs new file mode 100644 index 000000000..a75f4a843 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs @@ -0,0 +1,15 @@ +//HintName: HttpClientAttribute.cs +using System; + +namespace TfsCmdlets +{ + public class HttpClientAttribute : Attribute + { + public HttpClientAttribute(Type type) + { + Type = type; + } + + public Type Type { get; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs new file mode 100644 index 000000000..3e1df3746 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs @@ -0,0 +1,100 @@ +//HintName: TfsCmdlets.HttpClients.IAccountLicensingHttpClient.cs +using System.Composition; +using Microsoft.VisualStudio.Services.Licensing.Client; + +namespace TfsCmdlets.HttpClients +{ + public partial interface IAccountLicensingHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task> ComputeExtensionRightsAsync(System.Collections.Generic.IEnumerable extensionIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetExtensionRightsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountLicensesUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(int top, int skip = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchMemberAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, bool createIfNotExists, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AssignEntitlementAsync(System.Guid userId, Microsoft.VisualStudio.Services.Licensing.License license, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AssignAvailableEntitlementAsync(System.Guid userId, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); + public bool IsDisposed(); + public void Dispose(); + + } + + [Export(typeof(IAccountLicensingHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IAccountLicensingHttpClientImpl: IAccountLicensingHttpClient + { + private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient _client; + + protected IDataManager Data { get; } + + [ImportingConstructor] + public IAccountLicensingHttpClientImpl(IDataManager data) + { + Data = data; + } + + private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient)) as Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient; + } + return _client; + } + } + + public System.Threading.Tasks.Task> ComputeExtensionRightsAsync(System.Collections.Generic.IEnumerable extensionIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ComputeExtensionRightsAsync(extensionIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetExtensionRightsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetExtensionRightsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountLicensesUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountLicensesUsageAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(int top, int skip = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchAccountEntitlementsAsync(continuation, filter, orderBy, userState, cancellationToken); + public System.Threading.Tasks.Task SearchMemberAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchMemberAccountEntitlementsAsync(continuation, filter, orderBy, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(userIds, userState, cancellationToken); + public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ObtainAvailableAccountEntitlementsAsync(userIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, determineRights, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, bool createIfNotExists, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, determineRights, createIfNotExists, userState, cancellationToken); + public System.Threading.Tasks.Task AssignEntitlementAsync(System.Guid userId, Microsoft.VisualStudio.Services.Licensing.License license, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AssignEntitlementAsync(userId, license, dontNotifyUser, origin, userState, cancellationToken); + public System.Threading.Tasks.Task AssignAvailableEntitlementAsync(System.Guid userId, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AssignAvailableEntitlementAsync(userId, dontNotifyUser, origin, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteEntitlementAsync(userId, userState, cancellationToken); + public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.TransferIdentityRightsAsync(userIdTransferMap, validateOnly, userState, cancellationToken); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public bool IsDisposed() + => Client.IsDisposed(); + public void Dispose() + => Client.Dispose(); + + } +} \ No newline at end of file From ef8ba5a565c5b0044ae8a4b416c444c499c8b96d Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Fri, 12 Sep 2025 02:55:01 -0300 Subject: [PATCH 06/36] Refactor source generators --- .../TfsCmdlets.SourceGenerators/ClassInfo.cs | 93 ++++++++++ .../ClassInfoBase.cs | 65 ------- .../TfsCmdlets.SourceGenerators/Extensions.cs | 2 +- .../Generators/Cmdlets/CmdletInfo.cs | 6 +- .../Generators/Controllers/ControllerInfo.cs | 2 +- .../HttpClients/HttpClientAttribute.cs | 26 +++ .../HttpClients/HttpClientGenerator.cs | 5 +- .../Generators/HttpClients/HttpClientInfo.cs | 171 ++++++++---------- .../Generators/HttpClients/MethodInfo.cs | 9 +- .../Generators/Models/ModelInfo.cs | 2 +- .../TfsCmdlets.SourceGenerators.csproj | 10 +- 11 files changed, 223 insertions(+), 168 deletions(-) create mode 100644 CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs new file mode 100644 index 000000000..e78e93bbb --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs @@ -0,0 +1,93 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Xml.Xsl; +using Microsoft.CodeAnalysis; + +namespace TfsCmdlets.SourceGenerators +{ + public record ClassInfo + { + public ClassInfo(INamedTypeSymbol targetType, + bool includeProperties = false, + bool includeMethods = false, + bool includeUsings = true, + bool recurseMethods = false, + string recurseMethodsStopAt = null) + { + if (targetType == null) throw new ArgumentNullException(nameof(targetType)); + + Name = targetType.Name; + Namespace = targetType.FullNamespace(); + FullName = FileName = targetType.FullName(); + + Methods = new EquatableArray(includeMethods + ? GetMethods(targetType, recurseMethods, recurseMethodsStopAt).ToArray() + : Array.Empty()); + + Properties = new EquatableArray(includeProperties + ? GetProperties(targetType).ToArray() + : Array.Empty()); + + UsingsStatements = includeUsings + ? targetType.GetUsingStatements() + : string.Empty; + } + + protected IEnumerable GetMethods(INamedTypeSymbol targetType, bool recursive = false, string? stopAt = null) + { + if (!recursive || (string.IsNullOrEmpty(stopAt))) + { + stopAt = targetType.FullName(); + } + + var methods = targetType + .GetMembersRecursively(SymbolKind.Method, stopAt) + .Cast() + .Where(m => + m.MethodKind == MethodKind.Ordinary && + m.DeclaredAccessibility == Accessibility.Public && + !m.IsOverride && + !m.HasAttribute("ObsoleteAttribute")); + + return methods.Select(m => new MethodInfo(m)); + } + + protected IEnumerable GetProperties(INamedTypeSymbol targetType) + { + throw new NotImplementedException(); + } + + public string Name { get; } + + public string Namespace { get; } + + public string FullName { get; } + + public string FileName { get; } + + public EquatableArray Methods { get; } + + public EquatableArray Properties { get; } + + public string UsingsStatements { get; } + + public virtual string GenerateCode() => string.Empty; + + public override string ToString() => FullName; + + protected const string HEADER = + """ + //------------------------------------------------------------------------------ + // + // This code was generated by the TfsCmdlets.SourceGenerators source generator + // + // Changes to this file may cause incorrect behavior and will be lost if + // the code is regenerated. + // + //------------------------------------------------------------------------------ + + #nullable enable + """; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs deleted file mode 100644 index 644ff31d3..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/ClassInfoBase.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.CodeAnalysis; - -namespace TfsCmdlets.SourceGenerators -{ - public abstract record ClassInfoBase - { - public ClassInfoBase(INamedTypeSymbol targetType, bool includeProperties = false, bool includeMethods = false) - { - if (targetType == null) throw new ArgumentNullException(nameof(targetType)); - - Name = targetType.Name; - Namespace = targetType.FullNamespace(); - FullName = FileName = targetType.FullName(); - - Methods = includeMethods? - new EquatableArray(GetMethods(targetType).ToArray()) : - Methods = new EquatableArray(Array.Empty()); - - Properties = includeProperties ? - new EquatableArray(GetProperties(targetType).ToArray()) : - new EquatableArray(Array.Empty()); - } - - private IEnumerable GetMethods(INamedTypeSymbol targetType) - { - throw new NotImplementedException(); - } - - private IEnumerable GetProperties(INamedTypeSymbol targetType) - { - throw new NotImplementedException(); - } - - public string Name { get; } - - public string Namespace { get; } - - public string FullName { get; } - - public string FileName { get; } - - public EquatableArray Methods { get; } - - public EquatableArray Properties { get; } - - public virtual string GenerateCode() => string.Empty; - - protected const string HEADER = - """ - //------------------------------------------------------------------------------ - // - // This code was generated by the TfsCmdlets.SourceGenerators source generator - // - // Changes to this file may cause incorrect behavior and will be lost if - // the code is regenerated. - // - //------------------------------------------------------------------------------ - - #nullable enable - """; - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs index 3759d88fc..fe3095a1d 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs @@ -38,7 +38,7 @@ public static T GetAttributeNamedValue(this INamedTypeSymbol symbol, string a } public static string GetUsingStatements(this INamedTypeSymbol symbol) - => symbol.GetDeclaringSyntax().FindParentOfType()?.Usings.ToString(); + => symbol.GetDeclaringSyntax()?.FindParentOfType()?.Usings.ToString(); // public static bool GetAttributeNamedValue(INamedTypeSymbol symbol, string attributeName, string argumentName, bool defaultValue = false) // { diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index 5dbe5d662..d20395990 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -7,7 +7,7 @@ namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets { - public record CmdletInfo : ClassInfoBase + public record CmdletInfo : ClassInfo { public string Noun { get; private set; } public string Verb { get; private set; } @@ -92,7 +92,7 @@ private void GenerateProperties() props.AddRange(generator(this)); } - GeneratedProperties = new EquatableArray(props.ToArray()); + //GeneratedProperties = new EquatableArray(props.ToArray()); } private static string GenerateCmdletAttribute(CmdletInfo cmdlet) @@ -267,7 +267,7 @@ private static bool IsPipelineProperty(CmdletScope currentScope, CmdletInfo cmdl public override string GenerateCode() { var props = new StringBuilder(); - foreach (var prop in GeneratedProperties) props.Append(prop); + //foreach (var prop in GeneratedProperties) props.Append(prop); return $@" namespace {Namespace} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index 9651e623a..939df17af 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -8,7 +8,7 @@ namespace TfsCmdlets.SourceGenerators.Generators.Controllers { - public record ControllerInfo : ClassInfoBase + public record ControllerInfo : ClassInfo { public CmdletInfo CmdletInfo { get; private set; } public string CmdletClass {get;} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs new file mode 100644 index 000000000..f05cc489c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace TfsCmdlets.SourceGenerators.Generators.HttpClients +{ + public static class HttpClientAttribute + { + public const string CODE = """ + using System; + + namespace TfsCmdlets + { + public class HttpClientAttribute : Attribute + { + public HttpClientAttribute(Type type) + { + Type = type; + } + + public Type Type { get; } + } + } + """; + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs index 9ad66f13c..570c7c8a5 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs @@ -10,9 +10,12 @@ public class HttpClientGenerator : IIncrementalGenerator { public void Initialize(IncrementalGeneratorInitializationContext context) { + context.RegisterPostInitializationOutput(c => + c.AddSource("HttpClientAttribute.cs", HttpClientAttribute.CODE)); + var clientsToGenerate = context.SyntaxProvider .ForAttributeWithMetadataName( - "TfsCmdlets.HttpClients.HttpClientAttribute", + "TfsCmdlets.HttpClientAttribute", predicate: (_, _) => true, transform: static (ctx, _) => HttpClientInfo.Create(ctx)) .Where(static m => m is not null) diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs index 585370468..adb716f5c 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs @@ -1,115 +1,98 @@ -using Microsoft.CodeAnalysis; +using System; +using System.Linq; +using System.Text; +using Microsoft.CodeAnalysis; namespace TfsCmdlets.SourceGenerators.Generators.HttpClients { - public record HttpClientInfo : ClassInfoBase + public record HttpClientInfo : ClassInfo { - public string OriginalType { get; private set; } - - public EquatableArray Methods { get; } + public ClassInfo OriginalType { get; private set; } public HttpClientInfo(INamedTypeSymbol symbol) : base(symbol) { - OriginalType = symbol.GetAttributeConstructorValue("HttpClientAttribute").FullName(); - Methods = GetMethods(); + var originalType = symbol.GetAttributeConstructorValue("HttpClientAttribute"); + OriginalType = new ClassInfo(originalType, false, true, true, true, + "Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase"); } public static HttpClientInfo Create(GeneratorAttributeSyntaxContext ctx) { - if (ctx.TargetSymbol is not INamedTypeSymbol namedTypeSymbol) return null; - return new HttpClientInfo(namedTypeSymbol); + return ctx.TargetSymbol is not INamedTypeSymbol namedTypeSymbol ? + null : + new HttpClientInfo(namedTypeSymbol); } - } -} - // OriginalType = symbol.GetAttributeConstructorValue("HttpClientAttribute").FullName(); - // Methods = OriginalType - // .GetMembersRecursively(SymbolKind.Method, "Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase") - // .Cast() - // .Where(m => - // m.MethodKind == MethodKind.Ordinary && - // m.DeclaredAccessibility == Accessibility.Public && - // !m.IsOverride && - // !m.HasAttribute("ObsoleteAttribute")) - // .ToList(); - //} - //internal IEnumerable GenerateMethods() - //{ - // foreach (var method in Methods) - // { - // yield return new GeneratedMethod(method); - // } - //} + private string GetInterfaceBody() + { + var sb = new StringBuilder(); + + foreach (var method in OriginalType.Methods) + { + sb.Append($"\t\t{method}"); + sb.AppendLine(";"); + } - //private string GetInterfaceBody() - //{ - // var sb = new StringBuilder(); + return sb.ToString(); + } - // foreach (var method in GenerateMethods()) - // { - // sb.Append($"\t\t{method}"); - // sb.AppendLine(";"); - // } + private string GetClassBody() + { + var sb = new StringBuilder(); - // return sb.ToString(); - //} + foreach (var method in OriginalType.Methods) + { + sb.Append($"\t\t{method.ToString($"\t\t\t=> Client.{method.Name}{method.SignatureNamesOnly};")}"); + } - //private string GetClassBody() - //{ - // var sb = new StringBuilder(); + return sb.ToString(); + } - // foreach (var method in GenerateMethods()) - // { - // sb.Append($"\t\t{method.ToString($"\t\t\t=> Client.{method.Name}{method.SignatureNamesOnly};")}"); - // } - // return sb.ToString(); - //} + public override string GenerateCode() + { + return $$""" + using System.Composition; + {{UsingsStatements}} - //public override string GenerateCode() - //{ - // return string.Empty; - //return $$""" - // using System.Composition; - - // namespace {{Namespace}} - // { - // public partial interface {{Name}}: IVssHttpClient - // { - // {{GetInterfaceBody()}} - // } - - // [Export(typeof({{Name}}))] - // [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - // internal class {{Name}}Impl: {{Name}} - // { - // private {{OriginalType}} _client; - - // protected IDataManager Data { get; } - - // [ImportingConstructor] - // public {{Name}}Impl(IDataManager data) - // { - // Data = data; - // } - - // private {{OriginalType}} Client - // { - // get - // { - // if(_client == null) - // { - // _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{OriginalType}})) as {{OriginalType}}; - // } - // return _client; - // } - // } - - // {{GetClassBody()}} - // } - // } - // """; - //} -// } -//} + namespace {{Namespace}} + { + public partial interface {{Name}}: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + {{GetInterfaceBody()}} + } + + [Export(typeof({{Name}}))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class {{Name}}Impl: {{Name}} + { + private {{OriginalType}} _client; + + protected IDataManager Data { get; } + + [ImportingConstructor] + public {{Name}}Impl(IDataManager data) + { + Data = data; + } + + private {{OriginalType}} Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{OriginalType}})) as {{OriginalType}}; + } + return _client; + } + } + + {{GetClassBody()}} + } + } + """; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs index fa0e01c82..3cb1bfd83 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs @@ -1,4 +1,5 @@ -using System; +using Microsoft.CodeAnalysis; +using System; using System.Collections.Generic; using System.Text; @@ -6,6 +7,12 @@ namespace TfsCmdlets.SourceGenerators.Generators.HttpClients { public record MethodInfo { + public MethodInfo(IMethodSymbol methodInfo) + { + Name = methodInfo.Name; + ReturnType = methodInfo.ReturnType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat); + } + public string Name { get; private set; } public string ReturnType { get; private set; } //public List Parameters { get; private set; } = new(); diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs index bdeb4acc4..1d2b5f91e 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs @@ -5,7 +5,7 @@ namespace TfsCmdlets.SourceGenerators.Generators.Models { - public record ModelInfo: ClassInfoBase + public record ModelInfo: ClassInfo { public ModelInfo(INamedTypeSymbol namedTypeSymbol) : base(namedTypeSymbol) { } diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index ced0fca81..334b29166 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -12,7 +12,15 @@ - + + + + + + + + + From 8be3004ff87f96911f6af730df50e8826c12b097 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Fri, 12 Sep 2025 02:55:14 -0300 Subject: [PATCH 07/36] Update Git settings for Verify --- .editorconfig | 12 +++++++++++- .gitattributes | 10 ++++++++++ .gitignore | 5 +++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 7dced9dd6..c98086357 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,4 +3,14 @@ root = true [*.cs] dotnet_diagnostic.IDE0056.severity = none -dotnet_diagnostic.IDE0057.severity = none \ No newline at end of file +dotnet_diagnostic.IDE0057.severity = none + +# Verify settings +[*.{received,verified}.{json,txt,xml,cs}] +charset = utf-8-bom +end_of_line = lf +indent_size = unset +indent_style = unset +insert_final_newline = false +tab_width = unset +trim_trailing_whitespace = false \ No newline at end of file diff --git a/.gitattributes b/.gitattributes index 1ff0c4230..c89b273d1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,6 +3,16 @@ ############################################################################### * text=auto +############################################################################### +# Verify settings +############################################################################### + +*.verified.txt text eol=lf working-tree-encoding=UTF-8 +*.verified.xml text eol=lf working-tree-encoding=UTF-8 +*.verified.json text eol=lf working-tree-encoding=UTF-8 +*.verified.cs text eol=lf working-tree-encoding=UTF-8 +*.verified.bin binary + ############################################################################### # Set default behavior for command prompt diff. # diff --git a/.gitignore b/.gitignore index 6f9636e84..86874abe5 100644 --- a/.gitignore +++ b/.gitignore @@ -215,6 +215,11 @@ TfsCmdlets.PSDesktop.xml CSharp/.idea/** +# Verify files + +*.received.* +*.received/ + # Miscellaneous files CSharp/*/Generated/** From 9b267b844f8b5afad1f9f3b3a03aeafa01fa6793 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Sun, 14 Sep 2025 12:33:44 -0300 Subject: [PATCH 08/36] Refactor src gen --- .../Controllers/Can_Create_Controller.cs | 43 ++++ ...sCmdlets.SourceGenerators.UnitTests.csproj | 1 - .../HttpClientAttribute.verified.cs | 1 + .../TfsCmdlets.SourceGenerators/ClassInfo.cs | 11 +- .../TfsCmdlets.SourceGenerators/Extensions.cs | 38 ++-- .../Generators/Cmdlets/CmdletInfo.cs | 186 ++++++++++-------- .../Generators/Cmdlets/ParameterInfo.cs | 51 +++++ .../Generators/Controllers/ControllerInfo.cs | 4 +- .../Generators/HttpClients/MethodInfo.cs | 47 ----- .../IsExternalInit.cs | 12 ++ .../PropertyInfo.cs | 9 +- .../TfsCmdlets.SourceGenerators.csproj | 9 + CSharp/TfsCmdlets/TfsCmdlets.csproj | 16 +- 13 files changed, 268 insertions(+), 160 deletions(-) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Controller.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Controller/HttpClientAttribute.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs create mode 100644 CSharp/TfsCmdlets.SourceGenerators/IsExternalInit.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Controller.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Controller.cs new file mode 100644 index 000000000..8b0d21ae4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Controller.cs @@ -0,0 +1,43 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_Controller() + { + var source = """ + using System.Management.Automation; + using Microsoft.TeamFoundation.SourceControl.WebApi; + + namespace TfsCmdlets.Cmdlets.Git + { + [TfsCmdlet(CmdletScope.Project, OutputType = typeof(GitRepository), DefaultParameterSetName = "Get by ID or Name")] + partial class GetGitRepository + { + [Parameter(Position = 0, ParameterSetName = "Get by ID or Name")] + [SupportsWildcards()] + [Alias("Name")] + public object Repository { get; set; } = "*"; + + [Parameter(ParameterSetName = "Get default", Mandatory = true)] + public SwitchParameter Default { get; set; } + + [Parameter()] + public SwitchParameter IncludeParent { get; set; } + } + + [CmdletController(typeof(GitRepository), Client=typeof(IGitHttpClient))] + partial class GetGitRepositoryController + { + protected override IEnumerable Run() + { + return null; + } + } + } + """; + + await TestHelper.Verify(nameof(Can_Create_Controller), source); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index f1f3fa5d4..4e7e65a5d 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -48,7 +48,6 @@ - diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Controller/HttpClientAttribute.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Controller/HttpClientAttribute.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Controller/HttpClientAttribute.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs index e78e93bbb..34813d574 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs @@ -9,7 +9,7 @@ namespace TfsCmdlets.SourceGenerators public record ClassInfo { public ClassInfo(INamedTypeSymbol targetType, - bool includeProperties = false, + bool includeProperties = true, bool includeMethods = false, bool includeUsings = true, bool recurseMethods = false, @@ -55,7 +55,14 @@ protected IEnumerable GetMethods(INamedTypeSymbol targetType, bool r protected IEnumerable GetProperties(INamedTypeSymbol targetType) { - throw new NotImplementedException(); + var props = targetType + .GetMembers() + .Where(m => + m.Kind == SymbolKind.Property && + m.DeclaredAccessibility == Accessibility.Public) + .Cast(); + + return props.Select(p => new PropertyInfo(p)); } public string Name { get; } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs index fe3095a1d..5e0de4b6f 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs @@ -11,11 +11,18 @@ namespace TfsCmdlets.SourceGenerators { internal static class Extensions { + public static AttributeData GetAttribute(this ISymbol symbol, string attributeName) + { + return symbol + .GetAttributes() + .FirstOrDefault(a => a.AttributeClass?.Name == attributeName); + } + public static T GetAttributeConstructorValue(this INamedTypeSymbol symbol, string attributeName, int argumentPosition = 0) { var attr = symbol .GetAttributes() - .FirstOrDefault(a => a.AttributeClass.Name.Equals(attributeName)); + .FirstOrDefault(a => a.AttributeClass?.Name == attributeName); if (attr == null || attr.ConstructorArguments == null || attr.ConstructorArguments.Length <= argumentPosition) return default; @@ -28,7 +35,7 @@ public static T GetAttributeNamedValue(this INamedTypeSymbol symbol, string a { var attr = symbol .GetAttributes() - .FirstOrDefault(a => a.AttributeClass.Name.Equals(attributeName)); + .FirstOrDefault(a => a.AttributeClass?.Name == attributeName); if (attr == null) return default; @@ -37,21 +44,26 @@ public static T GetAttributeNamedValue(this INamedTypeSymbol symbol, string a return (T)(arg.Value.Value ?? default(T)); } - public static string GetUsingStatements(this INamedTypeSymbol symbol) - => symbol.GetDeclaringSyntax()?.FindParentOfType()?.Usings.ToString(); + public static T GetAttributeConstructorValue(this AttributeData attr, int argumentPosition = 0) + { + if (attr == null || attr.ConstructorArguments == null || attr.ConstructorArguments.Length <= argumentPosition) return default; + + var arg = attr.ConstructorArguments[argumentPosition]; - // public static bool GetAttributeNamedValue(INamedTypeSymbol symbol, string attributeName, string argumentName, bool defaultValue = false) - // { - // var attr = symbol - // .GetAttributes() - // .FirstOrDefault(a => a.AttributeClass.Name.Equals(attributeName)); + return (T)arg.Value; + } + + public static T GetAttributeNamedValue(this AttributeData attr, string argumentName) + { + if (attr == null) return default; - // if (attr == null) return defaultValue; + var arg = attr.NamedArguments.FirstOrDefault(a => a.Key.Equals(argumentName)); - // var arg = attr.NamedArguments.FirstOrDefault(a => a.Key.Equals(argumentName)); + return (T)(arg.Value.Value ?? default(T)); + } - // return (arg.Value.Value?.ToString() ?? string.Empty).Equals("True", StringComparison.OrdinalIgnoreCase); - // } + public static string GetUsingStatements(this INamedTypeSymbol symbol) + => symbol.GetDeclaringSyntax()?.FindParentOfType()?.Usings.ToString(); public static bool HasAttributeNamedValue(this INamedTypeSymbol symbol, string attributeName, string argumentName) => symbol.GetAttributes() diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index d20395990..9cd624b0d 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -1,34 +1,34 @@ -using System; -using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp.Syntax; +using System; using System.Collections.Generic; using System.Linq; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; +using System.Management.Automation; +using System.Text; namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets { public record CmdletInfo : ClassInfo { - public string Noun { get; private set; } - public string Verb { get; private set; } - public CmdletScope Scope { get; private set; } - public bool SkipAutoProperties { get; private set; } - public bool DesktopOnly { get; private set; } - public bool HostedOnly { get; private set; } - public int RequiresVersion { get; private set; } - public bool NoAutoPipeline { get; private set; } - public string DefaultParameterSetName { get; private set; } - public string CustomControllerName { get; private set; } - public string DataType { get; private set; } - public string OutputType { get; private set; } - public bool SupportsShouldProcess { get; private set; } - public bool ReturnsValue { get; private set; } - public bool SkipGetProperty { get; private set; } - public string CmdletAttribute { get; private set; } - public string OutputTypeAttribute { get; private set; } - public string AdditionalCredentialParameterSets { get; private set; } - public string Usings { get; private set; } - public EquatableArray DeclaredProperties { get; set; } + public string Noun { get; init; } + public string Verb { get; init; } + public CmdletScope Scope { get; init; } + public bool SkipAutoProperties { get; init; } + public bool DesktopOnly { get; init; } + public bool HostedOnly { get; init; } + public int RequiresVersion { get; init; } + public bool NoAutoPipeline { get; init; } + public string DefaultParameterSetName { get; init; } + public string CustomControllerName { get; init; } + public string DataType { get; init; } + public string OutputType { get; init; } + public bool SupportsShouldProcess { get; init; } + public bool ReturnsValue { get; init; } + public bool SkipGetProperty { get; init; } + public string AdditionalCredentialParameterSets { get; init; } + public bool WindowsOnly { get; init; } + public string Usings { get; init; } + public EquatableArray ParameterProperties { get; set; } public CmdletInfo(INamedTypeSymbol cmdlet) : base(cmdlet) @@ -37,49 +37,82 @@ public CmdletInfo(INamedTypeSymbol cmdlet) Verb = cmdlet.Name.Substring(0, cmdlet.Name.FindIndex(char.IsUpper, 1)); Noun = cmdlet.Name.Substring(Verb.Length); - Scope = cmdlet.GetAttributeConstructorValue("TfsCmdletAttribute"); - SkipAutoProperties = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "SkipAutoProperties"); - DesktopOnly = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "DesktopOnly"); - HostedOnly = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "HostedOnly"); - RequiresVersion = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "RequiresVersion"); - NoAutoPipeline = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "NoAutoPipeline"); - DefaultParameterSetName = cmdlet.GetAttributeNamedValue("CmdletAttribute", "DefaultParameterSetName"); - OutputType = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "OutputType")?.FullName(); - DataType = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "DataType")?.FullName() ?? OutputType; - DefaultParameterSetName = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "DefaultParameterSetName"); - CustomControllerName = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "CustomControllerName"); - ReturnsValue = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "ReturnsValue"); - SkipGetProperty = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "SkipGetProperty"); - AdditionalCredentialParameterSets = cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "AdditionalCredentialParameterSets"); - SupportsShouldProcess = SetSupportsShouldProcess(cmdlet); - CmdletAttribute = GenerateCmdletAttribute(this); - OutputTypeAttribute = GenerateOutputTypeAttribute(this); + + var attr = cmdlet.GetAttribute("TfsCmdletAttribute"); + if (attr == null) throw new ArgumentException($"Class {cmdlet.Name} is not a TfsCmdlet"); + + Scope = attr.GetAttributeConstructorValue(); + SkipAutoProperties = attr.GetAttributeNamedValue("SkipAutoProperties"); + DesktopOnly = attr.GetAttributeNamedValue("DesktopOnly"); + WindowsOnly = attr.GetAttributeNamedValue("WindowsOnly"); + HostedOnly = attr.GetAttributeNamedValue("HostedOnly"); + RequiresVersion = attr.GetAttributeNamedValue("RequiresVersion"); + NoAutoPipeline = attr.GetAttributeNamedValue("NoAutoPipeline"); + DefaultParameterSetName = attr.GetAttributeNamedValue("DefaultParameterSetName"); + OutputType = attr.GetAttributeNamedValue("OutputType")?.FullName(); + DataType = attr.GetAttributeNamedValue("DataType")?.FullName() ?? OutputType; + DefaultParameterSetName = attr.GetAttributeNamedValue("DefaultParameterSetName"); + CustomControllerName = attr.GetAttributeNamedValue("CustomControllerName"); + ReturnsValue = attr.GetAttributeNamedValue("ReturnsValue"); + SkipGetProperty = attr.GetAttributeNamedValue("SkipGetProperty"); + AdditionalCredentialParameterSets = attr.GetAttributeNamedValue("AdditionalCredentialParameterSets"); + SupportsShouldProcess = GetSupportsShouldProcess(cmdlet); Usings = cmdlet.GetDeclaringSyntax().FindParentOfType()?.Usings.ToString(); - DeclaredProperties = GetDeclaredProperties(cmdlet); - - GenerateProperties(); + + ParameterProperties = GetParameterProperties(cmdlet); } - private static EquatableArray GetDeclaredProperties(INamedTypeSymbol cmdlet) + public string CmdletAttribute + { + get + { + var sb = new StringBuilder($"[Cmdlet(\"{Verb}\", \"Tfs{Noun}\""); + + if (SupportsShouldProcess) + { + sb.Append(", SupportsShouldProcess=true"); + } + + if (!string.IsNullOrEmpty(DefaultParameterSetName)) + { + sb.Append($", DefaultParameterSetName=\"{DefaultParameterSetName}\""); + } + + sb.Append(")]"); + + return sb.ToString(); + } + } + + public string OutputTypeAttribute + { + get + { + if (OutputType == null && DataType == null) return string.Empty; + + return OutputType != null + ? $"\n [OutputType(typeof({OutputType}))]" + : $"\n [OutputType(typeof({DataType}))]"; + } + } + + private static EquatableArray GetParameterProperties(INamedTypeSymbol cmdlet) { var props = cmdlet .GetPropertiesWithAttribute("ParameterAttribute") - .Select(p => new PropertyInfo(p, string.Empty)).ToList(); + .Select(p => new ParameterInfo(p)).ToList(); - return new EquatableArray(props.Count > 0 ? + return new EquatableArray(props.Count > 0 ? props.ToArray(): - Array.Empty()); + Array.Empty()); } - private bool SetSupportsShouldProcess(INamedTypeSymbol cmdlet) + private bool GetSupportsShouldProcess(INamedTypeSymbol cmdlet) { - if(cmdlet.HasAttributeNamedValue("TfsCmdletAttribute", "SupportsShouldProcess")) - { - return cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "SupportsShouldProcess"); - } - - return (Verb != "Get") && (Verb != "Test") && (Verb != "Search") && (Verb != "Connect") && (Verb != "Disconnect"); + return cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "SupportsShouldProcess") + ? cmdlet.HasAttributeNamedValue("TfsCmdletAttribute", "SupportsShouldProcess") + : (Verb != "Get") && (Verb != "Test") && (Verb != "Search") && (Verb != "Connect") && (Verb != "Disconnect"); } private void GenerateProperties() @@ -95,25 +128,6 @@ private void GenerateProperties() //GeneratedProperties = new EquatableArray(props.ToArray()); } - private static string GenerateCmdletAttribute(CmdletInfo cmdlet) - { - var props = new List(); - - if (cmdlet.SupportsShouldProcess) props.Add($"SupportsShouldProcess = true"); - if (!string.IsNullOrEmpty(cmdlet.DefaultParameterSetName)) props.Add($"DefaultParameterSetName = \"{cmdlet.DefaultParameterSetName}\""); - - return $"[Cmdlet(\"{cmdlet.Verb}\", \"Tfs{cmdlet.Noun}\"{(props.Any() ? $", {string.Join(", ", props)}" : string.Empty)})]"; - } - - private static string GenerateOutputTypeAttribute(CmdletInfo cmdlet) - { - if (cmdlet.OutputType == null && cmdlet.DataType == null) return string.Empty; - - return cmdlet.OutputType != null ? - $"\n [OutputType(typeof({cmdlet.OutputType}))]" : - $"\n [OutputType(typeof({cmdlet.DataType}))]"; - } - private static IEnumerable GenerateScopeProperty(CmdletScope currentScope, CmdletInfo settings) { var scopeName = currentScope.ToString(); @@ -267,17 +281,19 @@ private static bool IsPipelineProperty(CmdletScope currentScope, CmdletInfo cmdl public override string GenerateCode() { var props = new StringBuilder(); - //foreach (var prop in GeneratedProperties) props.Append(prop); - - return $@" -namespace {Namespace} -{{ - {CmdletAttribute}{OutputTypeAttribute} - public partial class {Name}: CmdletBase - {{{props} - }} -}} -"; + foreach (var prop in ParameterProperties) props.Append(prop); + + return $$""" + {{Usings}} + + namespace {{Namespace}} + { + {{CmdletAttribute}}{{OutputTypeAttribute}} + public partial class {{Name}}: CmdletBase + {{{props}} + } + } + """; } internal static CmdletInfo Create(GeneratorAttributeSyntaxContext ctx) diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs new file mode 100644 index 000000000..17ec24d60 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs @@ -0,0 +1,51 @@ +using Microsoft.CodeAnalysis; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Reflection; +using System.Text; + +namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets +{ + public record ParameterInfo : PropertyInfo + { + public ParameterInfo(IPropertySymbol prop) + : base(prop) + { + var attr = prop.GetAttribute("ParameterAttribute"); + if (attr == null) throw new ArgumentException($"Property {prop.Name} is not a Cmdlet parameter"); + + DontShow = attr.GetAttributeNamedValue("DontShow"); + HelpMessage = attr.GetAttributeNamedValue("HelpMessage"); + HelpMessageBaseName = attr.GetAttributeNamedValue("HelpMessageBaseName"); + HelpMessageResourceId = attr.GetAttributeNamedValue("HelpMessageResourceId"); + Mandatory = attr.GetAttributeNamedValue("Mandatory"); + ParameterSetName = attr.GetAttributeNamedValue("ParameterSetName") ?? "__AllParameterSets"; + Position = attr.GetAttributeNamedValue("Position"); + ValueFromPipeline = attr.GetAttributeNamedValue("ValueFromPipeline"); + ValueFromPipelineByPropertyName = attr.GetAttributeNamedValue("ValueFromPipelineByPropertyName"); + ValueFromRemainingArguments = attr.GetAttributeNamedValue("ValueFromRemainingArguments"); + } + + public bool DontShow { get; } + + public string HelpMessage { get; } + + public string HelpMessageBaseName { get; } + + public string HelpMessageResourceId { get; } + + public bool Mandatory { get; } + + public string ParameterSetName { get; } + + public int Position { get; } + + public bool ValueFromPipeline { get; } + + public bool ValueFromPipelineByPropertyName { get; } + + public bool ValueFromRemainingArguments { get; } + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index 939df17af..841437dc3 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -68,7 +68,7 @@ namespace {Namespace} // internal partial class {Name}: {BaseClassName} {{ - // Client property + // Client property! {GenerateClientProperty()} // Input property @@ -120,7 +120,7 @@ private string GenerateClientProperty() private string GenerateGetInputProperty() { - var prop = CmdletInfo.DeclaredProperties.First(); + var prop = CmdletInfo.ParameterProperties.First(); var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; return $@" // {prop.Name} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs deleted file mode 100644 index 3cb1bfd83..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/MethodInfo.cs +++ /dev/null @@ -1,47 +0,0 @@ -using Microsoft.CodeAnalysis; -using System; -using System.Collections.Generic; -using System.Text; - -namespace TfsCmdlets.SourceGenerators.Generators.HttpClients -{ - public record MethodInfo - { - public MethodInfo(IMethodSymbol methodInfo) - { - Name = methodInfo.Name; - ReturnType = methodInfo.ReturnType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat); - } - - public string Name { get; private set; } - public string ReturnType { get; private set; } - //public List Parameters { get; private set; } = new(); - //public bool IsAsync { get; private set; } - //public bool IsGeneric { get; private set; } - //public List GenericParameters { get; private set; } = new(); - //public bool IsVoid => ReturnType == "void" || ReturnType == "System.Threading.Tasks.Task"; - //public string AsyncSuffix => IsAsync && !IsVoid ? "Async" : string.Empty; - //public override string ToString() - //{ - // var sb = new StringBuilder(); - // sb.Append("public "); - // if (IsAsync && !IsVoid) - // { - // sb.Append("async "); - // } - // sb.Append(ReturnType); - // sb.Append(" "); - // sb.Append(Name); - // if (IsGeneric && GenericParameters.Count > 0) - // { - // sb.Append("<"); - // sb.Append(string.Join(", ", GenericParameters)); - // sb.Append(">"); - // } - // sb.Append("("); - // sb.Append(string.Join(", ", Parameters)); - // sb.Append(")"); - // return sb.ToString(); - //} - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/IsExternalInit.cs b/CSharp/TfsCmdlets.SourceGenerators/IsExternalInit.cs new file mode 100644 index 000000000..e0a9607a2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGenerators/IsExternalInit.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Text; + +#pragma warning disable IDE0130 + +namespace System.Runtime.CompilerServices +{ + public static class IsExternalInit + { + } +} diff --git a/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs index 86159bb06..de3346ab6 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs @@ -12,18 +12,23 @@ public record PropertyInfo public string DefaultValue { get; set; } - public bool IsHidden { get; } + public bool IsHidden { get; set; } public bool IsScope { get; set; } public string GeneratedCode { get; set; } + public PropertyInfo(IPropertySymbol prop) + : this(prop, string.Empty) + { + } + public PropertyInfo(IPropertySymbol prop, string generatedCode) : this(prop.Name, prop.Type.ToString(), generatedCode) { var node = (PropertyDeclarationSyntax) prop.DeclaringSyntaxReferences.First().GetSyntax(); + var initializer = node.Initializer; - DefaultValue = initializer?.Value.ToString(); } diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 334b29166..0b5250b3c 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -29,4 +29,13 @@ + + + C:\Users\h313059\.nuget\packages\system.composition.attributedmodel\9.0.8\lib\netstandard2.0\System.Composition.AttributedModel.dll + + + C:\Users\h313059\.nuget\packages\powershellstandard.library\7.0.0-preview.1\lib\netstandard2.0\System.Management.Automation.dll + + + \ No newline at end of file diff --git a/CSharp/TfsCmdlets/TfsCmdlets.csproj b/CSharp/TfsCmdlets/TfsCmdlets.csproj index dc122874d..ddb03fdf8 100644 --- a/CSharp/TfsCmdlets/TfsCmdlets.csproj +++ b/CSharp/TfsCmdlets/TfsCmdlets.csproj @@ -21,13 +21,13 @@ - - - - - - - + + + + + + + @@ -44,7 +44,7 @@ - + From df7ede3046d4af374e540d884f1353f346c68240 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 16 Sep 2025 23:02:39 -0300 Subject: [PATCH 09/36] Refactor unit tests --- ...roller.cs => Can_Create_Get_Controller.cs} | 11 ++- ...t.GetGitRepositoryController.g.verified.cs | 75 +++++++++++++++++++ 2 files changed, 84 insertions(+), 2 deletions(-) rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/{Can_Create_Controller.cs => Can_Create_Get_Controller.cs} (83%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Controller.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs similarity index 83% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Controller.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs index 8b0d21ae4..4b0768990 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Controller.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs @@ -3,7 +3,7 @@ public partial class ControllerGeneratorTests { [Fact] - public async Task Can_Create_Controller() + public async Task Can_Create_Get_Controller() { var source = """ using System.Management.Automation; @@ -35,9 +35,16 @@ protected override IEnumerable Run() } } } + + namespace TfsCmdlets.Controllers + { + public abstract class ControllerBase + { + } + } """; - await TestHelper.Verify(nameof(Can_Create_Controller), source); + await TestHelper.Verify(nameof(Can_Create_Get_Controller), source); } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs new file mode 100644 index 000000000..8218a7e48 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; + +namespace TfsCmdlets.Cmdlets.Git +{ + internal partial class GetGitRepositoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + + // Repository + protected bool Has_Repository => Parameters.HasParameter(nameof(Repository)); + protected IEnumerable Repository + { + get + { + var paramValue = Parameters.Get(nameof(Repository), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + + // Default + protected bool Has_Default { get; set; } + protected bool Default { get; set; } + + // IncludeParent + protected bool Has_IncludeParent { get; set; } + protected bool IncludeParent { get; set; } + + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + + // ParameterSetName + protected bool Has_ParameterSetName {get;set;} + protected string ParameterSetName {get;set;} + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); + + + + protected override void CacheParameters() + { + // Default + Has_Default = Parameters.HasParameter("Default"); + Default = Parameters.Get("Default"); + + // IncludeParent + Has_IncludeParent = Parameters.HasParameter("IncludeParent"); + IncludeParent = Parameters.Get("IncludeParent"); + + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + + + } + + [ImportingConstructor] + public GetGitRepositoryController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} From b81ae80b54687a6abb3ca6f8c4b35020dbfdd183 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 16 Sep 2025 23:02:52 -0300 Subject: [PATCH 10/36] Refactor generators --- .../TfsCmdlets.SourceGenerators/ClassInfo.cs | 5 +- .../EquatableArray.cs | 2 + .../TfsCmdlets.SourceGenerators/Extensions.cs | 40 ++- .../Generators/Cmdlets/CmdletGenerator.cs | 17 +- .../Generators/Cmdlets/CmdletInfo.cs | 276 +++++++----------- .../Generators/Cmdlets/ParameterInfo.cs | 2 +- .../Controllers/ControllerGenerator.cs | 63 +++- .../Generators/Controllers/ControllerInfo.cs | 248 +++++++++------- .../HttpClients/HttpClientAttribute.cs | 26 -- .../HttpClients/HttpClientGenerator.cs | 51 +++- .../Generators/HttpClients/HttpClientInfo.cs | 50 +--- .../Generators/Models/ModelGenerator.cs | 22 +- .../Generators/Models/ModelInfo.cs | 17 -- .../TfsCmdlets.SourceGenerators.csproj | 4 + 14 files changed, 442 insertions(+), 381 deletions(-) delete mode 100644 CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs index 34813d574..da7e46feb 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs @@ -19,7 +19,8 @@ public ClassInfo(INamedTypeSymbol targetType, Name = targetType.Name; Namespace = targetType.FullNamespace(); - FullName = FileName = targetType.FullName(); + FullName = targetType.FullName(); + FileName = $"{FullName}.g.cs"; Methods = new EquatableArray(includeMethods ? GetMethods(targetType, recurseMethods, recurseMethodsStopAt).ToArray() @@ -79,8 +80,6 @@ protected IEnumerable GetProperties(INamedTypeSymbol targetType) public string UsingsStatements { get; } - public virtual string GenerateCode() => string.Empty; - public override string ToString() => FullName; protected const string HEADER = diff --git a/CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs b/CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs index e91a7b024..797d5fafd 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/EquatableArray.cs @@ -29,6 +29,8 @@ public EquatableArray(T[] array) _array = array; } + public T this[int index] => _array![index]; + /// public bool Equals(EquatableArray array) { diff --git a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs index 5e0de4b6f..b4b0a0f2a 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs @@ -67,8 +67,11 @@ public static string GetUsingStatements(this INamedTypeSymbol symbol) public static bool HasAttributeNamedValue(this INamedTypeSymbol symbol, string attributeName, string argumentName) => symbol.GetAttributes() - .First(a => a.AttributeClass.Name.Equals(attributeName))? - .NamedArguments.Any(a => a.Key.Equals(argumentName)) ?? false; + .First(a => a.AttributeClass.Name.Equals(attributeName))? + .NamedArguments.Any(a => a.Key.Equals(argumentName)) ?? false; + + public static bool HasAttributeNamedValue(this AttributeData attr, string argumentName) + => attr.NamedArguments.Any(a => a.Key.Equals(argumentName)); public static bool HasAttribute(this ISymbol symbol, string attributeName) => symbol.GetAttributes().Any(a => a.AttributeClass.Name.Equals(attributeName)); @@ -148,6 +151,26 @@ public static string FullName(this INamedTypeSymbol symbol) return symbol.Name + suffix; } + public static string FullName(this ClassDeclarationSyntax cds) + { + if (cds == null) + return null; + + var prefix = FullNamespace(cds); + var suffix = ""; + var name = cds.Identifier.ValueText; + + if (cds.Arity > 0) + { + suffix = "<" + string.Join(", ", cds.TypeParameterList.Parameters.Select(targ => targ)) + ">"; + } + + if (prefix != "") + return prefix + "." + cds.Identifier.ValueText + suffix; + else + return cds.Identifier.ValueText + suffix; + } + public static string FullNamespace(this ISymbol symbol) { var parts = new Stack(); @@ -161,6 +184,19 @@ public static string FullNamespace(this ISymbol symbol) return string.Join(".", parts); } + public static string FullNamespace(this SyntaxNode node) + { + var parts = new Stack(); + var iterator = (node as NamespaceDeclarationSyntax) ?? ((node as ClassDeclarationSyntax)?.Parent as NamespaceDeclarationSyntax); + + while (iterator != null) + { + parts.Push(iterator.Name.ToFullString()); ; + iterator = iterator.Parent as NamespaceDeclarationSyntax; + } + return string.Join(".", parts); + } + public static bool HasDefaultConstructor(this INamedTypeSymbol symbol) { diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs index e7ba3b860..8131b7f18 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs @@ -11,7 +11,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context) { var cmdletsToGenerate = context.SyntaxProvider .ForAttributeWithMetadataName( - "TfsCmdlets.Cmdlets.TfsCmdletAttribute", + "TfsCmdlets.TfsCmdletAttribute", predicate: (_, _) => true, transform: static (ctx, _) => CmdletInfo.Create(ctx)) .Where(static m => m is not null) @@ -20,10 +20,23 @@ public void Initialize(IncrementalGeneratorInitializationContext context) context.RegisterSourceOutput(cmdletsToGenerate, static (spc, source) => { - var result = source.GenerateCode(); + var result = GenerateCode(source); var filename = source.FileName; spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); }); } + + private static string GenerateCode(CmdletInfo model) => + $$""" + + namespace {{model.Namespace}} + { + {{model.CmdletAttribute}}{{model.OutputTypeAttribute}} + public partial class {{model.Name}}: CmdletBase + {{{model.GenerateProperties()}} + } + } + + """; } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index 9cd624b0d..0a70d7080 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Management.Automation; using System.Text; namespace TfsCmdlets.SourceGenerators.Generators.Cmdlets @@ -27,7 +26,7 @@ public record CmdletInfo : ClassInfo public bool SkipGetProperty { get; init; } public string AdditionalCredentialParameterSets { get; init; } public bool WindowsOnly { get; init; } - public string Usings { get; init; } + public string Usings { get; init; } public EquatableArray ParameterProperties { get; set; } public CmdletInfo(INamedTypeSymbol cmdlet) @@ -51,13 +50,14 @@ public CmdletInfo(INamedTypeSymbol cmdlet) DefaultParameterSetName = attr.GetAttributeNamedValue("DefaultParameterSetName"); OutputType = attr.GetAttributeNamedValue("OutputType")?.FullName(); DataType = attr.GetAttributeNamedValue("DataType")?.FullName() ?? OutputType; - DefaultParameterSetName = attr.GetAttributeNamedValue("DefaultParameterSetName"); CustomControllerName = attr.GetAttributeNamedValue("CustomControllerName"); ReturnsValue = attr.GetAttributeNamedValue("ReturnsValue"); SkipGetProperty = attr.GetAttributeNamedValue("SkipGetProperty"); AdditionalCredentialParameterSets = attr.GetAttributeNamedValue("AdditionalCredentialParameterSets"); - SupportsShouldProcess = GetSupportsShouldProcess(cmdlet); Usings = cmdlet.GetDeclaringSyntax().FindParentOfType()?.Usings.ToString(); + SupportsShouldProcess = attr.HasAttributeNamedValue("SupportsShouldProcess") + ? attr.GetAttributeNamedValue("SupportsShouldProcess") + : "GetTestSearchConnectDisconnect".IndexOf(Verb, StringComparison.Ordinal) < 0; ParameterProperties = GetParameterProperties(cmdlet); } @@ -68,16 +68,8 @@ public string CmdletAttribute { var sb = new StringBuilder($"[Cmdlet(\"{Verb}\", \"Tfs{Noun}\""); - if (SupportsShouldProcess) - { - sb.Append(", SupportsShouldProcess=true"); - } - - if (!string.IsNullOrEmpty(DefaultParameterSetName)) - { - sb.Append($", DefaultParameterSetName=\"{DefaultParameterSetName}\""); - } - + if (SupportsShouldProcess) sb.Append(", SupportsShouldProcess = true"); + if (!string.IsNullOrEmpty(DefaultParameterSetName)) sb.Append($", DefaultParameterSetName = \"{DefaultParameterSetName}\""); sb.Append(")]"); return sb.ToString(); @@ -96,46 +88,66 @@ public string OutputTypeAttribute } } - private static EquatableArray GetParameterProperties(INamedTypeSymbol cmdlet) + public string GenerateProperties() { - var props = cmdlet - .GetPropertiesWithAttribute("ParameterAttribute") - .Select(p => new ParameterInfo(p)).ToList(); - - return new EquatableArray(props.Count > 0 ? - props.ToArray(): - Array.Empty()); - } - + var sb = new StringBuilder(); - private bool GetSupportsShouldProcess(INamedTypeSymbol cmdlet) - { - return cmdlet.GetAttributeNamedValue("TfsCmdletAttribute", "SupportsShouldProcess") - ? cmdlet.HasAttributeNamedValue("TfsCmdletAttribute", "SupportsShouldProcess") - : (Verb != "Get") && (Verb != "Test") && (Verb != "Search") && (Verb != "Connect") && (Verb != "Disconnect"); - } + // Basic properties - private void GenerateProperties() - { - var props = new List(); - - foreach (var (condition, generator, _) in _generators) + switch (Verb) { - if (!condition(this)) continue; - props.AddRange(generator(this)); + case "Rename": + { + sb.Append(GenerateParameter("NewName", "string", "Position = 1, Mandatory = true", + "HELP_PARAM_NEWNAME")); + break; + } + case "New" when Noun != "Credential": + case "Set": + case "Connect": + case "Enable": + case "Disable": + { + sb.Append(GenerateParameter("Passthru", "SwitchParameter", string.Empty, + "HELP_PARAM_PASSTHRU")); + break; + } } - //GeneratedProperties = new EquatableArray(props.ToArray()); + // Scope properties + + if ((int)Scope >= (int)CmdletScope.Team) GenerateScopeProperty(CmdletScope.Team, sb); + if ((int)Scope >= (int)CmdletScope.Project) GenerateScopeProperty(CmdletScope.Project, sb); + if ((int)Scope >= (int)CmdletScope.Collection) GenerateScopeProperty(CmdletScope.Collection, sb); + if ((int)Scope >= (int)CmdletScope.Server) GenerateScopeProperty(CmdletScope.Server, sb); + + // Credential properties + + if (Verb == "Connect") GenerateCredentialProperties(sb); + if (IsGetScopeCmdlet) GenerateCredentialProperties(sb); + if (Name == "NewCredential") GenerateCredentialProperties(sb); + + // CustomController property + + if (!string.IsNullOrEmpty(CustomControllerName)) GenerateCustomControllerProperty(sb); + + // ReturnsValue property + if (ReturnsValue) GenerateReturnsValueProperty(sb); + + // Areas/Iterations StructureGroup property + + if (Name.EndsWith("Area") || Name.EndsWith("Iteration")) GenerateStructureGroupProperty(sb); + + return sb.ToString(); } - private static IEnumerable GenerateScopeProperty(CmdletScope currentScope, CmdletInfo settings) + private void GenerateScopeProperty(CmdletScope currentScope, StringBuilder sb) { var scopeName = currentScope.ToString(); - var isGetScopedCmdlet = IsGetScopeCmdlet(settings); - var isPipeline = IsPipelineProperty(currentScope, settings); + var isPipeline = IsPipelineProperty(currentScope); var valueFromPipeline = isPipeline ? "ValueFromPipeline=true" : string.Empty; - var additionalParameterSets = settings.AdditionalCredentialParameterSets?.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries) ?? new string[0]; - var parameterSetNames = isGetScopedCmdlet ? _credentialParameterSetNames.Union(additionalParameterSets).Select(s => $"ParameterSetName=\"{s}\"") : new[] { string.Empty }; + var additionalParameterSets = AdditionalCredentialParameterSets?.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries) ?? Array.Empty(); + var parameterSetNames = IsGetScopeCmdlet ? CredentialParameterSetNames.Union(additionalParameterSets).Select(s => $"ParameterSetName=\"{s}\"") : new[] { string.Empty }; var attributes = new List<(string, string)>(); if (scopeName.Equals("Collection")) @@ -143,163 +155,91 @@ private static IEnumerable GenerateScopeProperty(CmdletScope curre attributes.Add(("Alias", "\"Organization\"")); } - if (isGetScopedCmdlet) - { - attributes.Add(("Parameter", $"ParameterSetName=\"{settings.DefaultParameterSetName}\"{(isPipeline ? ", " : string.Empty)}{valueFromPipeline}")); - } - - foreach (var parameterSetName in parameterSetNames) + if (IsGetScopeCmdlet) { - attributes.Add(("Parameter", $"{parameterSetName}{(isGetScopedCmdlet && isPipeline ? ", " : string.Empty)}{valueFromPipeline}")); + attributes.Add(("Parameter", $"ParameterSetName=\"{DefaultParameterSetName}\"{(isPipeline ? ", " : string.Empty)}{valueFromPipeline}")); } - var parm = GenerateParameter(scopeName, "object", attributes, $"HELP_PARAM_{scopeName.ToUpper()}"); - parm.IsScope = true; + attributes.AddRange(parameterSetNames.Select(parameterSetName => ("Parameter", $"{parameterSetName}{(IsGetScopeCmdlet && isPipeline ? ", " : string.Empty)}{valueFromPipeline}"))); - yield return parm; + sb.Append(GenerateParameter(scopeName, "object", attributes, $"HELP_PARAM_{scopeName.ToUpper()}")); } - private static IEnumerable GenerateCredentialProperties(CmdletInfo settings) + private void GenerateCredentialProperties(StringBuilder sb) { - yield return GenerateParameter("Cached", "SwitchParameter", "ParameterSetName = \"Cached credentials\", Mandatory = true", "HELP_PARAM_CACHED_CREDENTIAL"); - - yield return GenerateParameter("UserName", "string", "ParameterSetName = \"User name and password\", Mandatory = true", "HELP_PARAM_USER_NAME"); - - yield return GenerateParameter("Password", "System.Security.SecureString", "ParameterSetName = \"User name and password\", Mandatory = true", "HELP_PARAM_PASSWORD"); - - yield return GenerateParameter("Credential", "object", new List<(string, string)>() { + sb.Append(GenerateParameter("Cached", "SwitchParameter", "ParameterSetName = \"Cached credentials\", Mandatory = true", "HELP_PARAM_CACHED_CREDENTIAL")); + sb.Append(GenerateParameter("UserName", "string", "ParameterSetName = \"User name and password\", Mandatory = true", "HELP_PARAM_USER_NAME")); + sb.Append(GenerateParameter("Password", "System.Security.SecureString", "ParameterSetName = \"User name and password\", Mandatory = true", "HELP_PARAM_PASSWORD")); + sb.Append(GenerateParameter("Credential", "object", new List<(string, string)>() { ("Parameter", "ParameterSetName = \"Credential object\", Mandatory = true"), - ("ValidateNotNull", string.Empty)}, "HELP_PARAM_CREDENTIAL"); - - yield return GenerateParameter("PersonalAccessToken", "string", new List<(string, string)>() { + ("ValidateNotNull", string.Empty)}, "HELP_PARAM_CREDENTIAL")); + sb.Append(GenerateParameter("PersonalAccessToken", "string", new List<(string, string)>() { ("Parameter", "ParameterSetName = \"Personal Access Token\", Mandatory = true"), - ("Alias", "\"Pat\"")}, "HELP_PARAM_PERSONAL_ACCESS_TOKEN"); - - yield return GenerateParameter("Interactive", "SwitchParameter", "ParameterSetName = \"Prompt for credential\"", "HELP_PARAM_INTERACTIVE"); + ("Alias", "\"Pat\"")}, "HELP_PARAM_PERSONAL_ACCESS_TOKEN")); + sb.Append(GenerateParameter("Interactive", "SwitchParameter", "ParameterSetName = \"Prompt for credential\"", "HELP_PARAM_INTERACTIVE")); } - private static IEnumerable GenerateCustomControllerProperty(CmdletInfo settings) + private void GenerateCustomControllerProperty(StringBuilder sb) { - yield return new PropertyInfo("CommandName", "string", true, $@" - protected override string CommandName => ""{settings.CustomControllerName}""; -"); + sb.Append($""" + protected override string CommandName => "{CustomControllerName}"; + """); } - private static IEnumerable GenerateReturnsValueProperty(CmdletInfo settings) + private void GenerateReturnsValueProperty(StringBuilder sb) { - yield return new PropertyInfo("ReturnsValue", "bool", true, $@" - protected override bool ReturnsValue => {settings.ReturnsValue.ToString().ToLower()}; -"); + sb.Append($" protected override bool ReturnsValue => {ReturnsValue.ToString().ToLower()};"); } - private static IEnumerable GenerateStructureGroupProperty(CmdletInfo settings) + private void GenerateStructureGroupProperty(StringBuilder sb) { - yield return new PropertyInfo("StructureGroup", "Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup", $@" - [Parameter] - internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => - Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.{(settings.Name.EndsWith("Area") ? "Areas" : "Iterations")}; -"); + sb.Append($""" + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.{(Name.EndsWith("Area") ? "Areas" : "Iterations")}; + """); } - private static IEnumerable GenerateParameterAsList(string name, string type, string parameterAttributeValues, string helpText) - => GenerateParameterAsList(name, type, new List<(string, string)>() { ("Parameter", parameterAttributeValues) }, helpText); - - private static IEnumerable GenerateParameterAsList(string name, string type, IList<(string, string)> attributes, string helpText) - { - yield return GenerateParameter(name, type, attributes, helpText); - } - - private static PropertyInfo GenerateParameter(string name, string type, string parameterAttributeValues, string helpText) + private static string GenerateParameter(string name, string type, string parameterAttributeValues, string helpText) => GenerateParameter(name, type, new List<(string, string)>() { ("Parameter", parameterAttributeValues) }, helpText); - private static PropertyInfo GenerateParameter(string name, string type, IList<(string, string)> attributes, string helpText) - => new PropertyInfo(name, type, $@" - /// - /// {helpText} - /// -{string.Join("\n", attributes?.Select(kv => $" [{kv.Item1}({kv.Item2})]") ?? new[] { " [Parameter]" })} - public {type} {name} {{ get; set; }} -"); - - private static bool IsGetScopeCmdlet(CmdletInfo cmdlet) - => _scopeNames.Contains(cmdlet.Noun) && cmdlet.Verb.Equals("Get"); - - private static bool IsPipelineProperty(CmdletScope currentScope, CmdletInfo cmdlet) - => !cmdlet.NoAutoPipeline && - (cmdlet.Verb.Equals("Get") || - cmdlet.Verb.StartsWith("Connect") || - cmdlet.Verb.StartsWith("Export") - ) && ((int)cmdlet.Scope == (int)currentScope); - - private static readonly string[] _scopeNames = new[]{ - "ConfigurationServer", "Organization", "TeamProjectCollection", "TeamProject", "Team" }; - private static readonly string[] _credentialParameterSetNames = new[]{ - "Cached credentials", "User name and password", "Credential object", "Personal Access Token", "Prompt for credential" }; - - - private static readonly List<(Predicate, Func>, string)> _generators = - new List<(Predicate, Func>, string)>() - { - // Basic properties + private static string GenerateParameter(string name, string type, IList<(string, string)> attributes, string helpText) + => $$""" - ((cmdlet) => cmdlet.Verb == "Rename", - ci => GenerateParameterAsList("NewName", "string", "Position = 1, Mandatory = true", "HELP_PARAM_NEWNAME"), "Rename->NewName"), - ((cmdlet) => cmdlet.Verb == "New" && cmdlet.Noun != "Credential", - ci => GenerateParameterAsList("Passthru", "SwitchParameter", string.Empty, "HELP_PARAM_PASSTHRU"), "New->Passthru"), - ((cmdlet) => cmdlet.Verb == "Set", - ci => GenerateParameterAsList("Passthru", "SwitchParameter", string.Empty, "HELP_PARAM_PASSTHRU"), "Set->Passthru"), - ((cmdlet) => cmdlet.Verb == "Connect", - ci => GenerateParameterAsList("Passthru", "SwitchParameter", string.Empty, "HELP_PARAM_PASSTHRU"), "Connect->Passthru"), - ((cmdlet) => cmdlet.Verb == "Enable", - ci => GenerateParameterAsList("Passthru", "SwitchParameter", string.Empty, "HELP_PARAM_PASSTHRU"), "Enable->Passthru"), - ((cmdlet) => cmdlet.Verb == "Disable", - ci => GenerateParameterAsList("Passthru", "SwitchParameter", string.Empty, "HELP_PARAM_PASSTHRU"), "Disable->Passthru"), + /// + /// {{helpText}} + /// + {{string.Join("\n", attributes?.Select(kv => $" [{kv.Item1}({kv.Item2})]") ?? new[] { " [Parameter]" })}} + public {{type}} {{name}} { get; set; } - // Scope properties + """; - ((cmdlet) => (int)cmdlet.Scope >= (int)CmdletScope.Team, ci => GenerateScopeProperty(CmdletScope.Team, ci), "Scope properties"), - ((cmdlet) => (int)cmdlet.Scope >= (int)CmdletScope.Project, ci => GenerateScopeProperty(CmdletScope.Project, ci), "Scope properties"), - ((cmdlet) => (int)cmdlet.Scope >= (int)CmdletScope.Collection, ci => GenerateScopeProperty(CmdletScope.Collection, ci), "Scope properties"), - ((cmdlet) => (int)cmdlet.Scope >= (int)CmdletScope.Server, ci => GenerateScopeProperty(CmdletScope.Server, ci), "Scope properties"), + private bool IsGetScopeCmdlet + => ScopeNames.Contains(Noun) && Verb.Equals("Get"); - // Credential properties + private bool IsPipelineProperty(CmdletScope currentScope) + => !NoAutoPipeline && "GetConnectExport".IndexOf(Verb, StringComparison.Ordinal) >=0 && ((int)Scope == (int)currentScope); - ((cmdlet) => cmdlet.Verb == "Connect", GenerateCredentialProperties, "Connect->Credential"), - ((cmdlet) => IsGetScopeCmdlet(cmdlet), GenerateCredentialProperties, "(IsScope)->Credential"), - ((cmdlet) => cmdlet.Name == "NewCredential", GenerateCredentialProperties, "NewCredential->Credential"), - - // CustomController property - ((cmdlet) => !string.IsNullOrEmpty(cmdlet.CustomControllerName), GenerateCustomControllerProperty, "CustomController"), - - // ReturnsValue property - ((cmdlet) => cmdlet.ReturnsValue, GenerateReturnsValueProperty, "ReturnsValue"), + private static readonly string[] ScopeNames = new[]{ + "ConfigurationServer", "Organization", "TeamProjectCollection", "TeamProject", "Team" }; - // Areas/Iterations StructureGroup property - ((cmdlet) => cmdlet.Name.EndsWith("Area") || cmdlet.Name.EndsWith("Iteration"), GenerateStructureGroupProperty, "(Area/Iteration)->StructureGroup"), - }; + private static readonly string[] CredentialParameterSetNames = new[]{ + "Cached credentials", "User name and password", "Credential object", "Personal Access Token", "Prompt for credential" }; - public override string GenerateCode() + private static EquatableArray GetParameterProperties(INamedTypeSymbol cmdlet) { - var props = new StringBuilder(); - foreach (var prop in ParameterProperties) props.Append(prop); - - return $$""" - {{Usings}} - - namespace {{Namespace}} - { - {{CmdletAttribute}}{{OutputTypeAttribute}} - public partial class {{Name}}: CmdletBase - {{{props}} - } - } - """; + var props = cmdlet + .GetPropertiesWithAttribute("Parameter") // TODO + .Select(p => new ParameterInfo(p)).ToList(); + + return new EquatableArray(props.Count > 0 ? + props.ToArray() : + Array.Empty()); } internal static CmdletInfo Create(GeneratorAttributeSyntaxContext ctx) - { - if (ctx.TargetSymbol is not INamedTypeSymbol cmdletSymbol) return null; - return new CmdletInfo(cmdletSymbol); - } + => ctx.TargetSymbol is not INamedTypeSymbol cmdletSymbol + ? null + : new CmdletInfo(cmdletSymbol); } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs index 17ec24d60..40a23ae6d 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs @@ -13,7 +13,7 @@ public record ParameterInfo : PropertyInfo public ParameterInfo(IPropertySymbol prop) : base(prop) { - var attr = prop.GetAttribute("ParameterAttribute"); + var attr = prop.GetAttribute("Parameter"); // TODO if (attr == null) throw new ArgumentException($"Property {prop.Name} is not a Cmdlet parameter"); DontShow = attr.GetAttributeNamedValue("DontShow"); diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs index 5358e7a52..95d9a2187 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs @@ -1,6 +1,7 @@ using System.Text; using System.Linq; using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text; using TfsCmdlets.SourceGenerators.Generators.Cmdlets; @@ -13,13 +14,21 @@ public void Initialize(IncrementalGeneratorInitializationContext context) { var cmdletsToGenerate = context.SyntaxProvider .ForAttributeWithMetadataName( - "TfsCmdlets.Cmdlets.TfsCmdletAttribute", + "TfsCmdlets.TfsCmdletAttribute", predicate: (_, _) => true, transform: static (ctx, _) => CmdletInfo.Create(ctx)) .Where(static m => m is not null) .Select((m, _) => m!) .Collect(); + var controllerBaseClass = context.SyntaxProvider + .CreateSyntaxProvider( + predicate: (n, _) => n is ClassDeclarationSyntax { Identifier.ValueText: "ControllerBase" }, + transform: (ctx, _) => ctx.Node) + .Where(n => n is not null) + .Select((n, _) => n!) + .Collect(); + var controllersToGenerate = context.SyntaxProvider .ForAttributeWithMetadataName( "TfsCmdlets.CmdletControllerAttribute", @@ -27,17 +36,61 @@ public void Initialize(IncrementalGeneratorInitializationContext context) transform: static (ctx, _) => ControllerInfo.Create(ctx)) .Where(static m => m is not null) .Select((m, _) => m!) - .Combine(cmdletsToGenerate); + .Combine(cmdletsToGenerate) + .Combine(controllerBaseClass); context.RegisterSourceOutput(controllersToGenerate, static (spc, source) => { - var controller = source.Left; - var cmdlet = source.Right.OfType().FirstOrDefault(c => c.Name.Equals(controller.CmdletName)); - var result = controller.GenerateCode(cmdlet); + var controller = source.Left.Left; + var controllerBase = (ClassDeclarationSyntax) source.Right[0]; + var fullName = controllerBase.FullName(); + var allCmdlets = source.Left.Right.OfType().ToList(); + var cmdlet = allCmdlets.FirstOrDefault(c => c.Name.Equals(controller.CmdletName)); + var result = GenerateCode(controller, cmdlet); var filename = controller.FileName; spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); }); } + + private static string GenerateCode(ControllerInfo model, CmdletInfo cmdlet) + { + model.CmdletInfo = cmdlet; + + return $$""" + {{model.GenerateUsings()}} + + namespace {{model.Namespace}} + { + internal partial class {{model.Name}}: {{model.BaseClassName}} + { + {{model.GenerateClientProperty()}} + {{model.GenerateGetInputProperty()}} + {{model.GenerateDeclaredProperties()}}{{model.GenerateScopeProperties()}} + + // ParameterSetName + protected bool Has_ParameterSetName {get;set;} + protected string ParameterSetName {get;set;} + {{model.GenerateItemsProperty()}} + // DataType + public override Type DataType => typeof({{model.DataType}}); + + protected override void CacheParameters() + { + {{model.GenerateCacheProperties()}} + } + + [ImportingConstructor] + public {{model.Name}}({{model.CtorArgs}}) + : base({{model.BaseCtorArgs}}) + { + {{model.ImportingConstructorBody}} + } + } + } + + """; + } + } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index 841437dc3..df56d273c 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -1,20 +1,19 @@ -using System; -using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp.Syntax; +using System; using System.Collections.Generic; using System.Linq; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; +using System.Text; +using TfsCmdlets.Services; using TfsCmdlets.SourceGenerators.Generators.Cmdlets; namespace TfsCmdlets.SourceGenerators.Generators.Controllers { public record ControllerInfo : ClassInfo { - public CmdletInfo CmdletInfo { get; private set; } - public string CmdletClass {get;} - public string Noun { get; } + public CmdletInfo CmdletInfo { get; set; } + public string CmdletClass { get; } public string GenericArg { get; } - public string Verb { get; } public string DataType { get; } public string Client { get; } public string BaseClass { get; } @@ -22,10 +21,13 @@ public record ControllerInfo : ClassInfo public string Cmdlet { get; } public string Usings { get; } private bool SkipGetProperty { get; } - private string ImportingConstructorBody { get; } - private string CtorArgs { get; } - private string BaseCtorArgs { get; } - private string BaseClassName => BaseClass.Contains('.') ? BaseClass.Split('.').Last() : BaseClass; + public string ImportingConstructorBody { get; } + public string CtorArgs { get; } + public string BaseCtorArgs { get; } + + public string BaseClassName => BaseClass.Contains('.') ? BaseClass.Split('.').Last() : BaseClass; + public string Verb => CmdletInfo.Verb; + public string Noun => CmdletInfo.Noun; internal ControllerInfo(INamedTypeSymbol controller) : base(controller) @@ -40,140 +42,178 @@ internal ControllerInfo(INamedTypeSymbol controller) CmdletName = cmdletClassName.Substring(cmdletClassName.LastIndexOf('.') + 1); var customBaseClass = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomBaseClass"); + //var baseClass = customBaseClass ?? + // context.Compilation.GetTypeByMetadataName("TfsCmdlets.Controllers.ControllerBase"); BaseClass = customBaseClass?.FullName() ?? "TfsCmdlets.Controllers.ControllerBase"; DataType = controller.GetAttributeConstructorValue("CmdletControllerAttribute").FullName(); Client = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client").FullName(); GenericArg = DataType == null ? string.Empty : $"<{DataType}>"; - Verb = cmdletClassName.Substring(0, cmdletClassName.FindIndex(char.IsUpper, 1)); - Noun = cmdletClassName.Substring(Verb.Length); + + //CtorArgs = controller.GetImportingConstructorArguments(); // GenerateProperties(); } - public string GenerateCode(CmdletInfo cmdlet) + public string GenerateUsings() { - CmdletInfo = cmdlet; - return GenerateCode(); + return CmdletInfo?.Usings ?? "using System;"; } - public override string GenerateCode() + public string GenerateClientProperty() { - return $@"{HEADER} - -{GenerateUsings()} - -namespace {Namespace} -{{ - // - internal partial class {Name}: {BaseClassName} - {{ - // Client property! - {GenerateClientProperty()} - - // Input property - {GenerateGetInputProperty()} - - // Cmdlet explicit (declared) parameters - {GenerateDeclaredProperties()} - - // Cmdlet implicit (source-gen'ed) parameters - {GenerateImplicitProperties()} + return Client == null ? string.Empty : $$""" + private {{Client}} Client { get; } + + """; + } - // Scope properties - {GenerateScopeProperties()} + public string GenerateGetInputProperty() + { + if (Verb != "Get") return string.Empty; - // ParameterSetName - {GenerateParameterSetProperty()} + var prop = CmdletInfo.ParameterProperties.First(); + var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; - // 'Items' property - {GenerateItemsProperty()} + return $$""" + // {{prop.Name}} + protected bool Has_{{prop.Name}} => Parameters.HasParameter(nameof({{prop.Name}})); + protected IEnumerable {{prop.Name}} + { + get + { + var paramValue = Parameters.Get(nameof({{prop.Name}}){{initializer}}); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + """; + } + public string GenerateDeclaredProperties() + { + var sb = new StringBuilder(); + + foreach (var prop in CmdletInfo.ParameterProperties.Skip(Verb == "Get" ? 1 : 0)) + { + sb.Append($$""" + + // {{prop.Name}} + protected bool Has_{{prop.Name}} { get; set; } + protected {{(prop.Type == "SwitchParameter" ? "bool" : prop.Type)}} {{prop.Name}} { get; set; } + + """); + } + + return sb.ToString(); + } - // DataType - {GenerateDataTypeProperty()} + public string GenerateScopeProperties() + { + var scope = CmdletInfo.Scope; + var sb = new StringBuilder(); - protected override void CacheParameters() - {{ - {GenerateCacheProperties()} - }} + if ((int)scope >= (int)CmdletScope.Team) GenerateScopeProperty(CmdletScope.Team, "WebApiTeam", sb); + if ((int)scope >= (int)CmdletScope.Project) GenerateScopeProperty(CmdletScope.Project, "WebApiTeamProject", sb); + if ((int)scope >= (int)CmdletScope.Collection) GenerateScopeProperty(CmdletScope.Collection, "Models.Connection", sb); + if ((int)scope >= (int)CmdletScope.Server) GenerateScopeProperty(CmdletScope.Server, "Models.Connection", sb); - [ImportingConstructor] - public {Name}({CtorArgs}) - : base({BaseCtorArgs}) - {{ -{ImportingConstructorBody} - }} - }} -}} -"; + return sb.ToString(); } - private string GenerateUsings() + private void GenerateScopeProperty(CmdletScope scope, string scopeType, StringBuilder sb) { - return CmdletInfo?.Usings ?? "using System;"; + var scopeName = scope.ToString(); + + sb.Append($$""" + + // {{scopeName}} + protected bool Has_{{scopeName}} => Parameters.HasParameter("{{scopeName}}"); + protected {{scopeType}} {{scopeName}} => Data.Get{{scopeName}}(); + + """); } - private string GenerateClientProperty() + public string GenerateParameterSetProperty() { - return Client == null ? string.Empty : $"private {Client} Client {{ get; }}"; + return $$""" + // ParameterSetName + protected bool Has_ParameterSetName {get;set;} + protected string ParameterSetName {get;set;} + + """; } - private string GenerateGetInputProperty() + public string GenerateItemsProperty() { - var prop = CmdletInfo.ParameterProperties.First(); - var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; + var hasItemsProperty = !Verb.Equals("Get") + && CmdletInfo.ParameterProperties.Count > 0 + && CmdletInfo.ParameterProperties[0].Type.Equals("object"); - return $@" // {prop.Name} - protected bool Has_{prop.Name} => Parameters.HasParameter(nameof({prop.Name})); - protected IEnumerable {prop.Name} - {{ - get - {{ - var paramValue = Parameters.Get(nameof({prop.Name}){initializer}); - if(paramValue is ICollection col) return col; - return new[] {{ paramValue }}; - }} - }}"; -} + if (!hasItemsProperty) return string.Empty; - private string GenerateDeclaredProperties() - { - return string.Empty; - } + if (string.IsNullOrEmpty(DataType)) + { + return $""" - private string GenerateImplicitProperties() - { - return string.Empty; - } + // Items + protected IEnumerable Items => Data.Invoke("Get", "{Noun}"); - private string GenerateScopeProperties() - { - return string.Empty; - } - private string GenerateParameterSetProperty() - { - return string.Empty; - } + """; + } + + return $$""" + + // Items + protected IEnumerable{{GenericArg}} Items => {{CmdletInfo.ParameterProperties[0].Name}} switch { + {{DataType}} item => new[] { item }, + IEnumerable{{GenericArg}} items => items, + _ => Data.GetItems{{GenericArg}}() + }; + + """; - private string GenerateItemsProperty() - { - return string.Empty; } - private string GenerateDataTypeProperty() + public string GenerateDataTypeProperty() { - return string.Empty; + return $""" + // DataType + public override Type DataType => typeof({DataType}); + + + """; } - private string GenerateCacheProperties() + public string GenerateCacheProperties() { - return string.Empty; + var sb = new StringBuilder(); + + foreach (var prop in CmdletInfo.ParameterProperties.Skip(Verb == "Get" ? 1 : 0)) + { + sb.Append($$""" + + // {{prop.Name}} + Has_{{prop.Name}} = Parameters.HasParameter("{{prop.Name}}"); + {{prop.Name}} = Parameters.Get<{{(prop.Type == "SwitchParameter" ? "bool" : prop.Type)}}>("{{prop.Name}}"); + + """); + } + + sb.Append($$""" + + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + + """); + + return sb.ToString(); } - internal static ControllerInfo Create(GeneratorAttributeSyntaxContext ctx) => - ctx.TargetSymbol is not INamedTypeSymbol controllerSymbol ? - null : + internal static ControllerInfo Create(GeneratorAttributeSyntaxContext ctx) => + ctx.TargetSymbol is not INamedTypeSymbol controllerSymbol ? + null : new ControllerInfo(controllerSymbol); } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs deleted file mode 100644 index f05cc489c..000000000 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientAttribute.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace TfsCmdlets.SourceGenerators.Generators.HttpClients -{ - public static class HttpClientAttribute - { - public const string CODE = """ - using System; - - namespace TfsCmdlets - { - public class HttpClientAttribute : Attribute - { - public HttpClientAttribute(Type type) - { - Type = type; - } - - public Type Type { get; } - } - } - """; - } -} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs index 570c7c8a5..2779d337c 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs @@ -10,9 +10,6 @@ public class HttpClientGenerator : IIncrementalGenerator { public void Initialize(IncrementalGeneratorInitializationContext context) { - context.RegisterPostInitializationOutput(c => - c.AddSource("HttpClientAttribute.cs", HttpClientAttribute.CODE)); - var clientsToGenerate = context.SyntaxProvider .ForAttributeWithMetadataName( "TfsCmdlets.HttpClientAttribute", @@ -24,10 +21,56 @@ public void Initialize(IncrementalGeneratorInitializationContext context) context.RegisterSourceOutput(clientsToGenerate, static (spc, source) => { - var result = source.GenerateCode(); + var result = GenerateCode(source); var filename = source.FileName; spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); }); } + + private static string GenerateCode(HttpClientInfo model) + { + return $$""" + using System.Composition; + {{model.UsingsStatements}} + + namespace {{model.Namespace}} + { + public partial interface {{model.Name}}: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + {{model.GetInterfaceBody()}} + } + + [Export(typeof({{model.Name}}))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class {{model.Name}}Impl: {{model.Name}} + { + private {{model.OriginalType}} _client; + + protected IDataManager Data { get; } + + [ImportingConstructor] + public {{model.Name}}Impl(IDataManager data) + { + Data = data; + } + + private {{model.OriginalType}} Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{model.OriginalType}})) as {{model.OriginalType}}; + } + return _client; + } + } + + {{model.GetClassBody()}} + } + } + """; + } + } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs index adb716f5c..bc905ef7e 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs @@ -24,7 +24,7 @@ public static HttpClientInfo Create(GeneratorAttributeSyntaxContext ctx) new HttpClientInfo(namedTypeSymbol); } - private string GetInterfaceBody() + public string GetInterfaceBody() { var sb = new StringBuilder(); @@ -37,7 +37,7 @@ private string GetInterfaceBody() return sb.ToString(); } - private string GetClassBody() + public string GetClassBody() { var sb = new StringBuilder(); @@ -48,51 +48,5 @@ private string GetClassBody() return sb.ToString(); } - - - public override string GenerateCode() - { - return $$""" - using System.Composition; - {{UsingsStatements}} - - namespace {{Namespace}} - { - public partial interface {{Name}}: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient - { - {{GetInterfaceBody()}} - } - - [Export(typeof({{Name}}))] - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal class {{Name}}Impl: {{Name}} - { - private {{OriginalType}} _client; - - protected IDataManager Data { get; } - - [ImportingConstructor] - public {{Name}}Impl(IDataManager data) - { - Data = data; - } - - private {{OriginalType}} Client - { - get - { - if(_client == null) - { - _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof({{OriginalType}})) as {{OriginalType}}; - } - return _client; - } - } - - {{GetClassBody()}} - } - } - """; - } } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs index 4c8dfc207..fb0399bdd 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelGenerator.cs @@ -21,10 +21,30 @@ public void Initialize(IncrementalGeneratorInitializationContext context) context.RegisterSourceOutput(cmdletsToGenerate, static (spc, source) => { - var result = source.GenerateCode(); + var result = GenerateCode(source); var filename = source.FileName; spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); }); } + + private static string GenerateCode(ModelInfo model) + { + return $$""" + namespace {{model.Namespace}} + { + /* + InnerType: {{model.DataType.GetType()}} + */ + public partial class {{model.Name}}: ModelBase<{{model.DataType}}> + { + public {{model.Name}}({{model.DataType}} obj): base(obj) { } + public static implicit operator {{model.ModelType}}({{model.DataType}} obj) => new {{model.ModelType}}(obj); + public static implicit operator {{model.DataType}}({{model.ModelType}} obj) => obj.InnerObject; + } + } + + """; + } + } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs index 1d2b5f91e..d557476cb 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Models/ModelInfo.cs @@ -22,22 +22,5 @@ public static ModelInfo Create(GeneratorAttributeSyntaxContext ctx) DataType = symbol.GetAttributeConstructorValue("ModelAttribute").FullName() }; } - - public override string GenerateCode() - { - return $@"namespace {Namespace} -{{ -/* -InnerType: {DataType.GetType()} -*/ - public partial class {Name}: ModelBase<{DataType}> - {{ - public {Name}({DataType} obj): base(obj) {{ }} - public static implicit operator {ModelType}({DataType} obj) => new {ModelType}(obj); - public static implicit operator {DataType}({ModelType} obj) => obj.InnerObject; - }} -}} -"; - } } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 0b5250b3c..3d5b07fee 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -29,6 +29,10 @@ + + + + C:\Users\h313059\.nuget\packages\system.composition.attributedmodel\9.0.8\lib\netstandard2.0\System.Composition.AttributedModel.dll From 4252882168a430b194f09bcecde2530c8960b05c Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Thu, 18 Sep 2025 04:42:27 -0300 Subject: [PATCH 11/36] Refactor code --- .../CmdletControllerAttribute.cs | 28 ++++ .../Cmdlets/CmdletBase.cs | 0 .../Controllers}/ControllerBase.cs | 0 .../Enums.cs | 0 .../Extensions/HashtableExtensions.cs | 0 .../Extensions/JsonExtensions.cs | 0 .../Extensions/ListExtensions.cs | 0 .../Extensions/ObjectExtensions.cs | 0 .../Extensions/PSObjectExtensions.cs | 0 .../Extensions/PipelineExtensions.cs | 0 .../Extensions/StringExtensions.cs | 0 .../Extensions/TaskExtensions.cs | 0 .../Extensions/TeamProjectExtensions.cs | 0 .../Extensions/WorkItemExtensions.cs | 0 .../Extensions/XmlExtensions.cs | 0 .../GlobalUsings.cs | 0 .../HttpClientAttribute.cs | 4 +- .../IAccountLicensingHttpClient.cs | 2 +- .../HttpClients/IBuildHttpClient.cs | 2 +- .../IExtensionManagementHttpClient.cs | 2 +- .../HttpClients/IFeedHttpClient.cs | 2 +- .../HttpClients/IGenericHttpClient.cs | 2 +- .../HttpClients/IGitExtendedHttpClient.cs | 2 +- .../HttpClients/IGitHttpClient.cs | 2 +- .../HttpClients/IGraphHttpClient.cs | 2 +- .../HttpClients/IIdentityHttpClient.cs | 2 +- .../HttpClients/IOperationsHttpClient.cs | 2 +- .../HttpClients/IPolicyHttpClient.cs | 2 +- .../HttpClients/IProcessHttpClient.cs | 2 +- .../HttpClients/IProjectHttpClient.cs | 2 +- .../HttpClients/IReleaseHttpClient.cs | 2 +- .../HttpClients/IReleaseHttpClient2.cs | 2 +- .../HttpClients/ISearchHttpClient.cs | 2 +- .../IServiceHooksPublisherHttpClient.cs | 2 +- .../HttpClients/ITaggingHttpClient.cs | 2 +- .../HttpClients/ITeamAdminHttpClient.cs | 2 +- .../HttpClients/ITeamHttpClient.cs | 2 +- .../HttpClients/ITestPlanHttpClient.cs | 2 +- .../HttpClients/IVssHttpClient.cs | 0 .../HttpClients/IWikiHttpClient.cs | 2 +- .../HttpClients/IWorkHttpClient.cs | 2 +- .../IWorkItemTrackingHttpClient.cs | 2 +- .../IWorkItemTrackingProcessHttpClient.cs | 2 +- .../HttpClients/Impl/GenericHttpClient.cs | 0 .../HttpClients/Impl/GitExtendedHttpClient.cs | 0 .../HttpClients/Impl/TeamAdminHttpClient.cs | 0 CSharp/TfsCmdlets.Shared/ModelAttribute.cs | 12 ++ .../Models/BacklogLevelConfiguration.cs | 0 .../Models/Board.cs | 0 .../Models/CardRule.cs | 0 .../Models/ClassificationNode.cs | 4 +- .../Models/Connection.cs | 0 .../Models/ContributionNodeQuery.cs | 0 .../Models/GitItem.cs | 0 .../Models/GlobalList.cs | 0 .../Models/Identity.cs | 0 .../Models/IdentityRefWrapper.cs | 0 .../Models/ModelBase.cs | 0 .../Models/Parameter.cs | 0 .../Models}/QueryItem.cs | 0 .../Models/ServerVersion.cs | 0 .../Models/Team.cs | 0 .../Models/TeamAdmin.cs | 0 .../Models/TeamMember.cs | 0 .../Models/TeamProjectMember.cs | 0 .../Models/TfsInstallationPath.cs | 0 .../Models/WorkItemHistory.cs | 0 .../Services/IAsyncOperationAwaiter.cs | 0 .../Services/IController.cs | 0 .../Services/ICurrentConnections.cs | 0 .../Services/IDataManager.cs | 0 .../Services/IInteractiveAuthentication.cs | 0 .../Services/IKnownWorkItemLinkTypes.cs | 0 .../Services/ILegacyWorkItemService.cs | 0 .../Services/ILogger.cs | 0 .../Services/INodeUtil.cs | 0 .../Services/IPaginator.cs | 0 .../Services/IParameterManager.cs | 0 .../Services/IPowerShellService.cs | 0 .../Services/IProcessUtil.cs | 0 .../Services/IRegistryService.cs | 0 .../Services/IRestApiService.cs | 0 .../Services/IRuntimeUtil.cs | 0 .../Services/ITfsServiceProvider.cs | 0 .../Services/ITfsVersionTable.cs | 0 .../Services/IWorkItemPatchBuilder.cs | 0 .../Services/ServiceLocator.cs | 0 .../TfsCmdletAttribute.cs | 2 +- .../TfsCmdlets.Shared.projitems | 106 ++++++++++++++ .../TfsCmdlets.Shared.shproj | 13 ++ .../Util/ErrorUtil.cs | 0 .../Util/LazyProperty.cs | 0 .../Util/Mru.cs | 0 .../Util/PSJsonConverter.cs | 0 .../WorkItemFieldAttribute.cs | 17 +++ .../Cmdlets/Can_Create_Get_Cmdlet.cs | 16 +++ .../Controllers/Can_Create_Get_Controller.cs | 46 +----- .../Controllers/Can_Create_New_Controller.cs | 16 +++ .../HttpClientGenerator/Can_Create_Client.cs | 21 +-- .../RoslynReferenceHelper.cs | 3 +- .../TestBase.cs | 0 .../TestHelper.cs | 132 +++++++++++++++++- ...sCmdlets.SourceGenerators.UnitTests.csproj | 42 +++--- ...Cmdlets.Git.GetGitRepository.g.verified.cs | 28 ++++ ....GetGitRepositoryController.g.verified.cs} | 9 +- ....GetGitRepositoryController.g.verified.cs} | 0 ...t.NewGitRepositoryController.g.verified.cs | 77 ++++++++++ .../HttpClientAttribute.verified.cs | 15 -- ...IAccountLicensingHttpClient.g.verified.cs} | 2 +- .../TfsCmdlets.SourceGenerators/ClassInfo.cs | 31 +++- .../TfsCmdlets.SourceGenerators/Extensions.cs | 15 +- .../Generators/Cmdlets/CmdletGenerator.cs | 7 +- .../Generators/Cmdlets/CmdletInfo.cs | 2 +- .../Generators/Cmdlets/ParameterInfo.cs | 2 +- .../Controllers/ControllerGenerator.cs | 32 ++--- .../Generators/Controllers/ControllerInfo.cs | 94 +++++++++++-- .../PropertyInfo.cs | 4 +- .../TfsCmdlets.SourceGenerators.csproj | 4 - CSharp/TfsCmdlets.sln | 11 +- CSharp/TfsCmdlets/Attributes.cs | 71 ---------- CSharp/TfsCmdlets/TfsCmdlets.csproj | 2 + 121 files changed, 660 insertions(+), 258 deletions(-) create mode 100644 CSharp/TfsCmdlets.Shared/CmdletControllerAttribute.cs rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/CmdletBase.cs (100%) rename CSharp/{TfsCmdlets/Cmdlets => TfsCmdlets.Shared/Controllers}/ControllerBase.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Enums.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/HashtableExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/JsonExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/ListExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/ObjectExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/PSObjectExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/PipelineExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/StringExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/TaskExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/TeamProjectExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/WorkItemExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Extensions/XmlExtensions.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/GlobalUsings.cs (100%) rename CSharp/{TfsCmdlets/HttpClients => TfsCmdlets.Shared}/HttpClientAttribute.cs (63%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IAccountLicensingHttpClient.cs (73%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IBuildHttpClient.cs (74%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IExtensionManagementHttpClient.cs (74%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IFeedHttpClient.cs (74%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IGenericHttpClient.cs (65%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IGitExtendedHttpClient.cs (73%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IGitHttpClient.cs (76%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IGraphHttpClient.cs (75%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IIdentityHttpClient.cs (75%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IOperationsHttpClient.cs (73%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IPolicyHttpClient.cs (74%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IProcessHttpClient.cs (72%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IProjectHttpClient.cs (74%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IReleaseHttpClient.cs (77%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IReleaseHttpClient2.cs (77%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/ISearchHttpClient.cs (75%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IServiceHooksPublisherHttpClient.cs (72%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/ITaggingHttpClient.cs (74%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/ITeamAdminHttpClient.cs (98%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/ITeamHttpClient.cs (75%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/ITestPlanHttpClient.cs (77%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IVssHttpClient.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IWikiHttpClient.cs (74%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IWorkHttpClient.cs (75%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IWorkItemTrackingHttpClient.cs (73%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/IWorkItemTrackingProcessHttpClient.cs (72%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/Impl/GenericHttpClient.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/Impl/GitExtendedHttpClient.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/HttpClients/Impl/TeamAdminHttpClient.cs (100%) create mode 100644 CSharp/TfsCmdlets.Shared/ModelAttribute.cs rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/BacklogLevelConfiguration.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/Board.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/CardRule.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/ClassificationNode.cs (94%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/Connection.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/ContributionNodeQuery.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/GitItem.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/GlobalList.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/Identity.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/IdentityRefWrapper.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/ModelBase.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/Parameter.cs (100%) rename CSharp/{TfsCmdlets/Models/WorkItem/Query => TfsCmdlets.Shared/Models}/QueryItem.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/ServerVersion.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/Team.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/TeamAdmin.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/TeamMember.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/TeamProjectMember.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/TfsInstallationPath.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Models/WorkItemHistory.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IAsyncOperationAwaiter.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IController.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/ICurrentConnections.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IDataManager.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IInteractiveAuthentication.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IKnownWorkItemLinkTypes.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/ILegacyWorkItemService.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/ILogger.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/INodeUtil.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IPaginator.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IParameterManager.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IPowerShellService.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IProcessUtil.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IRegistryService.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IRestApiService.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IRuntimeUtil.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/ITfsServiceProvider.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/ITfsVersionTable.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/IWorkItemPatchBuilder.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Services/ServiceLocator.cs (100%) rename CSharp/{TfsCmdlets/Cmdlets => TfsCmdlets.Shared}/TfsCmdletAttribute.cs (97%) create mode 100644 CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems create mode 100644 CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.shproj rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Util/ErrorUtil.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Util/LazyProperty.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Util/Mru.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Util/PSJsonConverter.cs (100%) create mode 100644 CSharp/TfsCmdlets.Shared/WorkItemFieldAttribute.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_New_Controller.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestBase.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs => Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs} (95%) rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/{HttpClientGenerator/Can_Create_Controller/HttpClientAttribute.verified.cs => ControllerGenerator/Can_Create_HttpClient#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs} (100%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/{Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs => Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs} (99%) delete mode 100644 CSharp/TfsCmdlets/Attributes.cs diff --git a/CSharp/TfsCmdlets.Shared/CmdletControllerAttribute.cs b/CSharp/TfsCmdlets.Shared/CmdletControllerAttribute.cs new file mode 100644 index 000000000..8dcea2a99 --- /dev/null +++ b/CSharp/TfsCmdlets.Shared/CmdletControllerAttribute.cs @@ -0,0 +1,28 @@ +namespace TfsCmdlets { + + [AttributeUsage(System.AttributeTargets.Class, Inherited = true, AllowMultiple = false)] + public sealed class CmdletControllerAttribute : ExportAttribute + { + public Type DataType { get; } + + public string CustomCmdletName { get; set; } + + public string[] CustomVerbs { get; set; } + + public string[] CustomNouns { get; set; } + + public Type CustomBaseClass { get; set; } + + public Type Client { get; set; } + + + public CmdletControllerAttribute() : base(typeof(IController)) + { + } + + public CmdletControllerAttribute(Type dataType) : base(typeof(IController)) + { + DataType = dataType; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets/Cmdlets/CmdletBase.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/CmdletBase.cs similarity index 100% rename from CSharp/TfsCmdlets/Cmdlets/CmdletBase.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/CmdletBase.cs diff --git a/CSharp/TfsCmdlets/Cmdlets/ControllerBase.cs b/CSharp/TfsCmdlets.Shared/Controllers/ControllerBase.cs similarity index 100% rename from CSharp/TfsCmdlets/Cmdlets/ControllerBase.cs rename to CSharp/TfsCmdlets.Shared/Controllers/ControllerBase.cs diff --git a/CSharp/TfsCmdlets/Enums.cs b/CSharp/TfsCmdlets.Shared/Enums.cs similarity index 100% rename from CSharp/TfsCmdlets/Enums.cs rename to CSharp/TfsCmdlets.Shared/Enums.cs diff --git a/CSharp/TfsCmdlets/Extensions/HashtableExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/HashtableExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/HashtableExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/HashtableExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/JsonExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/JsonExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/JsonExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/JsonExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/ListExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/ListExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/ListExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/ListExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/ObjectExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/ObjectExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/ObjectExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/ObjectExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/PSObjectExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/PSObjectExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/PSObjectExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/PSObjectExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/PipelineExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/PipelineExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/PipelineExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/PipelineExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/StringExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/StringExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/StringExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/StringExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/TaskExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/TaskExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/TaskExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/TaskExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/TeamProjectExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/TeamProjectExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/TeamProjectExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/TeamProjectExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/WorkItemExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/WorkItemExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/WorkItemExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/WorkItemExtensions.cs diff --git a/CSharp/TfsCmdlets/Extensions/XmlExtensions.cs b/CSharp/TfsCmdlets.Shared/Extensions/XmlExtensions.cs similarity index 100% rename from CSharp/TfsCmdlets/Extensions/XmlExtensions.cs rename to CSharp/TfsCmdlets.Shared/Extensions/XmlExtensions.cs diff --git a/CSharp/TfsCmdlets/GlobalUsings.cs b/CSharp/TfsCmdlets.Shared/GlobalUsings.cs similarity index 100% rename from CSharp/TfsCmdlets/GlobalUsings.cs rename to CSharp/TfsCmdlets.Shared/GlobalUsings.cs diff --git a/CSharp/TfsCmdlets/HttpClients/HttpClientAttribute.cs b/CSharp/TfsCmdlets.Shared/HttpClientAttribute.cs similarity index 63% rename from CSharp/TfsCmdlets/HttpClients/HttpClientAttribute.cs rename to CSharp/TfsCmdlets.Shared/HttpClientAttribute.cs index 53005de99..038bb9603 100644 --- a/CSharp/TfsCmdlets/HttpClients/HttpClientAttribute.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClientAttribute.cs @@ -1,6 +1,6 @@ -namespace TfsCmdlets.HttpClients +namespace TfsCmdlets { - public class HttpClientAttribute : Attribute + public sealed class HttpClientAttribute : Attribute { public HttpClientAttribute(Type type) { diff --git a/CSharp/TfsCmdlets/HttpClients/IAccountLicensingHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IAccountLicensingHttpClient.cs similarity index 73% rename from CSharp/TfsCmdlets/HttpClients/IAccountLicensingHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IAccountLicensingHttpClient.cs index 1fdad0e29..107eef9f3 100644 --- a/CSharp/TfsCmdlets/HttpClients/IAccountLicensingHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IAccountLicensingHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(AccountLicensingHttpClient))] - partial interface IAccountLicensingHttpClient + public partial interface IAccountLicensingHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IBuildHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IBuildHttpClient.cs similarity index 74% rename from CSharp/TfsCmdlets/HttpClients/IBuildHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IBuildHttpClient.cs index 1836bb416..d172ee91f 100644 --- a/CSharp/TfsCmdlets/HttpClients/IBuildHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IBuildHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(BuildHttpClient))] - partial interface IBuildHttpClient + public partial interface IBuildHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IExtensionManagementHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IExtensionManagementHttpClient.cs similarity index 74% rename from CSharp/TfsCmdlets/HttpClients/IExtensionManagementHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IExtensionManagementHttpClient.cs index 3ee0f204d..8ba034199 100644 --- a/CSharp/TfsCmdlets/HttpClients/IExtensionManagementHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IExtensionManagementHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(ExtensionManagementHttpClient))] - partial interface IExtensionManagementHttpClient + public partial interface IExtensionManagementHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IFeedHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IFeedHttpClient.cs similarity index 74% rename from CSharp/TfsCmdlets/HttpClients/IFeedHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IFeedHttpClient.cs index 11f3cf95f..d0359244e 100644 --- a/CSharp/TfsCmdlets/HttpClients/IFeedHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IFeedHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(FeedHttpClient))] - partial interface IFeedHttpClient { + public partial interface IFeedHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IGenericHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IGenericHttpClient.cs similarity index 65% rename from CSharp/TfsCmdlets/HttpClients/IGenericHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IGenericHttpClient.cs index 238ffc206..f7d80843e 100644 --- a/CSharp/TfsCmdlets/HttpClients/IGenericHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IGenericHttpClient.cs @@ -1,7 +1,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(GenericHttpClient))] - partial interface IGenericHttpClient + public partial interface IGenericHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IGitExtendedHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IGitExtendedHttpClient.cs similarity index 73% rename from CSharp/TfsCmdlets/HttpClients/IGitExtendedHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IGitExtendedHttpClient.cs index d751893c1..9ed61ac13 100644 --- a/CSharp/TfsCmdlets/HttpClients/IGitExtendedHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IGitExtendedHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(GitExtendedHttpClient))] - partial interface IGitExtendedHttpClient + public partial interface IGitExtendedHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IGitHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IGitHttpClient.cs similarity index 76% rename from CSharp/TfsCmdlets/HttpClients/IGitHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IGitHttpClient.cs index 5871cb3aa..4eae42a4f 100644 --- a/CSharp/TfsCmdlets/HttpClients/IGitHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IGitHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(GitHttpClient))] - partial interface IGitHttpClient + public partial interface IGitHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IGraphHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IGraphHttpClient.cs similarity index 75% rename from CSharp/TfsCmdlets/HttpClients/IGraphHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IGraphHttpClient.cs index 2e9e3edf2..f085ba38a 100644 --- a/CSharp/TfsCmdlets/HttpClients/IGraphHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IGraphHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(GraphHttpClient))] - partial interface IGraphHttpClient + public partial interface IGraphHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IIdentityHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IIdentityHttpClient.cs similarity index 75% rename from CSharp/TfsCmdlets/HttpClients/IIdentityHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IIdentityHttpClient.cs index f9a9eb596..a7758e2d2 100644 --- a/CSharp/TfsCmdlets/HttpClients/IIdentityHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IIdentityHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(IdentityHttpClient))] - partial interface IIdentityHttpClient + public partial interface IIdentityHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IOperationsHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IOperationsHttpClient.cs similarity index 73% rename from CSharp/TfsCmdlets/HttpClients/IOperationsHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IOperationsHttpClient.cs index a2eb79ba8..6abcfd51d 100644 --- a/CSharp/TfsCmdlets/HttpClients/IOperationsHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IOperationsHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(OperationsHttpClient))] - partial interface IOperationsHttpClient { + public partial interface IOperationsHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IPolicyHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IPolicyHttpClient.cs similarity index 74% rename from CSharp/TfsCmdlets/HttpClients/IPolicyHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IPolicyHttpClient.cs index 505347d97..c0a3ffbc7 100644 --- a/CSharp/TfsCmdlets/HttpClients/IPolicyHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IPolicyHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(PolicyHttpClient))] - partial interface IPolicyHttpClient + public partial interface IPolicyHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IProcessHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IProcessHttpClient.cs similarity index 72% rename from CSharp/TfsCmdlets/HttpClients/IProcessHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IProcessHttpClient.cs index 827ce0a27..eab76dd34 100644 --- a/CSharp/TfsCmdlets/HttpClients/IProcessHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IProcessHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(ProcessHttpClient))] - partial interface IProcessHttpClient { + public partial interface IProcessHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IProjectHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IProjectHttpClient.cs similarity index 74% rename from CSharp/TfsCmdlets/HttpClients/IProjectHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IProjectHttpClient.cs index e37153677..ea2847722 100644 --- a/CSharp/TfsCmdlets/HttpClients/IProjectHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IProjectHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(ProjectHttpClient))] - partial interface IProjectHttpClient + public partial interface IProjectHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IReleaseHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IReleaseHttpClient.cs similarity index 77% rename from CSharp/TfsCmdlets/HttpClients/IReleaseHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IReleaseHttpClient.cs index 14c42e006..21bff1056 100644 --- a/CSharp/TfsCmdlets/HttpClients/IReleaseHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IReleaseHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(ReleaseHttpClient))] - partial interface IReleaseHttpClient + public partial interface IReleaseHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IReleaseHttpClient2.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IReleaseHttpClient2.cs similarity index 77% rename from CSharp/TfsCmdlets/HttpClients/IReleaseHttpClient2.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IReleaseHttpClient2.cs index f13cbe28f..f79011691 100644 --- a/CSharp/TfsCmdlets/HttpClients/IReleaseHttpClient2.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IReleaseHttpClient2.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(ReleaseHttpClient2))] - partial interface IReleaseHttpClient2 + public partial interface IReleaseHttpClient2 { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/ISearchHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/ISearchHttpClient.cs similarity index 75% rename from CSharp/TfsCmdlets/HttpClients/ISearchHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/ISearchHttpClient.cs index a7d16645e..aa1c5def5 100644 --- a/CSharp/TfsCmdlets/HttpClients/ISearchHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/ISearchHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(SearchHttpClient))] - partial interface ISearchHttpClient + public partial interface ISearchHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IServiceHooksPublisherHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IServiceHooksPublisherHttpClient.cs similarity index 72% rename from CSharp/TfsCmdlets/HttpClients/IServiceHooksPublisherHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IServiceHooksPublisherHttpClient.cs index ce189c8cc..713212237 100644 --- a/CSharp/TfsCmdlets/HttpClients/IServiceHooksPublisherHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IServiceHooksPublisherHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(ServiceHooksPublisherHttpClient))] - partial interface IServiceHooksPublisherHttpClient + public partial interface IServiceHooksPublisherHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/ITaggingHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/ITaggingHttpClient.cs similarity index 74% rename from CSharp/TfsCmdlets/HttpClients/ITaggingHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/ITaggingHttpClient.cs index cfde10a22..59018bd17 100644 --- a/CSharp/TfsCmdlets/HttpClients/ITaggingHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/ITaggingHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(TaggingHttpClient))] - partial interface ITaggingHttpClient + public partial interface ITaggingHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/ITeamAdminHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/ITeamAdminHttpClient.cs similarity index 98% rename from CSharp/TfsCmdlets/HttpClients/ITeamAdminHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/ITeamAdminHttpClient.cs index 282dbf1a3..10283b40c 100644 --- a/CSharp/TfsCmdlets/HttpClients/ITeamAdminHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/ITeamAdminHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(TeamAdminHttpClient))] - partial interface ITeamAdminHttpClient + public partial interface ITeamAdminHttpClient { } diff --git a/CSharp/TfsCmdlets/HttpClients/ITeamHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/ITeamHttpClient.cs similarity index 75% rename from CSharp/TfsCmdlets/HttpClients/ITeamHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/ITeamHttpClient.cs index fe4a56e03..2609b3bcf 100644 --- a/CSharp/TfsCmdlets/HttpClients/ITeamHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/ITeamHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(TeamHttpClient))] - partial interface ITeamHttpClient + public partial interface ITeamHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/ITestPlanHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/ITestPlanHttpClient.cs similarity index 77% rename from CSharp/TfsCmdlets/HttpClients/ITestPlanHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/ITestPlanHttpClient.cs index 9b0fafdf2..d430b6bd3 100644 --- a/CSharp/TfsCmdlets/HttpClients/ITestPlanHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/ITestPlanHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(TestPlanHttpClient))] - partial interface ITestPlanHttpClient + public partial interface ITestPlanHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IVssHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IVssHttpClient.cs similarity index 100% rename from CSharp/TfsCmdlets/HttpClients/IVssHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IVssHttpClient.cs diff --git a/CSharp/TfsCmdlets/HttpClients/IWikiHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IWikiHttpClient.cs similarity index 74% rename from CSharp/TfsCmdlets/HttpClients/IWikiHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IWikiHttpClient.cs index 92c80ecb1..cc89e69e7 100644 --- a/CSharp/TfsCmdlets/HttpClients/IWikiHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IWikiHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(WikiHttpClient))] - partial interface IWikiHttpClient + public partial interface IWikiHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IWorkHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IWorkHttpClient.cs similarity index 75% rename from CSharp/TfsCmdlets/HttpClients/IWorkHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IWorkHttpClient.cs index 82221dde9..66a5fe802 100644 --- a/CSharp/TfsCmdlets/HttpClients/IWorkHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IWorkHttpClient.cs @@ -4,7 +4,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(WorkHttpClient))] - partial interface IWorkHttpClient + public partial interface IWorkHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IWorkItemTrackingHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IWorkItemTrackingHttpClient.cs similarity index 73% rename from CSharp/TfsCmdlets/HttpClients/IWorkItemTrackingHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IWorkItemTrackingHttpClient.cs index b8d3ea626..08bb65c11 100644 --- a/CSharp/TfsCmdlets/HttpClients/IWorkItemTrackingHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IWorkItemTrackingHttpClient.cs @@ -4,7 +4,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(WorkItemTrackingHttpClient))] - partial interface IWorkItemTrackingHttpClient { + public partial interface IWorkItemTrackingHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/IWorkItemTrackingProcessHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/IWorkItemTrackingProcessHttpClient.cs similarity index 72% rename from CSharp/TfsCmdlets/HttpClients/IWorkItemTrackingProcessHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/IWorkItemTrackingProcessHttpClient.cs index af2a1e417..ddc1d6e6b 100644 --- a/CSharp/TfsCmdlets/HttpClients/IWorkItemTrackingProcessHttpClient.cs +++ b/CSharp/TfsCmdlets.Shared/HttpClients/IWorkItemTrackingProcessHttpClient.cs @@ -3,7 +3,7 @@ namespace TfsCmdlets.HttpClients { [HttpClient(typeof(WorkItemTrackingProcessHttpClient))] - partial interface IWorkItemTrackingProcessHttpClient + public partial interface IWorkItemTrackingProcessHttpClient { } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/HttpClients/Impl/GenericHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/Impl/GenericHttpClient.cs similarity index 100% rename from CSharp/TfsCmdlets/HttpClients/Impl/GenericHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/Impl/GenericHttpClient.cs diff --git a/CSharp/TfsCmdlets/HttpClients/Impl/GitExtendedHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/Impl/GitExtendedHttpClient.cs similarity index 100% rename from CSharp/TfsCmdlets/HttpClients/Impl/GitExtendedHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/Impl/GitExtendedHttpClient.cs diff --git a/CSharp/TfsCmdlets/HttpClients/Impl/TeamAdminHttpClient.cs b/CSharp/TfsCmdlets.Shared/HttpClients/Impl/TeamAdminHttpClient.cs similarity index 100% rename from CSharp/TfsCmdlets/HttpClients/Impl/TeamAdminHttpClient.cs rename to CSharp/TfsCmdlets.Shared/HttpClients/Impl/TeamAdminHttpClient.cs diff --git a/CSharp/TfsCmdlets.Shared/ModelAttribute.cs b/CSharp/TfsCmdlets.Shared/ModelAttribute.cs new file mode 100644 index 000000000..38237018d --- /dev/null +++ b/CSharp/TfsCmdlets.Shared/ModelAttribute.cs @@ -0,0 +1,12 @@ +namespace TfsCmdlets; + +[AttributeUsage(System.AttributeTargets.Class, Inherited = true, AllowMultiple = false)] +public sealed class ModelAttribute: Attribute +{ + public Type DataType { get; } + + public ModelAttribute(Type dataType) + { + DataType = dataType; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets/Models/BacklogLevelConfiguration.cs b/CSharp/TfsCmdlets.Shared/Models/BacklogLevelConfiguration.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/BacklogLevelConfiguration.cs rename to CSharp/TfsCmdlets.Shared/Models/BacklogLevelConfiguration.cs diff --git a/CSharp/TfsCmdlets/Models/Board.cs b/CSharp/TfsCmdlets.Shared/Models/Board.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/Board.cs rename to CSharp/TfsCmdlets.Shared/Models/Board.cs diff --git a/CSharp/TfsCmdlets/Models/CardRule.cs b/CSharp/TfsCmdlets.Shared/Models/CardRule.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/CardRule.cs rename to CSharp/TfsCmdlets.Shared/Models/CardRule.cs diff --git a/CSharp/TfsCmdlets/Models/ClassificationNode.cs b/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs similarity index 94% rename from CSharp/TfsCmdlets/Models/ClassificationNode.cs rename to CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs index f72e84676..adef477c6 100644 --- a/CSharp/TfsCmdlets/Models/ClassificationNode.cs +++ b/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs @@ -61,7 +61,9 @@ private IEnumerable GetNodesRecursively(ClassificationNode n { if (node.ChildCount == 0 && _client != null) { - node = new ClassificationNode(_client.GetClassificationNodeAsync(ProjectName, StructureGroup, node.RelativePath, 2) + var client = (WorkItemTrackingHttpClient) _client; + + node = new ClassificationNode(client.GetClassificationNodeAsync(ProjectName, StructureGroup, node.RelativePath, 2) .GetResult($"Error retrieving {StructureGroup} from path '{node.RelativePath}'"), ProjectName, _client); } diff --git a/CSharp/TfsCmdlets/Models/Connection.cs b/CSharp/TfsCmdlets.Shared/Models/Connection.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/Connection.cs rename to CSharp/TfsCmdlets.Shared/Models/Connection.cs diff --git a/CSharp/TfsCmdlets/Models/ContributionNodeQuery.cs b/CSharp/TfsCmdlets.Shared/Models/ContributionNodeQuery.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/ContributionNodeQuery.cs rename to CSharp/TfsCmdlets.Shared/Models/ContributionNodeQuery.cs diff --git a/CSharp/TfsCmdlets/Models/GitItem.cs b/CSharp/TfsCmdlets.Shared/Models/GitItem.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/GitItem.cs rename to CSharp/TfsCmdlets.Shared/Models/GitItem.cs diff --git a/CSharp/TfsCmdlets/Models/GlobalList.cs b/CSharp/TfsCmdlets.Shared/Models/GlobalList.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/GlobalList.cs rename to CSharp/TfsCmdlets.Shared/Models/GlobalList.cs diff --git a/CSharp/TfsCmdlets/Models/Identity.cs b/CSharp/TfsCmdlets.Shared/Models/Identity.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/Identity.cs rename to CSharp/TfsCmdlets.Shared/Models/Identity.cs diff --git a/CSharp/TfsCmdlets/Models/IdentityRefWrapper.cs b/CSharp/TfsCmdlets.Shared/Models/IdentityRefWrapper.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/IdentityRefWrapper.cs rename to CSharp/TfsCmdlets.Shared/Models/IdentityRefWrapper.cs diff --git a/CSharp/TfsCmdlets/Models/ModelBase.cs b/CSharp/TfsCmdlets.Shared/Models/ModelBase.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/ModelBase.cs rename to CSharp/TfsCmdlets.Shared/Models/ModelBase.cs diff --git a/CSharp/TfsCmdlets/Models/Parameter.cs b/CSharp/TfsCmdlets.Shared/Models/Parameter.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/Parameter.cs rename to CSharp/TfsCmdlets.Shared/Models/Parameter.cs diff --git a/CSharp/TfsCmdlets/Models/WorkItem/Query/QueryItem.cs b/CSharp/TfsCmdlets.Shared/Models/QueryItem.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/WorkItem/Query/QueryItem.cs rename to CSharp/TfsCmdlets.Shared/Models/QueryItem.cs diff --git a/CSharp/TfsCmdlets/Models/ServerVersion.cs b/CSharp/TfsCmdlets.Shared/Models/ServerVersion.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/ServerVersion.cs rename to CSharp/TfsCmdlets.Shared/Models/ServerVersion.cs diff --git a/CSharp/TfsCmdlets/Models/Team.cs b/CSharp/TfsCmdlets.Shared/Models/Team.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/Team.cs rename to CSharp/TfsCmdlets.Shared/Models/Team.cs diff --git a/CSharp/TfsCmdlets/Models/TeamAdmin.cs b/CSharp/TfsCmdlets.Shared/Models/TeamAdmin.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/TeamAdmin.cs rename to CSharp/TfsCmdlets.Shared/Models/TeamAdmin.cs diff --git a/CSharp/TfsCmdlets/Models/TeamMember.cs b/CSharp/TfsCmdlets.Shared/Models/TeamMember.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/TeamMember.cs rename to CSharp/TfsCmdlets.Shared/Models/TeamMember.cs diff --git a/CSharp/TfsCmdlets/Models/TeamProjectMember.cs b/CSharp/TfsCmdlets.Shared/Models/TeamProjectMember.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/TeamProjectMember.cs rename to CSharp/TfsCmdlets.Shared/Models/TeamProjectMember.cs diff --git a/CSharp/TfsCmdlets/Models/TfsInstallationPath.cs b/CSharp/TfsCmdlets.Shared/Models/TfsInstallationPath.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/TfsInstallationPath.cs rename to CSharp/TfsCmdlets.Shared/Models/TfsInstallationPath.cs diff --git a/CSharp/TfsCmdlets/Models/WorkItemHistory.cs b/CSharp/TfsCmdlets.Shared/Models/WorkItemHistory.cs similarity index 100% rename from CSharp/TfsCmdlets/Models/WorkItemHistory.cs rename to CSharp/TfsCmdlets.Shared/Models/WorkItemHistory.cs diff --git a/CSharp/TfsCmdlets/Services/IAsyncOperationAwaiter.cs b/CSharp/TfsCmdlets.Shared/Services/IAsyncOperationAwaiter.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IAsyncOperationAwaiter.cs rename to CSharp/TfsCmdlets.Shared/Services/IAsyncOperationAwaiter.cs diff --git a/CSharp/TfsCmdlets/Services/IController.cs b/CSharp/TfsCmdlets.Shared/Services/IController.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IController.cs rename to CSharp/TfsCmdlets.Shared/Services/IController.cs diff --git a/CSharp/TfsCmdlets/Services/ICurrentConnections.cs b/CSharp/TfsCmdlets.Shared/Services/ICurrentConnections.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/ICurrentConnections.cs rename to CSharp/TfsCmdlets.Shared/Services/ICurrentConnections.cs diff --git a/CSharp/TfsCmdlets/Services/IDataManager.cs b/CSharp/TfsCmdlets.Shared/Services/IDataManager.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IDataManager.cs rename to CSharp/TfsCmdlets.Shared/Services/IDataManager.cs diff --git a/CSharp/TfsCmdlets/Services/IInteractiveAuthentication.cs b/CSharp/TfsCmdlets.Shared/Services/IInteractiveAuthentication.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IInteractiveAuthentication.cs rename to CSharp/TfsCmdlets.Shared/Services/IInteractiveAuthentication.cs diff --git a/CSharp/TfsCmdlets/Services/IKnownWorkItemLinkTypes.cs b/CSharp/TfsCmdlets.Shared/Services/IKnownWorkItemLinkTypes.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IKnownWorkItemLinkTypes.cs rename to CSharp/TfsCmdlets.Shared/Services/IKnownWorkItemLinkTypes.cs diff --git a/CSharp/TfsCmdlets/Services/ILegacyWorkItemService.cs b/CSharp/TfsCmdlets.Shared/Services/ILegacyWorkItemService.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/ILegacyWorkItemService.cs rename to CSharp/TfsCmdlets.Shared/Services/ILegacyWorkItemService.cs diff --git a/CSharp/TfsCmdlets/Services/ILogger.cs b/CSharp/TfsCmdlets.Shared/Services/ILogger.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/ILogger.cs rename to CSharp/TfsCmdlets.Shared/Services/ILogger.cs diff --git a/CSharp/TfsCmdlets/Services/INodeUtil.cs b/CSharp/TfsCmdlets.Shared/Services/INodeUtil.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/INodeUtil.cs rename to CSharp/TfsCmdlets.Shared/Services/INodeUtil.cs diff --git a/CSharp/TfsCmdlets/Services/IPaginator.cs b/CSharp/TfsCmdlets.Shared/Services/IPaginator.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IPaginator.cs rename to CSharp/TfsCmdlets.Shared/Services/IPaginator.cs diff --git a/CSharp/TfsCmdlets/Services/IParameterManager.cs b/CSharp/TfsCmdlets.Shared/Services/IParameterManager.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IParameterManager.cs rename to CSharp/TfsCmdlets.Shared/Services/IParameterManager.cs diff --git a/CSharp/TfsCmdlets/Services/IPowerShellService.cs b/CSharp/TfsCmdlets.Shared/Services/IPowerShellService.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IPowerShellService.cs rename to CSharp/TfsCmdlets.Shared/Services/IPowerShellService.cs diff --git a/CSharp/TfsCmdlets/Services/IProcessUtil.cs b/CSharp/TfsCmdlets.Shared/Services/IProcessUtil.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IProcessUtil.cs rename to CSharp/TfsCmdlets.Shared/Services/IProcessUtil.cs diff --git a/CSharp/TfsCmdlets/Services/IRegistryService.cs b/CSharp/TfsCmdlets.Shared/Services/IRegistryService.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IRegistryService.cs rename to CSharp/TfsCmdlets.Shared/Services/IRegistryService.cs diff --git a/CSharp/TfsCmdlets/Services/IRestApiService.cs b/CSharp/TfsCmdlets.Shared/Services/IRestApiService.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IRestApiService.cs rename to CSharp/TfsCmdlets.Shared/Services/IRestApiService.cs diff --git a/CSharp/TfsCmdlets/Services/IRuntimeUtil.cs b/CSharp/TfsCmdlets.Shared/Services/IRuntimeUtil.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IRuntimeUtil.cs rename to CSharp/TfsCmdlets.Shared/Services/IRuntimeUtil.cs diff --git a/CSharp/TfsCmdlets/Services/ITfsServiceProvider.cs b/CSharp/TfsCmdlets.Shared/Services/ITfsServiceProvider.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/ITfsServiceProvider.cs rename to CSharp/TfsCmdlets.Shared/Services/ITfsServiceProvider.cs diff --git a/CSharp/TfsCmdlets/Services/ITfsVersionTable.cs b/CSharp/TfsCmdlets.Shared/Services/ITfsVersionTable.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/ITfsVersionTable.cs rename to CSharp/TfsCmdlets.Shared/Services/ITfsVersionTable.cs diff --git a/CSharp/TfsCmdlets/Services/IWorkItemPatchBuilder.cs b/CSharp/TfsCmdlets.Shared/Services/IWorkItemPatchBuilder.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/IWorkItemPatchBuilder.cs rename to CSharp/TfsCmdlets.Shared/Services/IWorkItemPatchBuilder.cs diff --git a/CSharp/TfsCmdlets/Services/ServiceLocator.cs b/CSharp/TfsCmdlets.Shared/Services/ServiceLocator.cs similarity index 100% rename from CSharp/TfsCmdlets/Services/ServiceLocator.cs rename to CSharp/TfsCmdlets.Shared/Services/ServiceLocator.cs diff --git a/CSharp/TfsCmdlets/Cmdlets/TfsCmdletAttribute.cs b/CSharp/TfsCmdlets.Shared/TfsCmdletAttribute.cs similarity index 97% rename from CSharp/TfsCmdlets/Cmdlets/TfsCmdletAttribute.cs rename to CSharp/TfsCmdlets.Shared/TfsCmdletAttribute.cs index 4a57863ed..8a2a647d2 100644 --- a/CSharp/TfsCmdlets/Cmdlets/TfsCmdletAttribute.cs +++ b/CSharp/TfsCmdlets.Shared/TfsCmdletAttribute.cs @@ -1,4 +1,4 @@ -namespace TfsCmdlets.Cmdlets +namespace TfsCmdlets { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public sealed class TfsCmdletAttribute : Attribute diff --git a/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems new file mode 100644 index 000000000..bb8b06bfe --- /dev/null +++ b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems @@ -0,0 +1,106 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + true + 1ef8b954-3db2-4d8c-a95b-fe5ea047b40f + + + TfsCmdlets.Shared + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.shproj b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.shproj new file mode 100644 index 000000000..00f41734e --- /dev/null +++ b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.shproj @@ -0,0 +1,13 @@ + + + + 1ef8b954-3db2-4d8c-a95b-fe5ea047b40f + 14.0 + + + + + + + + diff --git a/CSharp/TfsCmdlets/Util/ErrorUtil.cs b/CSharp/TfsCmdlets.Shared/Util/ErrorUtil.cs similarity index 100% rename from CSharp/TfsCmdlets/Util/ErrorUtil.cs rename to CSharp/TfsCmdlets.Shared/Util/ErrorUtil.cs diff --git a/CSharp/TfsCmdlets/Util/LazyProperty.cs b/CSharp/TfsCmdlets.Shared/Util/LazyProperty.cs similarity index 100% rename from CSharp/TfsCmdlets/Util/LazyProperty.cs rename to CSharp/TfsCmdlets.Shared/Util/LazyProperty.cs diff --git a/CSharp/TfsCmdlets/Util/Mru.cs b/CSharp/TfsCmdlets.Shared/Util/Mru.cs similarity index 100% rename from CSharp/TfsCmdlets/Util/Mru.cs rename to CSharp/TfsCmdlets.Shared/Util/Mru.cs diff --git a/CSharp/TfsCmdlets/Util/PSJsonConverter.cs b/CSharp/TfsCmdlets.Shared/Util/PSJsonConverter.cs similarity index 100% rename from CSharp/TfsCmdlets/Util/PSJsonConverter.cs rename to CSharp/TfsCmdlets.Shared/Util/PSJsonConverter.cs diff --git a/CSharp/TfsCmdlets.Shared/WorkItemFieldAttribute.cs b/CSharp/TfsCmdlets.Shared/WorkItemFieldAttribute.cs new file mode 100644 index 000000000..7694fbfb7 --- /dev/null +++ b/CSharp/TfsCmdlets.Shared/WorkItemFieldAttribute.cs @@ -0,0 +1,17 @@ +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; + +namespace TfsCmdlets +{ + [AttributeUsage(System.AttributeTargets.Property, Inherited = true, AllowMultiple = false)] + public sealed class WorkItemFieldAttribute : Attribute + { + public string Name { get; } + public FieldType Type { get; } + + public WorkItemFieldAttribute(string name, FieldType type) + { + Name = name; + Type = type; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs new file mode 100644 index 000000000..2f76f8f77 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class CmdletGeneratorTests +{ + [Fact] + public async Task Can_Create_Get_Cmdlet() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_Get_Cmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\GetGitRepository.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs index 4b0768990..505f3736d 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs @@ -5,46 +5,12 @@ public partial class ControllerGeneratorTests [Fact] public async Task Can_Create_Get_Controller() { - var source = """ - using System.Management.Automation; - using Microsoft.TeamFoundation.SourceControl.WebApi; - - namespace TfsCmdlets.Cmdlets.Git - { - [TfsCmdlet(CmdletScope.Project, OutputType = typeof(GitRepository), DefaultParameterSetName = "Get by ID or Name")] - partial class GetGitRepository - { - [Parameter(Position = 0, ParameterSetName = "Get by ID or Name")] - [SupportsWildcards()] - [Alias("Name")] - public object Repository { get; set; } = "*"; - - [Parameter(ParameterSetName = "Get default", Mandatory = true)] - public SwitchParameter Default { get; set; } - - [Parameter()] - public SwitchParameter IncludeParent { get; set; } - } - - [CmdletController(typeof(GitRepository), Client=typeof(IGitHttpClient))] - partial class GetGitRepositoryController - { - protected override IEnumerable Run() - { - return null; - } - } - } - - namespace TfsCmdlets.Controllers - { - public abstract class ControllerBase - { - } - } - """; - - await TestHelper.Verify(nameof(Can_Create_Get_Controller), source); + await TestHelper.VerifyFiles( + nameof(Can_Create_Get_Controller), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\GetGitRepository.cs" + }); } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_New_Controller.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_New_Controller.cs new file mode 100644 index 000000000..165961930 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_New_Controller.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_New_Controller() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_New_Controller), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\NewGitRepository.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs index 91797c89a..ee5455105 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs @@ -3,21 +3,14 @@ public partial class HttpClientGeneratorTests { [Fact] - public async Task Can_Create_Client() + public async Task Can_Create_HttpClient() { - var source = """ - using Microsoft.VisualStudio.Services.Licensing.Client; - - namespace TfsCmdlets.HttpClients - { - [HttpClient(typeof(AccountLicensingHttpClient))] - partial interface IAccountLicensingHttpClient - { - } - } - """; - - await TestHelper.Verify(nameof(Can_Create_Client), source); + await TestHelper.VerifyFiles( + nameof(Can_Create_HttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IAccountLicensingHttpClient.cs" + }); } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs index afad0ccfd..b6d75ab9d 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs @@ -12,7 +12,8 @@ public static List LoadReferences() var set = new HashSet(StringComparer.OrdinalIgnoreCase); var loaded = AppDomain.CurrentDomain.GetAssemblies() .Where(a => !a.IsDynamic && !string.IsNullOrWhiteSpace(a.Location)) - .Select(a => a.Location); + .Select(a => a.Location) + .ToList(); foreach (var loc in loaded) set.Add(loc); diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestBase.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestBase.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs index f18e92947..fd59564ed 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs @@ -1,22 +1,146 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; +using System.Reflection; +using System.Text.RegularExpressions; namespace TfsCmdlets.SourceGenerators.UnitTests { internal static class TestHelper { private static readonly List _References = RoslynReferenceHelper.LoadReferences(); + private static readonly Lazy _GlobalUsings = new(ExtractGlobalUsings); - internal static Task Verify(string testName, string source) + private static string[] ExtractGlobalUsings() + { + var globalUsings = new List(); + + try + { + var projectRoot = FindProjectRoot(); + + var globalUsingsFile = Path.Combine(projectRoot, "TfsCmdlets.Shared/GlobalUsings.cs"); + if (File.Exists(globalUsingsFile)) + { + globalUsings.AddRange(ParseGlobalUsingsFromFile(globalUsingsFile)); + } + + var csprojFiles = Directory.GetFiles(projectRoot, "*.csproj"); + foreach (var csprojFile in csprojFiles) + { + globalUsings.AddRange(ParseGlobalUsingsFromCsproj(csprojFile)); + } + } + catch (Exception ex) + { + Console.WriteLine($"Error extracting global usings: {ex.Message}"); + } + + if (!globalUsings.Any()) + { + globalUsings.AddRange(new[] + { + "System", + "System.Collections.Generic", + "System.Linq", + "System.Threading.Tasks" + }); + } + + return globalUsings.Distinct().ToArray(); + } + + public static string FindProjectRoot() + { + var directory = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory); + + while (directory != null) + { + if (directory.GetFiles("*.sln").Any()) + { + return directory.FullName; + } + directory = directory.Parent; + } + + throw new DirectoryNotFoundException("Could not find the project root directory."); + } + + private static IEnumerable ParseGlobalUsingsFromFile(string filePath) + { + var content = File.ReadAllText(filePath); + var regex = new Regex(@"global\s+using\s+([^;]+);", RegexOptions.Multiline); + var matches = regex.Matches(content); + + return matches.Cast() + .Select(m => m.Groups[1].Value.Trim()) + .Where(u => !string.IsNullOrWhiteSpace(u)); + } + + private static IEnumerable ParseGlobalUsingsFromCsproj(string csprojPath) + { + try + { + var content = File.ReadAllText(csprojPath); + var regex = new Regex(@"", RegexOptions.IgnoreCase); + var matches = regex.Matches(content); + + return matches.Cast() + .Select(m => m.Groups[1].Value.Trim()) + .Where(u => !string.IsNullOrWhiteSpace(u)); + } + catch + { + return Enumerable.Empty(); + } + } + + internal static Task VerifyFiles(string testName, IEnumerable testFiles) + where T : IIncrementalGenerator, new() + { + var files = testFiles.ToList(); + + if (files.Count == 0) + { + throw new ArgumentException("No test files provided.", nameof(testFiles)); + } + + var root = FindProjectRoot(); + var mainFile = Path.Combine(root, files[0]); + var additionalFiles = files.Skip(1).Select(f => Path.Combine(root, f)).ToList(); + + return Verify(testName, File.ReadAllText(mainFile), additionalFiles); + } + + internal static Task Verify(string testName, string source, IEnumerable? additionalFiles = null) where T : IIncrementalGenerator, new() { // Parse the provided string into a C# syntax tree - var syntaxTree = CSharpSyntaxTree.ParseText(source); + var syntaxTrees = new List(); + syntaxTrees.Add(CSharpSyntaxTree.ParseText(source)); + + // Configure the compilation options, including global usings + var baseDirectory = AppDomain.CurrentDomain.BaseDirectory; + var projectRoot = FindProjectRoot(); + var globalUsingsFile = Path.Combine(projectRoot, "TfsCmdlets.Shared/GlobalUsings.cs"); + var globalUsings = File.ReadAllText(globalUsingsFile); + syntaxTrees.Add(CSharpSyntaxTree.ParseText(globalUsings)); + + // Include additional files if provided + if (additionalFiles is not null) + { + foreach (var file in additionalFiles) + { + var f = Path.Combine(projectRoot, file); + if (!File.Exists(f)) continue; + var fileContent = File.ReadAllText(f); + syntaxTrees.Add(CSharpSyntaxTree.ParseText(fileContent)); + } + } // Create a Roslyn compilation for the syntax tree. var compilation = CSharpCompilation.Create( assemblyName: "TfsCmdlets_SrcGen_Tests", - syntaxTrees: [syntaxTree], + syntaxTrees: syntaxTrees, references: _References); // Create an instance of the source generator @@ -28,7 +152,7 @@ internal static Task Verify(string testName, string source) .RunGenerators(compilation); var settings = new VerifySettings(); - settings.UseUniqueDirectory(); + //settings.UseUniqueDirectory(); //settings.UseSplitModeForUniqueDirectory(); settings.UseDirectory($"_Verify/{generator.GetType().Name}"); settings.UseFileName(testName); diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index 4e7e65a5d..a8fc2f263 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -6,35 +6,44 @@ enable false true + true + + + + $(DefineConstants);UNIT_TEST_PROJECT + + + + $(DefineConstants);UNIT_TEST_PROJECT - + + + - - + + + + + + + + + + + + - - - - - - - - - - - - @@ -47,7 +56,8 @@ - + + diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs new file mode 100644 index 000000000..bffee64ec --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.Git.GetGitRepository.g.cs +namespace TfsCmdlets.Cmdlets.Git +{ + [Cmdlet("Get", "TfsGitRepository", DefaultParameterSetName = "Get by ID or Name")] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository))] + public partial class GetGitRepository: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs similarity index 95% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs index 8218a7e48..41aaea342 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller/TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs @@ -41,13 +41,12 @@ protected IEnumerable Repository protected Models.Connection Server => Data.GetServer(); // ParameterSetName - protected bool Has_ParameterSetName {get;set;} - protected string ParameterSetName {get;set;} + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); - - protected override void CacheParameters() { // Default @@ -61,8 +60,6 @@ protected override void CacheParameters() // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); - - } [ImportingConstructor] diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Controller/HttpClientAttribute.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_HttpClient#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Controller/HttpClientAttribute.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_HttpClient#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs new file mode 100644 index 000000000..ef52470f0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +using Microsoft.TeamFoundation.Core.WebApi; + +namespace TfsCmdlets.Cmdlets.Git +{ + internal partial class NewGitRepositoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + + // Repository + protected bool Has_Repository { get; set; } + protected string Repository { get; set; } + + // ForkFrom + protected bool Has_ForkFrom { get; set; } + protected object ForkFrom { get; set; } + + // SourceBranch + protected bool Has_SourceBranch { get; set; } + protected string SourceBranch { get; set; } + + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); + + protected override void CacheParameters() + { + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + + // ForkFrom + Has_ForkFrom = Parameters.HasParameter("ForkFrom"); + ForkFrom = Parameters.Get("ForkFrom"); + + // SourceBranch + Has_SourceBranch = Parameters.HasParameter("SourceBranch"); + SourceBranch = Parameters.Get("SourceBranch"); + + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + + [ImportingConstructor] + public NewGitRepositoryController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs deleted file mode 100644 index a75f4a843..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/HttpClientAttribute.verified.cs +++ /dev/null @@ -1,15 +0,0 @@ -//HintName: HttpClientAttribute.cs -using System; - -namespace TfsCmdlets -{ - public class HttpClientAttribute : Attribute - { - public HttpClientAttribute(Type type) - { - Type = type; - } - - public Type Type { get; } - } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs similarity index 99% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs index 3e1df3746..d75f5be92 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_Client/TfsCmdlets.HttpClients.IAccountLicensingHttpClient.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: TfsCmdlets.HttpClients.IAccountLicensingHttpClient.cs +//HintName: TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.cs using System.Composition; using Microsoft.VisualStudio.Services.Licensing.Client; diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs index da7e46feb..89a079922 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Xml.Xsl; using Microsoft.CodeAnalysis; @@ -33,6 +34,17 @@ public ClassInfo(INamedTypeSymbol targetType, UsingsStatements = includeUsings ? targetType.GetUsingStatements() : string.Empty; + + CtorArgs = new EquatableArray(GetCtorArgs(targetType).ToArray()); + } + + public ClassInfo(string name, string ns, string fullName, string fileName, IEnumerable ctorArgs = null) + { + Name = name; + Namespace = ns; + FullName = fullName; + FileName = fileName; + CtorArgs = new EquatableArray(ctorArgs?.ToArray() ?? Array.Empty()); } protected IEnumerable GetMethods(INamedTypeSymbol targetType, bool recursive = false, string? stopAt = null) @@ -66,7 +78,16 @@ protected IEnumerable GetProperties(INamedTypeSymbol targetType) return props.Select(p => new PropertyInfo(p)); } - public string Name { get; } + protected virtual IEnumerable GetCtorArgs(INamedTypeSymbol symbol) + { + if (symbol.Constructors.Length == 0) return Array.Empty(); + + return symbol.Constructors[0] + .Parameters + .Select(p => $"{p.Type.Name} {p.Name}"); + } + + public string Name { get; set; } public string Namespace { get; } @@ -74,11 +95,13 @@ protected IEnumerable GetProperties(INamedTypeSymbol targetType) public string FileName { get; } - public EquatableArray Methods { get; } + public EquatableArray Methods { get; set; } - public EquatableArray Properties { get; } + public EquatableArray Properties { get; set; } - public string UsingsStatements { get; } + public string UsingsStatements { get; set; } + + public EquatableArray CtorArgs { get; set; } public override string ToString() => FullName; diff --git a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs index b4b0a0f2a..efb6e4756 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs @@ -86,22 +86,23 @@ public static int FindIndex(this string input, Predicate predicate, int st return -1; } - public static string GetImportingConstructorArguments(this INamedTypeSymbol type, INamedTypeSymbol baseClass) + public static string GetImportingConstructorArguments(this INamedTypeSymbol type, + INamedTypeSymbol baseClass = null) { var parms = type.GetPropertiesWithAttribute("ImportAttribute") - .Select(p => $"{p.Type.Name} {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)}") - .Concat(baseClass + .Select(p => $"{p.Type.Name} {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)}").ToList(); + + if (baseClass is not null) { + parms.AddRange(baseClass .Constructors[0] .Parameters - .Select(p => $"{p.Type.Name} {p.Name}") - ) - .ToList(); + .Select(p => $"{p.Type.Name} {p.Name}")); + } var client = type.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); if (client != null) parms.Add($"{client.FullName()} client"); - return string.Join(", ", parms); } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs index 8131b7f18..024868c7f 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletGenerator.cs @@ -18,17 +18,16 @@ public void Initialize(IncrementalGeneratorInitializationContext context) .Select((m, _) => m!); context.RegisterSourceOutput(cmdletsToGenerate, - static (spc, source) => + static (spc, cmdlet) => { - var result = GenerateCode(source); - var filename = source.FileName; + var result = GenerateCode(cmdlet); + var filename = cmdlet.FileName; spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); }); } private static string GenerateCode(CmdletInfo model) => $$""" - namespace {{model.Namespace}} { {{model.CmdletAttribute}}{{model.OutputTypeAttribute}} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index 0a70d7080..ee391b821 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -229,7 +229,7 @@ private bool IsPipelineProperty(CmdletScope currentScope) private static EquatableArray GetParameterProperties(INamedTypeSymbol cmdlet) { var props = cmdlet - .GetPropertiesWithAttribute("Parameter") // TODO + .GetPropertiesWithAttribute("ParameterAttribute") // TODO .Select(p => new ParameterInfo(p)).ToList(); return new EquatableArray(props.Count > 0 ? diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs index 40a23ae6d..ef639f5af 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/ParameterInfo.cs @@ -13,7 +13,7 @@ public record ParameterInfo : PropertyInfo public ParameterInfo(IPropertySymbol prop) : base(prop) { - var attr = prop.GetAttribute("Parameter"); // TODO + var attr = prop.GetAttribute("ParameterAttribute"); // TODO if (attr == null) throw new ArgumentException($"Property {prop.Name} is not a Cmdlet parameter"); DontShow = attr.GetAttributeNamedValue("DontShow"); diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs index 95d9a2187..b2e592170 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs @@ -21,14 +21,6 @@ public void Initialize(IncrementalGeneratorInitializationContext context) .Select((m, _) => m!) .Collect(); - var controllerBaseClass = context.SyntaxProvider - .CreateSyntaxProvider( - predicate: (n, _) => n is ClassDeclarationSyntax { Identifier.ValueText: "ControllerBase" }, - transform: (ctx, _) => ctx.Node) - .Where(n => n is not null) - .Select((n, _) => n!) - .Collect(); - var controllersToGenerate = context.SyntaxProvider .ForAttributeWithMetadataName( "TfsCmdlets.CmdletControllerAttribute", @@ -36,16 +28,13 @@ public void Initialize(IncrementalGeneratorInitializationContext context) transform: static (ctx, _) => ControllerInfo.Create(ctx)) .Where(static m => m is not null) .Select((m, _) => m!) - .Combine(cmdletsToGenerate) - .Combine(controllerBaseClass); + .Combine(cmdletsToGenerate); context.RegisterSourceOutput(controllersToGenerate, static (spc, source) => { - var controller = source.Left.Left; - var controllerBase = (ClassDeclarationSyntax) source.Right[0]; - var fullName = controllerBase.FullName(); - var allCmdlets = source.Left.Right.OfType().ToList(); + var controller = source.Left; + var allCmdlets = source.Right.OfType().ToList(); var cmdlet = allCmdlets.FirstOrDefault(c => c.Name.Equals(controller.CmdletName)); var result = GenerateCode(controller, cmdlet); var filename = controller.FileName; @@ -64,25 +53,22 @@ namespace {{model.Namespace}} { internal partial class {{model.Name}}: {{model.BaseClassName}} { - {{model.GenerateClientProperty()}} - {{model.GenerateGetInputProperty()}} - {{model.GenerateDeclaredProperties()}}{{model.GenerateScopeProperties()}} - + {{model.GenerateClientProperty()}}{{model.GenerateGetInputProperty()}}{{model.GenerateDeclaredProperties()}}{{model.GenerateAutomaticProperties()}}{{model.GenerateScopeProperties()}} // ParameterSetName - protected bool Has_ParameterSetName {get;set;} - protected string ParameterSetName {get;set;} + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } {{model.GenerateItemsProperty()}} // DataType public override Type DataType => typeof({{model.DataType}}); protected override void CacheParameters() { - {{model.GenerateCacheProperties()}} + {{model.GenerateCacheProperties()}} } [ImportingConstructor] - public {{model.Name}}({{model.CtorArgs}}) - : base({{model.BaseCtorArgs}}) + public {{model.Name}}({{model.ImportingConstructorArgs}}) + : base({{model.ImportingBaseArgs}}) { {{model.ImportingConstructorBody}} } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index df56d273c..cfbeaf5f2 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -4,13 +4,15 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using TfsCmdlets.Services; using TfsCmdlets.SourceGenerators.Generators.Cmdlets; namespace TfsCmdlets.SourceGenerators.Generators.Controllers { public record ControllerInfo : ClassInfo { + private const string BASE_CLASS_CTOR_ARGS = "IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger"; + private const string BASE_CLASS_BASE_ARGS = "powerShell, data, parameters, logger"; + public CmdletInfo CmdletInfo { get; set; } public string CmdletClass { get; } public string GenericArg { get; } @@ -21,13 +23,13 @@ public record ControllerInfo : ClassInfo public string Cmdlet { get; } public string Usings { get; } private bool SkipGetProperty { get; } + public string ImportingConstructorArgs { get; } public string ImportingConstructorBody { get; } public string CtorArgs { get; } - public string BaseCtorArgs { get; } - public string BaseClassName => BaseClass.Contains('.') ? BaseClass.Split('.').Last() : BaseClass; public string Verb => CmdletInfo.Verb; public string Noun => CmdletInfo.Noun; + public string ImportingBaseArgs => BASE_CLASS_BASE_ARGS; internal ControllerInfo(INamedTypeSymbol controller) : base(controller) @@ -42,17 +44,49 @@ internal ControllerInfo(INamedTypeSymbol controller) CmdletName = cmdletClassName.Substring(cmdletClassName.LastIndexOf('.') + 1); var customBaseClass = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomBaseClass"); - //var baseClass = customBaseClass ?? - // context.Compilation.GetTypeByMetadataName("TfsCmdlets.Controllers.ControllerBase"); BaseClass = customBaseClass?.FullName() ?? "TfsCmdlets.Controllers.ControllerBase"; DataType = controller.GetAttributeConstructorValue("CmdletControllerAttribute").FullName(); - Client = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client").FullName(); + var clientName = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client").FullName(); + //if (clientName.IndexOf('.') < 0) + //{ + // clientName = $"TfsCmdlets.HttpClients.{clientName}"; + //} + + Client = clientName; GenericArg = DataType == null ? string.Empty : $"<{DataType}>"; + ImportingConstructorArgs = GetImportingConstructorArguments(controller); + CtorArgs = string.Join(", ", GetCtorArgs(controller).ToArray()); + ImportingConstructorBody = GetImportingConstructorBody(controller); + // GenerateProperties(); + } - //CtorArgs = controller.GetImportingConstructorArguments(); + private string GetImportingConstructorBody(INamedTypeSymbol controller) + { + var parms = controller + .GetPropertiesWithAttribute("ImportAttribute") + .Select(p => $" {p.Name} = {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)};") + .ToList(); + + var client = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); + + if (client != null) parms.Add($" Client = client;"); + + return string.Join("\n", parms); + } + + private string GetImportingConstructorArguments(INamedTypeSymbol controller) + { + var ctorArgs = controller.GetImportingConstructorArguments(); + + return BASE_CLASS_CTOR_ARGS + (string.IsNullOrEmpty(ctorArgs) + ? string.Empty + : ", " + ctorArgs); + } + + public void SetBaseClass(INamedTypeSymbol baseClass) + { - // GenerateProperties(); } public string GenerateUsings() @@ -76,6 +110,7 @@ public string GenerateGetInputProperty() var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; return $$""" + // {{prop.Name}} protected bool Has_{{prop.Name}} => Parameters.HasParameter(nameof({{prop.Name}})); protected IEnumerable {{prop.Name}} @@ -87,6 +122,7 @@ protected IEnumerable {{prop.Name}} return new[] { paramValue }; } } + """; } public string GenerateDeclaredProperties() @@ -107,6 +143,27 @@ public string GenerateDeclaredProperties() return sb.ToString(); } + public bool IsPassthru => + Verb switch + { + "New" when Noun != "Credential" => true, + "Set" or "Connect" or "Enable" or "Disable" => true, + _ => false + }; + + public string GenerateAutomaticProperties() + { + return !IsPassthru + ? string.Empty + : $$""" + + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + + """; + } + public string GenerateScopeProperties() { var scope = CmdletInfo.Scope; @@ -137,8 +194,8 @@ public string GenerateParameterSetProperty() { return $$""" // ParameterSetName - protected bool Has_ParameterSetName {get;set;} - protected string ParameterSetName {get;set;} + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } """; } @@ -192,20 +249,29 @@ public string GenerateCacheProperties() foreach (var prop in CmdletInfo.ParameterProperties.Skip(Verb == "Get" ? 1 : 0)) { sb.Append($$""" - // {{prop.Name}} Has_{{prop.Name}} = Parameters.HasParameter("{{prop.Name}}"); {{prop.Name}} = Parameters.Get<{{(prop.Type == "SwitchParameter" ? "bool" : prop.Type)}}>("{{prop.Name}}"); - + """); + sb.AppendLine(); + } + + if (IsPassthru) + { + sb.Append($$""" + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + + """); + sb.AppendLine(); } sb.Append($$""" - // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); - """); return sb.ToString(); diff --git a/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs index de3346ab6..af405a548 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs @@ -35,7 +35,9 @@ public PropertyInfo(IPropertySymbol prop, string generatedCode) public PropertyInfo(string name, string typeName, string generatedCode) { Name = name; - Type = typeName; + Type = typeName.EndsWith("SwitchParameter") + ? "bool" + : typeName; GeneratedCode = generatedCode; } diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 3d5b07fee..0b5250b3c 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -29,10 +29,6 @@ - - - - C:\Users\h313059\.nuget\packages\system.composition.attributedmodel\9.0.8\lib\netstandard2.0\System.Composition.AttributedModel.dll diff --git a/CSharp/TfsCmdlets.sln b/CSharp/TfsCmdlets.sln index c25e0d0a5..0bf707c91 100644 --- a/CSharp/TfsCmdlets.sln +++ b/CSharp/TfsCmdlets.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31521.260 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11012.119 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TfsCmdlets.Tests.UnitTests", "TfsCmdlets.Tests.UnitTests\TfsCmdlets.Tests.UnitTests.csproj", "{1D239B0E-69CB-46E3-9D9A-A41349AF3BB9}" EndProject @@ -13,6 +13,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TfsCmdlets.SourceGenerators EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TfsCmdlets.SourceGenerators.UnitTests", "TfsCmdlets.SourceGeneratores.UnitTests\TfsCmdlets.SourceGenerators.UnitTests.csproj", "{3C1104F8-09E2-4E36-960B-BC4340FA2B3F}" EndProject +Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TfsCmdlets.Shared", "TfsCmdlets.Shared\TfsCmdlets.Shared.shproj", "{1EF8B954-3DB2-4D8C-A95B-FE5EA047B40F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -46,4 +48,9 @@ Global GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {FE0EFD1C-9A73-41C3-BD86-7E8112462C2B} EndGlobalSection + GlobalSection(SharedMSBuildProjectFiles) = preSolution + TfsCmdlets.Shared\TfsCmdlets.Shared.projitems*{1ef8b954-3db2-4d8c-a95b-fe5ea047b40f}*SharedItemsImports = 13 + TfsCmdlets.Shared\TfsCmdlets.Shared.projitems*{3c1104f8-09e2-4e36-960b-bc4340fa2b3f}*SharedItemsImports = 5 + TfsCmdlets.Shared\TfsCmdlets.Shared.projitems*{63e2b0b3-db12-4de6-ade8-660e8323e38a}*SharedItemsImports = 5 + EndGlobalSection EndGlobal diff --git a/CSharp/TfsCmdlets/Attributes.cs b/CSharp/TfsCmdlets/Attributes.cs deleted file mode 100644 index a056887df..000000000 --- a/CSharp/TfsCmdlets/Attributes.cs +++ /dev/null @@ -1,71 +0,0 @@ -using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; - -namespace TfsCmdlets -{ - [AttributeUsage(System.AttributeTargets.Class, Inherited = true, AllowMultiple = false)] - public class CmdletControllerAttribute: ExportAttribute - { - public Type DataType { get; } - - public string CustomCmdletName { get; set; } - - public string[] CustomVerbs { get; set; } - - public string[] CustomNouns { get; set; } - - public Type CustomBaseClass { get; set; } - - public Type Client { get; set; } - - - public CmdletControllerAttribute() : base(typeof(IController)) - { - } - - public CmdletControllerAttribute(Type dataType) : base(typeof(IController)) - { - DataType = dataType; - } - } - - [AttributeUsage(System.AttributeTargets.Class, Inherited = true, AllowMultiple = false)] - public class ModelAttribute: Attribute - { - public Type DataType { get; } - - public ModelAttribute(Type dataType) - { - DataType = dataType; - } - } - - [AttributeUsage(System.AttributeTargets.Property, Inherited = true, AllowMultiple = false)] - public sealed class WorkItemFieldAttribute: Attribute - { - public string Name { get; } - public FieldType Type { get; } - - public WorkItemFieldAttribute(string name, FieldType type) - { - Name = name; - Type = type; - } - } - - // [AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)] - // public sealed class DesktopOnlyAttribute : Attribute - // { - // } - - // [AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)] - // public sealed class RequiresVersionAttribute : Attribute - // { - // public int Version { get; set; } - - // public decimal Update { get; set; } - - // public RequiresVersionAttribute(int version) => Version = version; - - // public RequiresVersionAttribute(int version, int update) : this(version) => Update = update; - // } -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets/TfsCmdlets.csproj b/CSharp/TfsCmdlets/TfsCmdlets.csproj index ddb03fdf8..d52cc5fa0 100644 --- a/CSharp/TfsCmdlets/TfsCmdlets.csproj +++ b/CSharp/TfsCmdlets/TfsCmdlets.csproj @@ -59,4 +59,6 @@ <_Parameter1>TfsCmdlets.Tests.UnitTests + + \ No newline at end of file From 0520daf63278521eebb48743c9e57eb4e747bc9b Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Fri, 19 Sep 2025 01:40:12 -0300 Subject: [PATCH 12/36] Refactor code --- .../CopyClassificationNodeController.cs | 2 +- .../GetClassificationNodeController.cs | 2 +- .../MoveClassificationNodeController.cs | 2 +- .../NewClassificationNodeController.cs | 2 +- .../RemoveClassificationNodeController.cs | 2 +- .../RenameClassificationNodeController.cs | 0 .../TestClassificationNodeController.cs | 2 +- .../TfsCmdlets.Shared.projitems | 7 + .../Can_Create_DisableExtension.cs | 16 + ...Create_GetConfigurationConnectionString.cs | 16 + .../Controllers/Can_Create_GetCredential.cs | 16 + .../Controllers/Can_Create_GetVersion.cs | 16 + .../Can_Create_NewAreaController.cs | 16 + ...troller.cs => Can_Create_NewController.cs} | 0 .../Can_Create_RemoveGitRepository.cs | 16 + .../Can_Create_IIdentityHttpClient.cs | 16 + .../Stubs.cs | 81 +++++ .../TestHelper.cs | 1 + ...sCmdlets.SourceGenerators.UnitTests.csproj | 6 +- ...t.DisableExtensionController.g.verified.cs | 70 +++++ ...erConnectionStringController.g.verified.cs | 63 ++++ ...tial.GetCredentialController.g.verified.cs | 90 ++++++ ...s.Admin.GetVersionController.g.verified.cs | 40 +++ ...Iterations.NewAreaController.g.verified.cs | 58 ++++ ...t.NewGitRepositoryController.g.verified.cs | 2 +- ...emoveGitRepositoryController.g.verified.cs | 67 ++++ ...pClients.IIdentityHttpClient.g.verified.cs | 1 + .../TfsCmdlets.SourceGenerators/ClassInfo.cs | 100 ++++-- .../TfsCmdlets.SourceGenerators/Extensions.cs | 45 ++- .../Generators/Cmdlets/CmdletInfo.cs | 2 +- .../Controllers/ControllerGenerator.cs | 92 ++++-- .../Generators/Controllers/ControllerInfo.cs | 288 +++++++++++++----- .../HttpClients/HttpClientGenerator.cs | 1 + .../Generators/HttpClients/HttpClientInfo.cs | 18 +- .../PropertyInfo.cs | 24 +- .../GetConfigurationServerConnectionString.cs | 4 +- .../Cmdlets/Artifact/GetArtifactVersion.cs | 4 +- .../ExtensionManagement/DisableExtension.cs | 1 - .../Cmdlets/Identity/GetIdentity.cs | 1 + .../Cmdlets/Identity/Group/AddGroupMember.cs | 1 + .../Tagging/ToggleWorkItemTagController.cs | 2 +- .../Impl/InteractiveAuthenticationImpl.cs | 1 - CSharp/TfsCmdlets/TfsCmdlets.csproj | 110 +++---- 43 files changed, 1091 insertions(+), 213 deletions(-) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/AreasIterations/CopyClassificationNodeController.cs (98%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs (97%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/AreasIterations/MoveClassificationNodeController.cs (97%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/AreasIterations/NewClassificationNodeController.cs (97%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/AreasIterations/RemoveClassificationNodeController.cs (96%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/AreasIterations/RenameClassificationNodeController.cs (100%) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/AreasIterations/TestClassificationNodeController.cs (85%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/{Can_Create_New_Controller.cs => Can_Create_NewController.cs} (100%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Stubs.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/CopyClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/CopyClassificationNodeController.cs similarity index 98% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/CopyClassificationNodeController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/CopyClassificationNodeController.cs index 06a1fa9dc..33a02815f 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/CopyClassificationNodeController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/CopyClassificationNodeController.cs @@ -4,7 +4,7 @@ namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations { - internal abstract class CopyClassificationNodeController: ControllerBase + public abstract class CopyClassificationNodeController: ControllerBase { protected override IEnumerable Run() { diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs similarity index 97% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs index ed6f2e5fd..297c4485d 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs @@ -4,7 +4,7 @@ namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations { - internal abstract class GetClassificationNodeController: ControllerBase + public abstract class GetClassificationNodeController: ControllerBase { private INodeUtil NodeUtil { get; set; } diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/MoveClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/MoveClassificationNodeController.cs similarity index 97% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/MoveClassificationNodeController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/MoveClassificationNodeController.cs index 0aeef95e3..926aeb504 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/MoveClassificationNodeController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/MoveClassificationNodeController.cs @@ -5,7 +5,7 @@ namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations { - internal abstract class MoveClassificationNodeController : ControllerBase + public abstract class MoveClassificationNodeController : ControllerBase { private IWorkItemTrackingHttpClient Client { get; set; } diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/NewClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/NewClassificationNodeController.cs similarity index 97% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/NewClassificationNodeController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/NewClassificationNodeController.cs index 222ab0b0c..9f0d95cc1 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/NewClassificationNodeController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/NewClassificationNodeController.cs @@ -4,7 +4,7 @@ namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations { - internal abstract class NewClassificationNodeController: ControllerBase + public abstract class NewClassificationNodeController: ControllerBase { private INodeUtil NodeUtil { get; } diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/RemoveClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/RemoveClassificationNodeController.cs similarity index 96% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/RemoveClassificationNodeController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/RemoveClassificationNodeController.cs index b3dd44778..a99416d6a 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/RemoveClassificationNodeController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/RemoveClassificationNodeController.cs @@ -4,7 +4,7 @@ namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations { - internal abstract class RemoveClassificationNodeController: ControllerBase + public abstract class RemoveClassificationNodeController: ControllerBase { private IWorkItemTrackingHttpClient Client { get; set; } diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/RenameClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/RenameClassificationNodeController.cs similarity index 100% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/RenameClassificationNodeController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/RenameClassificationNodeController.cs diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/TestClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/TestClassificationNodeController.cs similarity index 85% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/TestClassificationNodeController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/TestClassificationNodeController.cs index 7426706ae..8bc2d0bf9 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/AreasIterations/TestClassificationNodeController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/TestClassificationNodeController.cs @@ -1,6 +1,6 @@ namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations { - internal abstract class TestClassificationNodeController: ControllerBase + public abstract class TestClassificationNodeController: ControllerBase { protected override IEnumerable Run() { diff --git a/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems index bb8b06bfe..bad9e445a 100644 --- a/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems +++ b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems @@ -11,6 +11,13 @@ + + + + + + + diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs new file mode 100644 index 000000000..615dfaf5a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_DisableExtension() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_DisableExtension), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\DisableExtension.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs new file mode 100644 index 000000000..f0a3b0506 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_GetConfigurationServerConnectionString() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_GetConfigurationServerConnectionString), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetConfigurationServerConnectionString.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs new file mode 100644 index 000000000..90891d840 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_GetCredential() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_GetCredential), + new[] + { + "TfsCmdlets\\Cmdlets\\Credential\\NewCredential.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs new file mode 100644 index 000000000..05d6a7697 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_GetVersion() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_GetVersion), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetVersion.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs new file mode 100644 index 000000000..4dc9743f6 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_NewAreaController() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_NewAreaController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\NewArea.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_New_Controller.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewController.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_New_Controller.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewController.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs new file mode 100644 index 000000000..e08deb376 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; + +public partial class ControllerGeneratorTests +{ + [Fact] + public async Task Can_Create_RemoveGitRepository() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_RemoveGitRepository), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\RemoveGitRepository.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs new file mode 100644 index 000000000..942d7efa6 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs @@ -0,0 +1,16 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.HttpClientGenerator; + +public partial class HttpClientGeneratorTests +{ + [Fact] + public async Task Can_Create_IIdentityHttpClient() + { + await TestHelper.VerifyFiles( + nameof(Can_Create_IIdentityHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IIdentityHttpClient.cs" + }); + } + +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Stubs.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Stubs.cs new file mode 100644 index 000000000..ee1284de4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Stubs.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#pragma warning disable IDE0130 + +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal static class Stubs + { + public static + System.Threading.Tasks.Task< + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode> + CreateOrUpdateClassificationNodeAsync(this TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, + string project, + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, + string path = null, object userState = null, + System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + return null!; + } + + public static + System.Threading.Tasks.Task< + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode> + GetClassificationNodeAsync(this TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, string project, + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, + string path = null, int? depth = default(int?), object userState = null, + System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + return null!; + } + + public static + System.Threading.Tasks.Task< + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode> + GetClassificationNodeAsync(this TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, + System.Guid project, + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, + string path = null, int? depth = default(int?), object userState = null, + System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + return null!; + } + + public static System.Threading.Tasks.Task DeleteClassificationNodeAsync( + this TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, string project, + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, + string path = null, int? reclassifyId = default(int?), object userState = null, + System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + return null!; + } + + public static System.Threading.Tasks.Task DeleteClassificationNodeAsync(this TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? reclassifyId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + return null!; + } + + public static + System.Threading.Tasks.Task< + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode> + UpdateClassificationNodeAsync(this TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, + string project, + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, + string path = null, object userState = null, + System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + return null!; + } + + public static System.Threading.Tasks.Task UpdateClassificationNodeAsync(this TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + return null!; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs index fd59564ed..1f612f365 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs @@ -156,6 +156,7 @@ internal static Task Verify(string testName, string source, IEnumerable - - - + + + diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs new file mode 100644 index 000000000..5c0b0ba9c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.cs +using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; + +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + internal partial class DisableExtensionController: ControllerBase + { + private TfsCmdlets.HttpClients.IExtensionManagementHttpClient Client { get; } + + // Extension + protected bool Has_Extension { get; set; } + protected object Extension { get; set; } + + // Publisher + protected bool Has_Publisher { get; set; } + protected string Publisher { get; set; } + + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + + // Items + protected IEnumerable Items => Extension switch { + Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension); + + protected override void CacheParameters() + { + // Extension + Has_Extension = Parameters.HasParameter("Extension"); + Extension = Parameters.Get("Extension"); + + // Publisher + Has_Publisher = Parameters.HasParameter("Publisher"); + Publisher = Parameters.Get("Publisher"); + + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + + [ImportingConstructor] + public DisableExtensionController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IExtensionManagementHttpClient client) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs new file mode 100644 index 000000000..09137f8ac --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.cs +using System.Management.Automation; +using System.Management.Automation.Runspaces; +using System.Xml.Linq; +using TfsCmdlets.Models; + +namespace TfsCmdlets.Cmdlets.Admin +{ + internal partial class GetConfigurationServerConnectionStringController: ControllerBase + { + + // ComputerName + protected bool Has_ComputerName { get; set; } + protected string ComputerName { get; set; } + + // Session + protected bool Has_Session { get; set; } + protected System.Management.Automation.Runspaces.PSSession Session { get; set; } + + // Version + protected bool Has_Version { get; set; } + protected int Version { get; set; } + + // Credential + protected bool Has_Credential { get; set; } + protected System.Management.Automation.PSCredential Credential { get; set; } + + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + + + protected override void CacheParameters() + { + // ComputerName + Has_ComputerName = Parameters.HasParameter("ComputerName"); + ComputerName = Parameters.Get("ComputerName", "localhost"); + + // Session + Has_Session = Parameters.HasParameter("Session"); + Session = Parameters.Get("Session"); + + // Version + Has_Version = Parameters.HasParameter("Version"); + Version = Parameters.Get("Version"); + + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential", PSCredential.Empty); + + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + + [ImportingConstructor] + public GetConfigurationServerConnectionStringController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs new file mode 100644 index 000000000..2a47ad3bb --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.Common; +using System.Net; +using Microsoft.VisualStudio.Services.Client; +using Microsoft.VisualStudio.Services.OAuth; + +namespace TfsCmdlets.Cmdlets.Credential +{ + internal partial class GetCredentialController: ControllerBase + { + + // Url + protected bool Has_Url { get; set; } + protected System.Uri Url { get; set; } + + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Common.VssCredentials); + + protected override void CacheParameters() + { + // Url + Has_Url = Parameters.HasParameter("Url"); + Url = Parameters.Get("Url"); + + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + + [ImportingConstructor] + public GetCredentialController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IInteractiveAuthentication interactiveAuthentication) + : base(powerShell, data, parameters, logger) + { + InteractiveAuthentication = interactiveAuthentication; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs new file mode 100644 index 000000000..60b890a59 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.GetVersionController.g.cs +using System.Text.RegularExpressions; +using TfsCmdlets.Models; + +namespace TfsCmdlets.Cmdlets.Admin +{ + internal partial class GetVersionController: ControllerBase + { + + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ServerVersion); + + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + + [ImportingConstructor] + public GetVersionController(ITfsVersionTable tfsVersionTable, IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + TfsVersionTable = tfsVersionTable; + RestApi = restApi; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs new file mode 100644 index 000000000..ad086eb5a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class NewAreaController: NewClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected string Node { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewAreaController(INodeUtil nodeUtil, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IWorkItemTrackingHttpClient client) + : base(nodeUtil, powerShell, data, parameters, logger, client) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs index ef52470f0..dec6c1e1c 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs @@ -68,7 +68,7 @@ protected override void CacheParameters() } [ImportingConstructor] - public NewGitRepositoryController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) + public NewGitRepositoryController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) : base(powerShell, data, parameters, logger) { Client = client; diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs new file mode 100644 index 000000000..489465f87 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs @@ -0,0 +1,67 @@ +//HintName: TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; + +namespace TfsCmdlets.Cmdlets.Git +{ + internal partial class RemoveGitRepositoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + + // Items + protected IEnumerable Items => Repository switch { + Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); + + protected override void CacheParameters() + { + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + + [ImportingConstructor] + public RemoveGitRepositoryController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs index 89a079922..f10dfc2c2 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using System.Text; using System.Xml.Xsl; using Microsoft.CodeAnalysis; @@ -9,9 +10,9 @@ namespace TfsCmdlets.SourceGenerators { public record ClassInfo { - public ClassInfo(INamedTypeSymbol targetType, - bool includeProperties = true, - bool includeMethods = false, + public ClassInfo(INamedTypeSymbol targetType, + bool includeProperties = true, + bool includeMethods = false, bool includeUsings = true, bool recurseMethods = false, string recurseMethodsStopAt = null) @@ -28,7 +29,7 @@ public ClassInfo(INamedTypeSymbol targetType, : Array.Empty()); Properties = new EquatableArray(includeProperties - ? GetProperties(targetType).ToArray() + ? GetProperties(targetType, recurseMethods, recurseMethodsStopAt).ToArray() : Array.Empty()); UsingsStatements = includeUsings @@ -36,6 +37,9 @@ public ClassInfo(INamedTypeSymbol targetType, : string.Empty; CtorArgs = new EquatableArray(GetCtorArgs(targetType).ToArray()); + ImportingConstructorArgs = GetImportingConstructorArguments(targetType); + ImportingConstructorBody = GetImportingConstructorBody(targetType); + } public ClassInfo(string name, string ns, string fullName, string fileName, IEnumerable ctorArgs = null) @@ -60,22 +64,29 @@ protected IEnumerable GetMethods(INamedTypeSymbol targetType, bool r .Where(m => m.MethodKind == MethodKind.Ordinary && m.DeclaredAccessibility == Accessibility.Public && + !m.IsStatic && !m.IsOverride && !m.HasAttribute("ObsoleteAttribute")); return methods.Select(m => new MethodInfo(m)); } - protected IEnumerable GetProperties(INamedTypeSymbol targetType) + protected IEnumerable GetProperties(INamedTypeSymbol targetType, bool recursive = false, string? stopAt = null) { - var props = targetType - .GetMembers() - .Where(m => - m.Kind == SymbolKind.Property && - m.DeclaredAccessibility == Accessibility.Public) - .Cast(); + if (!recursive || (string.IsNullOrEmpty(stopAt))) + { + stopAt = targetType.FullName(); + } + + var properties = targetType + .GetMembersRecursively(SymbolKind.Property, stopAt) + .Cast() + .Where(p => + !p.IsStatic && + p.DeclaredAccessibility == Accessibility.Public) + .ToList(); - return props.Select(p => new PropertyInfo(p)); + return properties.Select(m => new PropertyInfo(m)); } protected virtual IEnumerable GetCtorArgs(INamedTypeSymbol symbol) @@ -95,13 +106,19 @@ protected virtual IEnumerable GetCtorArgs(INamedTypeSymbol symbol) public string FileName { get; } - public EquatableArray Methods { get; set; } + public EquatableArray Methods { get; set; } - public EquatableArray Properties { get; set; } - - public string UsingsStatements { get; set; } + public EquatableArray Properties { get; set; } - public EquatableArray CtorArgs { get; set; } + public string UsingsStatements { get; set; } + + public EquatableArray CtorArgs { get; set; } + public string ImportingConstructorArgs { get; set; } + public string ImportingConstructorBody { get; } + public string BaseClassName => Enumerable.Contains(BaseClassFullName, '.') ? Enumerable.Last(BaseClassFullName.Split('.')) : BaseClassFullName; + public string BaseClassFullName { get; set; } + public string BaseClassImportingCtorArgs { get; set; } + public string BaseClassImportingBaseArgs { get; set; } public override string ToString() => FullName; @@ -118,5 +135,54 @@ protected virtual IEnumerable GetCtorArgs(INamedTypeSymbol symbol) #nullable enable """; + + private const string BASE_CLASS_CTOR_ARGS = "IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger"; + private const string BASE_CLASS_BASE_ARGS = "powerShell, data, parameters, logger"; + + public static ClassInfo CreateFromAttributeValue(GeneratorAttributeSyntaxContext ctx, string attributeName, string propertyName) + { + var node = ctx.TargetNode; + var typeSymbol = ctx.SemanticModel.GetDeclaredSymbol(node) as INamedTypeSymbol; + var targetType = typeSymbol?.GetAttributeNamedValue(attributeName, propertyName); + + return targetType is null + ? null + : new ClassInfo(targetType); + } + + protected string GetImportingBaseArgs() + { + return BaseClassImportingBaseArgs ?? BASE_CLASS_BASE_ARGS; + } + + protected string GetImportingConstructorBody(INamedTypeSymbol controller) + { + var parms = controller + .GetPropertiesWithAttribute("ImportAttribute") + .Select(p => $" {p.Name} = {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)};") + .ToList(); + + var client = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); + + if (client != null) parms.Add($" Client = client;"); + + return string.Join("\n", parms); + } + + protected string GetImportingConstructorArguments(INamedTypeSymbol controller) + { + var sb = new StringBuilder(); + var ctorArgs = controller.GetImportingConstructorArguments(); + + if (!string.IsNullOrEmpty(ctorArgs)) return ctorArgs; + + return sb + .Append(BASE_CLASS_CTOR_ARGS) + .Append(string.IsNullOrEmpty(ctorArgs) + ? string.Empty + : $", {ctorArgs}") + + .ToString(); + } } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs index efb6e4756..a6bef793c 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs @@ -89,19 +89,29 @@ public static int FindIndex(this string input, Predicate predicate, int st public static string GetImportingConstructorArguments(this INamedTypeSymbol type, INamedTypeSymbol baseClass = null) { - var parms = type.GetPropertiesWithAttribute("ImportAttribute") - .Select(p => $"{p.Type.Name} {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)}").ToList(); - - if (baseClass is not null) { - parms.AddRange(baseClass - .Constructors[0] - .Parameters - .Select(p => $"{p.Type.Name} {p.Name}")); - } - - var client = type.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); + var importCtor = type.GetImportingConstructor(); + List parms; - if (client != null) parms.Add($"{client.FullName()} client"); + if (importCtor is not null) + { + parms = importCtor.Parameters + .Select(p => $"{p.Type.Name} {p.Name}") + .ToList(); + } + else + { + parms = type.GetPropertiesWithAttribute("ImportAttribute") + .Select(p => $"{p.Type.Name} {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)}").ToList(); + if (baseClass is not null) + { + parms.AddRange(baseClass + .Constructors[0] + .Parameters + .Select(p => $"{p.Type.Name} {p.Name}")); + } + var client = type.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); + if (client != null) parms.Add($"{client.FullName()} client"); + } return string.Join(", ", parms); } @@ -204,6 +214,17 @@ public static bool HasDefaultConstructor(this INamedTypeSymbol symbol) return symbol.Constructors.Any(c => c.Parameters.Count() == 0); } + public static IMethodSymbol GetImportingConstructor(this INamedTypeSymbol symbol) + { + var ctors = symbol.GetMembers().OfType() + .Where(m => m.MethodKind == MethodKind.Constructor) + .ToList(); + + return ctors.FirstOrDefault(m => m.MethodKind == MethodKind.Constructor && + m.GetAttributes().Any( + a => a.AttributeClass.Name == "ImportingConstructorAttribute")); + } + public static IEnumerable ReadWriteScalarProperties(this INamedTypeSymbol symbol) { return symbol.GetMembers().OfType().Where(p => p.CanRead() && p.CanWrite() && !p.HasParameters()); diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index ee391b821..0c0bac125 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -214,7 +214,7 @@ private static string GenerateParameter(string name, string type, IList<(string, """; - private bool IsGetScopeCmdlet + public bool IsGetScopeCmdlet => ScopeNames.Contains(Noun) && Verb.Equals("Get"); private bool IsPipelineProperty(CmdletScope currentScope) diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs index b2e592170..2f71f1fe2 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs @@ -1,3 +1,6 @@ +using System; +using System.Collections; +using System.Collections.Generic; using System.Text; using System.Linq; using Microsoft.CodeAnalysis; @@ -12,39 +15,67 @@ public class ControllerGenerator : IIncrementalGenerator { public void Initialize(IncrementalGeneratorInitializationContext context) { - var cmdletsToGenerate = context.SyntaxProvider - .ForAttributeWithMetadataName( - "TfsCmdlets.TfsCmdletAttribute", - predicate: (_, _) => true, - transform: static (ctx, _) => CmdletInfo.Create(ctx)) - .Where(static m => m is not null) - .Select((m, _) => m!) - .Collect(); + try + { + var cmdletsToGenerate = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.TfsCmdletAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => CmdletInfo.Create(ctx)) + .Where(static m => m is not null) + .Select((m, _) => m!) + .Collect(); - var controllersToGenerate = context.SyntaxProvider - .ForAttributeWithMetadataName( - "TfsCmdlets.CmdletControllerAttribute", - predicate: (_, _) => true, - transform: static (ctx, _) => ControllerInfo.Create(ctx)) - .Where(static m => m is not null) - .Select((m, _) => m!) - .Combine(cmdletsToGenerate); + var baseClasses = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.CmdletControllerAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => ClassInfo.CreateFromAttributeValue(ctx, "CmdletControllerAttribute", "CustomBaseClass")) + .Where(static m => m is not null) + .Select((m, _) => m!) + .Collect(); - context.RegisterSourceOutput(controllersToGenerate, - static (spc, source) => - { - var controller = source.Left; - var allCmdlets = source.Right.OfType().ToList(); - var cmdlet = allCmdlets.FirstOrDefault(c => c.Name.Equals(controller.CmdletName)); - var result = GenerateCode(controller, cmdlet); - var filename = controller.FileName; - spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); - }); + var controllersToGenerate = context.SyntaxProvider + .ForAttributeWithMetadataName( + "TfsCmdlets.CmdletControllerAttribute", + predicate: (_, _) => true, + transform: static (ctx, _) => ControllerInfo.Create(ctx)) + .Where(static m => m is not null) + .Select((m, _) => m!) + .Combine(cmdletsToGenerate) + .Combine(baseClasses); + + context.RegisterSourceOutput(controllersToGenerate, + static (spc, source) => + { + try + { + var controller = source.Left.Left; + var baseClasses = source.Right.ToList(); + var allCmdlets = source.Left.Right.ToList(); + var cmdlet = allCmdlets.FirstOrDefault(c => c.Name.Equals(controller.CmdletName)); + var result = GenerateCode(controller, cmdlet, allCmdlets, baseClasses?.FirstOrDefault()); + var filename = controller.FileName; + spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); + } + catch (Exception ex) + { + throw new Exception($"Error generating {source.Left.Left.Name}: {ex}", ex); + } + }); + } + catch (Exception ex) + { + throw new Exception($"Error initializing generator: {ex}", ex); + } } - private static string GenerateCode(ControllerInfo model, CmdletInfo cmdlet) + private static string GenerateCode(ControllerInfo model, CmdletInfo cmdlet, IList allCmdlets, ClassInfo baseClass) { - model.CmdletInfo = cmdlet; + model.CmdletInfo = string.IsNullOrEmpty(model.CustomCmdletName) + ? cmdlet + : allCmdlets.First(c => c.Name == model.CustomCmdletName); + model.SetBaseClass(baseClass); return $$""" {{model.GenerateUsings()}} @@ -57,10 +88,7 @@ internal partial class {{model.Name}}: {{model.BaseClassName}} // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - {{model.GenerateItemsProperty()}} - // DataType - public override Type DataType => typeof({{model.DataType}}); - + {{model.GenerateItemsProperty()}}{{model.GenerateDataTypeProperty()}} protected override void CacheParameters() { {{model.GenerateCacheProperties()}} diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index cfbeaf5f2..b5d3f60a6 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -4,90 +4,81 @@ using System.Collections.Generic; using System.Linq; using System.Text; +using System.Text.RegularExpressions; using TfsCmdlets.SourceGenerators.Generators.Cmdlets; namespace TfsCmdlets.SourceGenerators.Generators.Controllers { public record ControllerInfo : ClassInfo { - private const string BASE_CLASS_CTOR_ARGS = "IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger"; - private const string BASE_CLASS_BASE_ARGS = "powerShell, data, parameters, logger"; - public CmdletInfo CmdletInfo { get; set; } public string CmdletClass { get; } public string GenericArg { get; } public string DataType { get; } public string Client { get; } - public string BaseClass { get; } + public ClassInfo CustomBaseClass { get; set; } public string CmdletName { get; } public string Cmdlet { get; } public string Usings { get; } private bool SkipGetProperty { get; } - public string ImportingConstructorArgs { get; } - public string ImportingConstructorBody { get; } + public string CustomCmdletName { get; } public string CtorArgs { get; } - public string BaseClassName => BaseClass.Contains('.') ? BaseClass.Split('.').Last() : BaseClass; public string Verb => CmdletInfo.Verb; public string Noun => CmdletInfo.Noun; - public string ImportingBaseArgs => BASE_CLASS_BASE_ARGS; + public string ImportingBaseArgs { get; set; } internal ControllerInfo(INamedTypeSymbol controller) : base(controller) { if (controller == null) throw new ArgumentNullException(nameof(controller)); - var cmdletClassName = controller.FullName().Replace(".Controllers.", ".Cmdlets."); - cmdletClassName = cmdletClassName.Substring(0, cmdletClassName.Length - "Controller".Length); - var customCmdletClass = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomCmdletName"); - if (!string.IsNullOrEmpty(customCmdletClass)) cmdletClassName = cmdletClassName.Replace(controller.Name, $"{customCmdletClass}Controller"); - CmdletClass = cmdletClassName; - CmdletName = cmdletClassName.Substring(cmdletClassName.LastIndexOf('.') + 1); - - var customBaseClass = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomBaseClass"); - BaseClass = customBaseClass?.FullName() ?? "TfsCmdlets.Controllers.ControllerBase"; - - DataType = controller.GetAttributeConstructorValue("CmdletControllerAttribute").FullName(); - var clientName = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client").FullName(); - //if (clientName.IndexOf('.') < 0) - //{ - // clientName = $"TfsCmdlets.HttpClients.{clientName}"; - //} - - Client = clientName; - GenericArg = DataType == null ? string.Empty : $"<{DataType}>"; - ImportingConstructorArgs = GetImportingConstructorArguments(controller); - CtorArgs = string.Join(", ", GetCtorArgs(controller).ToArray()); - ImportingConstructorBody = GetImportingConstructorBody(controller); - // GenerateProperties(); + var cmdletClassName = controller.FullName().Replace(".Controllers.", ".Cmdlets."); + cmdletClassName = cmdletClassName.Substring(0, cmdletClassName.Length - "Controller".Length); + CustomCmdletName = controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomCmdletName"); + if (!string.IsNullOrEmpty(CustomCmdletName)) + cmdletClassName = cmdletClassName.Replace(controller.Name, $"{CustomCmdletName}Controller"); + CmdletClass = cmdletClassName; + CmdletName = cmdletClassName.Substring(cmdletClassName.LastIndexOf('.') + 1); + + var customBaseClass = + controller.GetAttributeNamedValue("CmdletControllerAttribute", "CustomBaseClass"); + BaseClassFullName = customBaseClass?.FullName() ?? "TfsCmdlets.Controllers.ControllerBase"; + + DataType = controller.GetAttributeConstructorValue("CmdletControllerAttribute")? + .FullName(); + var clientName = controller + .GetAttributeNamedValue("CmdletControllerAttribute", "Client").FullName(); + //if (clientName.IndexOf('.') < 0) + //{ + // clientName = $"TfsCmdlets.HttpClients.{clientName}"; + //} + + Client = clientName; + GenericArg = DataType == null ? string.Empty : $"<{DataType}>"; + ImportingBaseArgs = GetImportingBaseArgs(); + CtorArgs = string.Join(", ", GetCtorArgs(controller).ToArray()); + // GenerateProperties(); } - private string GetImportingConstructorBody(INamedTypeSymbol controller) + public void SetBaseClass(ClassInfo baseClass) { - var parms = controller - .GetPropertiesWithAttribute("ImportAttribute") - .Select(p => $" {p.Name} = {p.Name[0].ToString().ToLower()}{p.Name.Substring(1)};") - .ToList(); - - var client = controller.GetAttributeNamedValue("CmdletControllerAttribute", "Client"); - - if (client != null) parms.Add($" Client = client;"); - - return string.Join("\n", parms); + if (baseClass == null) return; + + CustomBaseClass = baseClass; + BaseClassFullName = baseClass.FullName; + BaseClassImportingCtorArgs = baseClass.ImportingConstructorArgs; + BaseClassImportingBaseArgs = ConvertToArgValues(BaseClassImportingCtorArgs); + ImportingConstructorArgs = BaseClassImportingCtorArgs; + ImportingBaseArgs = GetImportingBaseArgs(); } - private string GetImportingConstructorArguments(INamedTypeSymbol controller) + private string ConvertToArgValues(string methodArgs) { - var ctorArgs = controller.GetImportingConstructorArguments(); + var tokens = Regex.Split(methodArgs, " ?, ?"); - return BASE_CLASS_CTOR_ARGS + (string.IsNullOrEmpty(ctorArgs) - ? string.Empty - : ", " + ctorArgs); + return string.Join(", ", tokens.Select(t => t.Split(' ')[1]).ToArray()); } - public void SetBaseClass(INamedTypeSymbol baseClass) - { - - } public string GenerateUsings() { @@ -102,11 +93,19 @@ public string GenerateClientProperty() """; } + public bool HasGetInputProperty + => Verb == "Get" + && CmdletInfo.ParameterProperties.Count > 0 + && CmdletInfo.ParameterProperties[0].Type == "object"; + public string GenerateGetInputProperty() { - if (Verb != "Get") return string.Empty; + if (!HasGetInputProperty) return string.Empty; + + var prop = CmdletInfo.ParameterProperties.FirstOrDefault(); + + if (prop is null) return string.Empty; - var prop = CmdletInfo.ParameterProperties.First(); var initializer = string.IsNullOrEmpty(prop.DefaultValue) ? string.Empty : $", {prop.DefaultValue}"; return $$""" @@ -129,7 +128,7 @@ public string GenerateDeclaredProperties() { var sb = new StringBuilder(); - foreach (var prop in CmdletInfo.ParameterProperties.Skip(Verb == "Get" ? 1 : 0)) + foreach (var prop in CmdletInfo.ParameterProperties.Skip(HasGetInputProperty ? 1 : 0)) { sb.Append($$""" @@ -153,15 +152,97 @@ public string GenerateDeclaredProperties() public string GenerateAutomaticProperties() { - return !IsPassthru - ? string.Empty - : $$""" + var sb = new StringBuilder(); + + if(IsPassthru) + { + sb.Append($$""" + + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + + """); + } + + if (CmdletInfo.Name.EndsWith("Area") || CmdletInfo.Name.EndsWith("Iteration")) + { + sb.Append($$""" + + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + + """); + } + + if (HasCredentialProperties) + { + sb.Append($$""" + + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + + """); + } + + return sb.ToString(); + } + + private bool HasCredentialProperties => + CmdletInfo.Verb == "Connect" + || CmdletInfo.IsGetScopeCmdlet + || CmdletInfo.Name == "NewCredential"; + + private void GenerateCredentialProperties(StringBuilder sb) + { + sb.Append($$""" + + protected bool Has_Cached { get; set; } // => Parameters.HasParameter(nameof(Cached)); + protected bool Cached { get; set; } // => _Cached; // Parameters.Get(nameof(Cached)); + + // UserName + protected bool Has_UserName { get; set; } // => Parameters.HasParameter(nameof(UserName)); + protected string UserName { get; set; } // => _UserName; // Parameters.Get(nameof(UserName)); + + // Password + protected bool Has_Password { get; set; } // => Parameters.HasParameter(nameof(Password)); + protected System.Security.SecureString Password { get; set; } // => _Password; // Parameters.Get(nameof(Password)); - // Passthru - protected bool Has_Passthru { get; set; } - protected bool Passthru { get; set; } + // Credential + protected bool Has_Credential { get; set; } // => Parameters.HasParameter(nameof(Credential)); + protected object Credential { get; set; } // => _Credential; // Parameters.Get(nameof(Credential)); - """; + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } // => Parameters.HasParameter(nameof(PersonalAccessToken)); + protected string PersonalAccessToken { get; set; } // => _PersonalAccessToken; // Parameters.Get(nameof(PersonalAccessToken)); + + // Interactive + protected bool Has_Interactive { get; set; } // => Parameters.HasParameter(nameof(Interactive)); + protected bool Interactive { get; set; } // => _Interactive; // Parameters.Get(nameof(Interactive)); + + """); } public string GenerateScopeProperties() @@ -202,42 +283,47 @@ public string GenerateParameterSetProperty() public string GenerateItemsProperty() { - var hasItemsProperty = !Verb.Equals("Get") - && CmdletInfo.ParameterProperties.Count > 0 - && CmdletInfo.ParameterProperties[0].Type.Equals("object"); + if (!HasItemsProperty) return string.Empty; - if (!hasItemsProperty) return string.Empty; + var dataType = DataType ?? CmdletInfo.DataType; - if (string.IsNullOrEmpty(DataType)) + if (string.IsNullOrEmpty(dataType)) { return $""" // Items protected IEnumerable Items => Data.Invoke("Get", "{Noun}"); - """; } return $$""" - // Items - protected IEnumerable{{GenericArg}} Items => {{CmdletInfo.ParameterProperties[0].Name}} switch { - {{DataType}} item => new[] { item }, - IEnumerable{{GenericArg}} items => items, - _ => Data.GetItems{{GenericArg}}() - }; - + // Items + protected IEnumerable<{{dataType}}> Items => {{CmdletInfo.ParameterProperties[0].Name}} switch { + {{dataType}} item => new[] { item }, + IEnumerable<{{dataType}}> items => items, + _ => Data.GetItems<{{dataType}}>() + }; + """; } + private bool HasItemsProperty => + !Verb.Equals("Get") + && CmdletInfo.ParameterProperties.Count > 0 + && CmdletInfo.ParameterProperties[0].Type.Equals("object"); + public string GenerateDataTypeProperty() { + var dataType = DataType ?? CmdletInfo.DataType; + if (dataType is null) return string.Empty; + return $""" + // DataType - public override Type DataType => typeof({DataType}); - + public override Type DataType => typeof({dataType}); """; } @@ -246,12 +332,16 @@ public string GenerateCacheProperties() { var sb = new StringBuilder(); - foreach (var prop in CmdletInfo.ParameterProperties.Skip(Verb == "Get" ? 1 : 0)) + foreach (var prop in CmdletInfo.ParameterProperties.Skip(HasGetInputProperty ? 1 : 0)) { + var initValue = string.IsNullOrEmpty(prop.DefaultValue) + ? string.Empty + : $", {prop.DefaultValue}"; + sb.Append($$""" // {{prop.Name}} Has_{{prop.Name}} = Parameters.HasParameter("{{prop.Name}}"); - {{prop.Name}} = Parameters.Get<{{(prop.Type == "SwitchParameter" ? "bool" : prop.Type)}}>("{{prop.Name}}"); + {{prop.Name}} = Parameters.Get<{{(prop.Type == "SwitchParameter" ? "bool" : prop.Type)}}>("{{prop.Name}}"{{initValue}}); """); sb.AppendLine(); @@ -268,6 +358,48 @@ public string GenerateCacheProperties() sb.AppendLine(); } + if (CmdletInfo.Name.EndsWith("Area") || CmdletInfo.Name.EndsWith("Iteration")) + { + sb.Append($$""" + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + + + """); + } + + if (HasCredentialProperties) + { + sb.Append(""" + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + + """); + sb.AppendLine(); + } + sb.Append($$""" // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs index 2779d337c..918a4ed6b 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs @@ -6,6 +6,7 @@ namespace TfsCmdlets.SourceGenerators.Generators.HttpClients { + [Generator] public class HttpClientGenerator : IIncrementalGenerator { public void Initialize(IncrementalGeneratorInitializationContext context) diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs index bc905ef7e..987fdd694 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientInfo.cs @@ -13,7 +13,7 @@ public HttpClientInfo(INamedTypeSymbol symbol) : base(symbol) { var originalType = symbol.GetAttributeConstructorValue("HttpClientAttribute"); - OriginalType = new ClassInfo(originalType, false, true, true, true, + OriginalType = new ClassInfo(originalType, true, true, true, true, "Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase"); } @@ -28,6 +28,12 @@ public string GetInterfaceBody() { var sb = new StringBuilder(); + foreach (var prop in OriginalType.Properties) + { + sb.Append($"\t\t{prop}"); + sb.AppendLine(); + } + foreach (var method in OriginalType.Methods) { sb.Append($"\t\t{method}"); @@ -41,6 +47,16 @@ public string GetClassBody() { var sb = new StringBuilder(); + foreach (var prop in OriginalType.Properties) + { + sb.Append($$""" + public {{prop.Type}} {{prop.Name}} { + get => Client.{{prop.Name}};{{(prop.HasSetAccessor ? + $"\n set => Client.{prop.Name} = value;" : string.Empty)}} } + """); + sb.AppendLine(); + } + foreach (var method in OriginalType.Methods) { sb.Append($"\t\t{method.ToString($"\t\t\t=> Client.{method.Name}{method.SignatureNamesOnly};")}"); diff --git a/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs index af405a548..3b1d9f225 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/PropertyInfo.cs @@ -12,6 +12,16 @@ public record PropertyInfo public string DefaultValue { get; set; } + public string Visibility { get; set; } + + public bool HasGetAccessor { get; set; } + + public string GetAccessorVisibility { get; set; } + + public bool HasSetAccessor { get; set; } + + public string SetAccessorVisibility { get; set; } + public bool IsHidden { get; set; } public bool IsScope { get; set; } @@ -26,7 +36,13 @@ public PropertyInfo(IPropertySymbol prop) public PropertyInfo(IPropertySymbol prop, string generatedCode) : this(prop.Name, prop.Type.ToString(), generatedCode) { - var node = (PropertyDeclarationSyntax) prop.DeclaringSyntaxReferences.First().GetSyntax(); + Visibility = prop.DeclaredAccessibility.ToString().ToLowerInvariant(); + HasGetAccessor = !prop.IsWriteOnly; + HasSetAccessor = !prop.IsReadOnly; + GetAccessorVisibility = string.Empty; + SetAccessorVisibility = string.Empty; + + if (prop.DeclaringSyntaxReferences.FirstOrDefault()?.GetSyntax() is not PropertyDeclarationSyntax node) return; var initializer = node.Initializer; DefaultValue = initializer?.Value.ToString(); @@ -49,7 +65,11 @@ public PropertyInfo(string name, string typeName, bool isHidden, string generate public override string ToString() { - return GeneratedCode; + return string.IsNullOrEmpty(GeneratedCode) + ? $$""" + {{Visibility}} {{Type}} {{Name}} { {{(HasGetAccessor ? "get; " : string.Empty)}}{{(HasSetAccessor ? "set; " : string.Empty)}}} + """ + : GeneratedCode; } } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/Cmdlets/Admin/GetConfigurationServerConnectionString.cs b/CSharp/TfsCmdlets/Cmdlets/Admin/GetConfigurationServerConnectionString.cs index 3aa6d2446..99c991957 100644 --- a/CSharp/TfsCmdlets/Cmdlets/Admin/GetConfigurationServerConnectionString.cs +++ b/CSharp/TfsCmdlets/Cmdlets/Admin/GetConfigurationServerConnectionString.cs @@ -11,7 +11,7 @@ namespace TfsCmdlets.Cmdlets.Admin /// Online version: /// Get-TfsInstallationPath [TfsCmdlet(CmdletScope.None, WindowsOnly = true, OutputType = typeof(string), SkipGetProperty = true)] - partial class GetConfigurationConnectionString + partial class GetConfigurationServerConnectionString { /// /// Specifies the name of a Team Foundation Server application tier from which to @@ -49,7 +49,7 @@ partial class GetConfigurationConnectionString } [CmdletController] - partial class GetConfigurationConnectionStringController + partial class GetConfigurationServerConnectionStringController { protected override IEnumerable Run() { diff --git a/CSharp/TfsCmdlets/Cmdlets/Artifact/GetArtifactVersion.cs b/CSharp/TfsCmdlets/Cmdlets/Artifact/GetArtifactVersion.cs index 6852b325f..52d2d955e 100644 --- a/CSharp/TfsCmdlets/Cmdlets/Artifact/GetArtifactVersion.cs +++ b/CSharp/TfsCmdlets/Cmdlets/Artifact/GetArtifactVersion.cs @@ -15,7 +15,7 @@ partial class GetArtifactVersion /// [Parameter(Position = 0)] [ValidateNotNullOrEmpty] - public string Version { get; set; } = "*"; + public object Version { get; set; } = "*"; /// /// Specifies the package (artifact) name. @@ -33,7 +33,7 @@ partial class GetArtifactVersion public object Feed { get; set; } /// - /// Includes deletes packages in the result. + /// Includes deleted packages in the result. /// [Parameter()] public SwitchParameter IncludeDeleted { get; set; } diff --git a/CSharp/TfsCmdlets/Cmdlets/ExtensionManagement/DisableExtension.cs b/CSharp/TfsCmdlets/Cmdlets/ExtensionManagement/DisableExtension.cs index e50f19b87..b13c74b41 100644 --- a/CSharp/TfsCmdlets/Cmdlets/ExtensionManagement/DisableExtension.cs +++ b/CSharp/TfsCmdlets/Cmdlets/ExtensionManagement/DisableExtension.cs @@ -1,4 +1,3 @@ -using System.Management.Automation; using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; namespace TfsCmdlets.Cmdlets.ExtensionManagement diff --git a/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs b/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs index 593184f46..a33636802 100644 --- a/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs +++ b/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs @@ -2,6 +2,7 @@ using Microsoft.VisualStudio.Services.Identity; using Microsoft.VisualStudio.Services.Identity.Client; using Microsoft.VisualStudio.Services.Licensing; +using IIdentityHttpClient = Microsoft.VisualStudio.Services.Identity.Client.IIdentityHttpClient; namespace TfsCmdlets.Cmdlets.Identity { diff --git a/CSharp/TfsCmdlets/Cmdlets/Identity/Group/AddGroupMember.cs b/CSharp/TfsCmdlets/Cmdlets/Identity/Group/AddGroupMember.cs index 964c48b5a..5f6a8cfa0 100644 --- a/CSharp/TfsCmdlets/Cmdlets/Identity/Group/AddGroupMember.cs +++ b/CSharp/TfsCmdlets/Cmdlets/Identity/Group/AddGroupMember.cs @@ -2,6 +2,7 @@ using Microsoft.VisualStudio.Services.Identity; using Microsoft.VisualStudio.Services.Identity.Client; using TfsCmdlets.Cmdlets.Identity.Group; +using IIdentityHttpClient = TfsCmdlets.HttpClients.IIdentityHttpClient; namespace TfsCmdlets.Cmdlets.Identity.Group { diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs b/CSharp/TfsCmdlets/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs index 9582559c1..b8fa119f6 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs +++ b/CSharp/TfsCmdlets/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs @@ -2,7 +2,7 @@ namespace TfsCmdlets.Cmdlets.WorkItem.Tagging { - internal abstract class ToggleWorkItemTagController: ControllerBase + public abstract class ToggleWorkItemTagController: ControllerBase { [Import] private ITaggingHttpClient Client { get; set; } diff --git a/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs b/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs index a43e60dea..7acb5068d 100644 --- a/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs +++ b/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs @@ -35,7 +35,6 @@ private static async Task SignInUserAndGetTokenUsingMSAL(s ClientName = "TfsCmdlets.InteractiveAuth", ClientVersion = Assembly.GetExecutingAssembly().GetName().Version?.ToString() }) - .WithDesktopFeatures() .WithDefaultRedirectUri() .Build(); diff --git a/CSharp/TfsCmdlets/TfsCmdlets.csproj b/CSharp/TfsCmdlets/TfsCmdlets.csproj index d52cc5fa0..58d79897e 100644 --- a/CSharp/TfsCmdlets/TfsCmdlets.csproj +++ b/CSharp/TfsCmdlets/TfsCmdlets.csproj @@ -1,64 +1,68 @@  - - netcoreapp3.1;net471 - TfsCmdlets - true - 11.0 - $(TargetPath)\TfsCmdlets.xml - 1591 - preview - + + net8.0-windows;net472 + TfsCmdlets + true + 11.0 + $(TargetPath)\TfsCmdlets.xml + 1591 + preview + - - true - obj/Generated - + + true + obj/Generated + - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + - - - - - + + + + + - - - <_Parameter1>TfsCmdlets.Tests.UnitTests - - + + + + + - + + + <_Parameter1>TfsCmdlets.Tests.UnitTests + + + + \ No newline at end of file From 51c3914558783bbf4becd2583d4971d7d9af9d4a Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Mon, 22 Sep 2025 13:25:15 -0300 Subject: [PATCH 13/36] Update unit tests --- .../Cmdlets/Can_Create_Get_Cmdlet.cs | 4 +- .../Controllers/Admin/AdminControllerTests.cs | 37 ++ .../Admin/Registry/RegistryControllerTests.cs | 26 + .../Artifact/ArtifactControllerTests.cs | 48 ++ .../Can_Create_DisableExtension.cs | 16 - ...Create_GetConfigurationConnectionString.cs | 16 - .../Controllers/Can_Create_GetCredential.cs | 16 - .../Controllers/Can_Create_GetVersion.cs | 16 - .../Controllers/Can_Create_Get_Controller.cs | 16 - .../Can_Create_NewAreaController.cs | 16 - .../Controllers/Can_Create_NewController.cs | 16 - .../Can_Create_RemoveGitRepository.cs | 16 - .../Credential/CredentialControllerTests.cs | 15 + .../ExtensionManagementControllerTests.cs | 59 ++ .../Git/Branch/BranchControllerTests.cs | 26 + .../Git/Commit/CommitControllerTests.cs | 15 + .../Controllers/Git/GitControllerTests.cs | 70 +++ .../Git/Item/ItemControllerTests.cs | 15 + .../Git/Policy/PolicyControllerTests.cs | 26 + .../Identity/Group/GroupControllerTests.cs | 70 +++ .../Identity/IdentityControllerTests.cs | 15 + .../Identity/User/UserControllerTests.cs | 37 ++ .../OrganizationControllerTests.cs | 37 ++ .../Definition/DefinitionControllerTests.cs | 59 ++ .../Build/Folder/FolderControllerTests.cs | 37 ++ .../Pipeline/PipelineControllerTests.cs | 15 + .../ReleaseManagementControllerTests.cs | 48 ++ .../Field/FieldControllerTests.cs | 37 ++ .../ProcessTemplateControllerTests.cs | 37 ++ .../RestApi/RestApiControllerTests.cs | 26 + .../ServiceHook/ServiceHookControllerTests.cs | 48 ++ .../Controllers/Shell/ShellControllerTests.cs | 26 + .../Team/Backlog/BacklogControllerTests.cs | 15 + .../Team/Board/BoardControllerTests.cs | 37 ++ .../TeamAdmin/TeamAdminControllerTests.cs | 37 ++ .../Controllers/Team/TeamControllerTests.cs | 81 +++ .../TeamMember/TeamMemberControllerTests.cs | 37 ++ .../Avatar/AvatarControllerTests.cs | 37 ++ .../Member/MemberControllerTests.cs | 15 + .../TeamProject/TeamProjectControllerTests.cs | 92 +++ .../TeamProjectCollectionControllerTests.cs | 59 ++ .../TestManagementControllerTests.cs | 48 ++ .../Controllers/Wiki/WikiControllerTests.cs | 37 ++ .../AreasIterationsControllerTests.cs | 136 ++++ .../History/HistoryControllerTests.cs | 15 + .../Linking/LinkingControllerTests.cs | 26 + .../Queries/QueriesControllerTests.cs | 81 +++ .../Tagging/TaggingControllerTests.cs | 37 ++ .../WorkItemTypeControllerTests.cs | 15 + .../WorkItem/WorkItemsControllerTests.cs | 59 ++ .../HttpClientGenerator/Can_Create_Client.cs | 16 - .../Can_Create_HttpClients.cs | 290 +++++++++ .../Can_Create_IIdentityHttpClient.cs | 16 - ...sCmdlets.SourceGenerators.UnitTests.csproj | 3 + ...oup.AddGroupMemberController.g.verified.cs | 48 ++ ...Admin.AddTeamAdminController.g.verified.cs | 51 ++ ...mber.AddTeamMemberController.g.verified.cs | 49 ++ ...s.Team.ConnectTeamController.g.verified.cs | 89 +++ ...mProjectCollectionController.g.verified.cs | 85 +++ ...ConnectTeamProjectController.g.verified.cs | 85 +++ ...terations.CopyAreaController.g.verified.cs | 75 +++ ...ions.CopyIterationController.g.verified.cs | 75 +++ ...ement.CopyTestPlanController.g.verified.cs | 122 ++++ ...bleBuildDefinitionController.g.verified.cs | 54 ++ ....DisableExtensionController.g.verified.cs} | 18 +- ...sableGitRepositoryController.g.verified.cs | 55 ++ ...DisableWorkItemTagController.g.verified.cs | 58 ++ ...eam.DisconnectTeamController.g.verified.cs | 24 + ...mProjectCollectionController.g.verified.cs | 25 + ...connectTeamProjectController.g.verified.cs | 24 + ...bleBuildDefinitionController.g.verified.cs | 54 ++ ...nt.EnableExtensionController.g.verified.cs | 57 ++ ...nableGitRepositoryController.g.verified.cs | 55 ++ ....EnableWorkItemTagController.g.verified.cs | 57 ++ ...s.Shell.EnterShellController.g.verified.cs | 47 ++ ...ts.Shell.ExitShellController.g.verified.cs | 21 + ...ortProcessTemplateController.g.verified.cs | 60 ++ ...tTeamProjectAvatarController.g.verified.cs | 44 ++ ...xportWorkItemQueryController.g.verified.cs | 81 +++ ...ExportWorkItemTypeController.g.verified.cs | 68 ++ ...Iterations.GetAreaController.g.verified.cs | 53 ++ ...tifact.GetArtifactController.g.verified.cs | 87 +++ ...ct.GetArtifactFeedController.g.verified.cs | 57 ++ ...etArtifactFeedViewController.g.verified.cs | 64 ++ ...GetArtifactVersionController.g.verified.cs | 77 +++ ...GetBuildDefinitionController.g.verified.cs | 54 ++ ...ldDefinitionFolderController.g.verified.cs | 54 ++ ...rConnectionStringController.g.verified.cs} | 16 +- ...ement.GetExtensionController.g.verified.cs | 68 ++ ...ranch.GetGitBranchController.g.verified.cs | 65 ++ ...GetGitBranchPolicyController.g.verified.cs | 60 ++ ...ommit.GetGitCommitController.g.verified.cs | 162 +++++ ...it.Item.GetGitItemController.g.verified.cs | 84 +++ ...y.GetGitPolicyTypeController.g.verified.cs | 47 ++ ....GetGitRepositoryController.g.verified.cs} | 17 +- ...ity.Group.GetGroupController.g.verified.cs | 60 ++ ...oup.GetGroupMemberController.g.verified.cs | 55 ++ ...entity.GetIdentityController.g.verified.cs | 57 ++ ...etInstallationPathController.g.verified.cs | 58 ++ ...tions.GetIterationController.g.verified.cs | 53 ++ ...essFieldDefinitionController.g.verified.cs | 67 ++ ...GetProcessTemplateController.g.verified.cs | 50 ++ ...y.GetRegistryValueController.g.verified.cs | 43 ++ ...tReleaseDefinitionController.g.verified.cs | 48 ++ ...seDefinitionFolderController.g.verified.cs | 56 ++ ...tApi.GetRestClientController.g.verified.cs | 38 ++ ...erviceHookConsumerController.g.verified.cs | 40 ++ ...otificationHistoryController.g.verified.cs | 64 ++ ...rviceHookPublisherController.g.verified.cs | 45 ++ ...ceHookSubscriptionController.g.verified.cs | 65 ++ ...Admin.GetTeamAdminController.g.verified.cs | 43 ++ ...etTeamBacklogLevelController.g.verified.cs | 52 ++ ...tTeamBoardCardRuleController.g.verified.cs | 64 ++ ...Board.GetTeamBoardController.g.verified.cs | 51 ++ ...dlets.Team.GetTeamController.g.verified.cs | 113 ++++ ...mber.GetTeamMemberController.g.verified.cs | 49 ++ ...mProjectCollectionController.g.verified.cs | 82 +++ ...ect.GetTeamProjectController.g.verified.cs | 106 ++++ ...tTeamProjectMemberController.g.verified.cs | 53 ++ ...gement.GetTestPlanController.g.verified.cs | 65 ++ ...ntity.User.GetUserController.g.verified.cs | 52 ++ ....Admin.GetVersionController.g.verified.cs} | 9 +- ...dlets.Wiki.GetWikiController.g.verified.cs | 53 ++ ...GetWorkItemHistoryController.g.verified.cs | 45 ++ ...ortProcessTemplateController.g.verified.cs | 40 ++ ...tTeamProjectAvatarController.g.verified.cs | 40 ++ ...t.InstallExtensionController.g.verified.cs | 51 ++ ...tApi.InvokeRestApiController.g.verified.cs | 115 ++++ ...terations.MoveAreaController.g.verified.cs | 64 ++ ...ions.MoveIterationController.g.verified.cs | 64 ++ ...terations.NewAreaController.g.verified.cs} | 0 ...ldDefinitionFolderController.g.verified.cs | 60 ++ ...ial.GetCredentialController.g.verified.cs} | 23 +- ....NewGitRepositoryController.g.verified.cs} | 20 +- ...ity.Group.NewGroupController.g.verified.cs | 61 ++ ...tions.NewIterationController.g.verified.cs | 70 +++ ...essFieldDefinitionController.g.verified.cs | 100 +++ ...seDefinitionFolderController.g.verified.cs | 56 ++ ...dlets.Team.NewTeamController.g.verified.cs | 96 +++ ...mProjectCollectionController.g.verified.cs | 103 ++++ ...ect.NewTeamProjectController.g.verified.cs | 66 ++ ...gement.NewTestPlanController.g.verified.cs | 79 +++ ...ntity.User.NewUserController.g.verified.cs | 71 +++ ...dlets.Wiki.NewWikiController.g.verified.cs | 73 +++ ...rations.RemoveAreaController.g.verified.cs | 64 ++ ...ldDefinitionFolderController.g.verified.cs | 61 ++ ...ch.RemoveGitBranchController.g.verified.cs | 54 ++ ...moveGitRepositoryController.g.verified.cs} | 17 +- ....Group.RemoveGroupController.g.verified.cs | 54 ++ ....RemoveGroupMemberController.g.verified.cs | 45 ++ ...ns.RemoveIterationController.g.verified.cs | 64 ++ ...essFieldDefinitionController.g.verified.cs | 56 ++ ...seDefinitionFolderController.g.verified.cs | 61 ++ ...in.RemoveTeamAdminController.g.verified.cs | 51 ++ ...ts.Team.RemoveTeamController.g.verified.cs | 48 ++ ...r.RemoveTeamMemberController.g.verified.cs | 48 ++ ...eTeamProjectAvatarController.g.verified.cs | 38 ++ ....RemoveTeamProjectController.g.verified.cs | 60 ++ ...ent.RemoveTestPlanController.g.verified.cs | 48 ++ ...ty.User.RemoveUserController.g.verified.cs | 47 ++ ...ts.Wiki.RemoveWikiController.g.verified.cs | 55 ++ ....RemoveWorkItemTagController.g.verified.cs | 55 ++ ...enameGitRepositoryController.g.verified.cs | 54 ++ ...ts.Team.RenameTeamController.g.verified.cs | 54 ++ ....RenameTeamProjectController.g.verified.cs | 59 ++ ...umeBuildDefinitionController.g.verified.cs | 48 ++ ...tions.SetIterationController.g.verified.cs | 81 +++ ...y.SetRegistryValueController.g.verified.cs | 54 ++ ...tTeamBoardCardRuleController.g.verified.cs | 98 +++ ...dlets.Team.SetTeamController.g.verified.cs | 139 +++++ ...ect.SetTeamProjectController.g.verified.cs | 65 ++ ...e.Build.StartBuildController.g.verified.cs | 47 ++ ...endBuildDefinitionController.g.verified.cs | 48 ++ ...terations.TestAreaController.g.verified.cs | 44 ++ ...TeamProjectRemovalController.g.verified.cs | 43 ++ ...UninstallExtensionController.g.verified.cs | 51 ++ ...erConnectionStringController.g.verified.cs | 49 ++ ...etInstallationPathController.g.verified.cs | 65 ++ ...y.GetRegistryValueController.g.verified.cs | 48 ++ ...s.Admin.GetVersionController.g.verified.cs | 33 + ...y.SetRegistryValueController.g.verified.cs | 54 ++ ....IAccountLicensingHttpClient.g.verified.cs | 103 ++++ ....IAccountLicensingHttpClient.g.verified.cs | 85 +++ ...ttpClients.IBuildHttpClient.g.verified.cs} | 0 ...xtensionManagementHttpClient.g.verified.cs | 1 + ....HttpClients.IFeedHttpClient.g.verified.cs | 1 + ...tpClients.IGenericHttpClient.g.verified.cs | 1 + ...ients.IGitExtendedHttpClient.g.verified.cs | 1 + ...s.HttpClients.IGitHttpClient.g.verified.cs | 1 + ...HttpClients.IGraphHttpClient.g.verified.cs | 1 + ...pClients.IIdentityHttpClient.g.verified.cs | 193 ++++++ ...lients.IOperationsHttpClient.g.verified.cs | 1 + ...ttpClients.IPolicyHttpClient.g.verified.cs | 1 + ...tpClients.IProcessHttpClient.g.verified.cs | 43 ++ ...tpClients.IProjectHttpClient.g.verified.cs | 1 + ...tpClients.IReleaseHttpClient.g.verified.cs | 583 ++++++++++++++++++ ...pClients.IReleaseHttpClient2.g.verified.cs | 1 + ...ttpClients.ISearchHttpClient.g.verified.cs | 1 + ...viceHooksPublisherHttpClient.g.verified.cs | 1 + ...tpClients.ITaggingHttpClient.g.verified.cs | 1 + ...Clients.ITeamAdminHttpClient.g.verified.cs | 1 + ....HttpClients.ITeamHttpClient.g.verified.cs | 58 ++ ...pClients.ITestPlanHttpClient.g.verified.cs | 1 + ....HttpClients.IWikiHttpClient.g.verified.cs | 1 + ....HttpClients.IWorkHttpClient.g.verified.cs | 1 + ....IWorkItemTrackingHttpClient.g.verified.cs | 1 + ...temTrackingProcessHttpClient.g.verified.cs | 244 ++++++++ 207 files changed, 10601 insertions(+), 270 deletions(-) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/AdminControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewController.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Credential/CredentialControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/GitControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Item/ItemControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/IdentityControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/User/UserControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Organization/OrganizationControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/RestApi/RestApiControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Shell/ShellControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Board/BoardControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Wiki/WikiControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_HttpClients.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs => CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs} (92%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs => CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs} (99%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs => CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs} (92%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs => CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs} (99%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs => CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs} (100%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs => CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs} (93%) rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs => CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs} (95%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/{Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs => CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs} (92%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/{ControllerGenerator/Can_Create_HttpClient#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs => HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs} (100%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs index 2f76f8f77..530fb9588 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs @@ -3,10 +3,10 @@ public partial class CmdletGeneratorTests { [Fact] - public async Task Can_Create_Get_Cmdlet() + public async Task CanGenerate_Get_Cmdlet() { await TestHelper.VerifyFiles( - nameof(Can_Create_Get_Cmdlet), + nameof(CanGenerate_Get_Cmdlet), new[] { "TfsCmdlets\\Cmdlets\\Git\\GetGitRepository.cs" diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/AdminControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/AdminControllerTests.cs new file mode 100644 index 000000000..eea2327b8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/AdminControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Admin; + +public partial class AdminControllerTests +{ + [Fact] + public async Task CanGenerate_GetVersionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetVersionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetVersion.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetConfigurationServerConnectionStringController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetConfigurationServerConnectionStringController), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetConfigurationServerConnectionString.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetInstallationPathController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetInstallationPathController), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetInstallationPath.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs new file mode 100644 index 000000000..c47a80025 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Admin.Registry; + +public partial class RegistryControllerTests +{ + [Fact] + public async Task CanGenerate_GetRegistryValueController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetRegistryValueController), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\Registry\\GetRegistryValue.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetRegistryValueController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetRegistryValueController), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\Registry\\SetRegistryValue.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs new file mode 100644 index 000000000..30ddba51f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Artifact; + +public partial class ArtifactControllerTests +{ + [Fact] + public async Task CanGenerate_GetArtifactController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactController), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifact.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetArtifactFeedController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactFeedController), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifactFeed.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetArtifactFeedViewController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactFeedViewController), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifactFeedView.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetArtifactVersionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactVersionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifactVersion.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs deleted file mode 100644 index 615dfaf5a..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_DisableExtension.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_DisableExtension() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_DisableExtension), - new[] - { - "TfsCmdlets\\Cmdlets\\ExtensionManagement\\DisableExtension.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs deleted file mode 100644 index f0a3b0506..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetConfigurationConnectionString.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_GetConfigurationServerConnectionString() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_GetConfigurationServerConnectionString), - new[] - { - "TfsCmdlets\\Cmdlets\\Admin\\GetConfigurationServerConnectionString.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs deleted file mode 100644 index 90891d840..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetCredential.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_GetCredential() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_GetCredential), - new[] - { - "TfsCmdlets\\Cmdlets\\Credential\\NewCredential.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs deleted file mode 100644 index 05d6a7697..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_GetVersion.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_GetVersion() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_GetVersion), - new[] - { - "TfsCmdlets\\Cmdlets\\Admin\\GetVersion.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs deleted file mode 100644 index 505f3736d..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_Get_Controller.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_Get_Controller() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_Get_Controller), - new[] - { - "TfsCmdlets\\Cmdlets\\Git\\GetGitRepository.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs deleted file mode 100644 index 4dc9743f6..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewAreaController.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_NewAreaController() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_NewAreaController), - new[] - { - "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\NewArea.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewController.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewController.cs deleted file mode 100644 index 165961930..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_NewController.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_New_Controller() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_New_Controller), - new[] - { - "TfsCmdlets\\Cmdlets\\Git\\NewGitRepository.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs deleted file mode 100644 index e08deb376..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Can_Create_RemoveGitRepository.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class ControllerGeneratorTests -{ - [Fact] - public async Task Can_Create_RemoveGitRepository() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_RemoveGitRepository), - new[] - { - "TfsCmdlets\\Cmdlets\\Git\\RemoveGitRepository.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Credential/CredentialControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Credential/CredentialControllerTests.cs new file mode 100644 index 000000000..17668646e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Credential/CredentialControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Credential; + +public partial class CredentialControllerTests +{ + [Fact] + public async Task CanGenerate_NewCredentialController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewCredentialController), + new[] + { + "TfsCmdlets\\Cmdlets\\Credential\\NewCredential.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs new file mode 100644 index 000000000..24b7b78b9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.ExtensionManagement; + +public partial class ExtensionManagementControllerTests +{ + [Fact] + public async Task CanGenerate_GetExtensionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetExtensionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\GetExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_InstallExtensionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_InstallExtensionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\InstallExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_UninstallExtensionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UninstallExtensionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\UninstallExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableExtensionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableExtensionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\EnableExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisableExtensionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableExtensionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\DisableExtension.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs new file mode 100644 index 000000000..68d87fa7a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Git.Branch; + +public partial class BranchControllerTests +{ + [Fact] + public async Task CanGenerate_GetGitBranchController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitBranchController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Branch\\GetGitBranch.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGitBranchController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGitBranchController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Branch\\RemoveGitBranch.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs new file mode 100644 index 000000000..06bfe63b2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Git.Commit; + +public partial class CommitControllerTests +{ + [Fact] + public async Task CanGenerate_GetGitCommitController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitCommitController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Commit\\GetGitCommit.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/GitControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/GitControllerTests.cs new file mode 100644 index 000000000..514ff2740 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/GitControllerTests.cs @@ -0,0 +1,70 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Git; + +public partial class GitControllerTests +{ + [Fact] + public async Task CanGenerate_GetGitRepositoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitRepositoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\GetGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewGitRepositoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewGitRepositoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\NewGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGitRepositoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGitRepositoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\RemoveGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameGitRepositoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameGitRepositoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\RenameGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableGitRepositoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableGitRepositoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\EnableGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisableGitRepositoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableGitRepositoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\DisableGitRepository.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Item/ItemControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Item/ItemControllerTests.cs new file mode 100644 index 000000000..2bc31c344 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Item/ItemControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Git.Item; + +public partial class ItemControllerTests +{ + [Fact] + public async Task CanGenerate_GetGitItemController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitItemController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Item\\GetGitItem.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs new file mode 100644 index 000000000..c49a32552 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Git.Policy; + +public partial class PolicyControllerTests +{ + [Fact] + public async Task CanGenerate_GetGitBranchPolicyController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitBranchPolicyController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Policy\\GetGitBranchPolicy.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetGitPolicyTypeController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitPolicyTypeController), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Policy\\GetGitPolicyType.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs new file mode 100644 index 000000000..e017ac32d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs @@ -0,0 +1,70 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Identity.Group; + +public partial class GroupControllerTests +{ + [Fact] + public async Task CanGenerate_GetGroupController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGroupController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\GetGroup.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewGroupController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewGroupController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\NewGroup.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGroupController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGroupController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\RemoveGroup.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetGroupMemberController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGroupMemberController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\GetGroupMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_AddGroupMemberController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddGroupMemberController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\AddGroupMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGroupMemberController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGroupMemberController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\RemoveGroupMember.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/IdentityControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/IdentityControllerTests.cs new file mode 100644 index 000000000..dbfe01081 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/IdentityControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Identity; + +public partial class IdentityControllerTests +{ + [Fact] + public async Task CanGenerate_GetIdentityController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetIdentityController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\GetIdentity.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/User/UserControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/User/UserControllerTests.cs new file mode 100644 index 000000000..bb1056be7 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/User/UserControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Identity.User; + +public partial class UserControllerTests +{ + [Fact] + public async Task CanGenerate_GetUserController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetUserController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\User\\GetUser.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewUserController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewUserController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\User\\NewUser.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveUserController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveUserController), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\User\\RemoveUser.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Organization/OrganizationControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Organization/OrganizationControllerTests.cs new file mode 100644 index 000000000..e6f487da4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Organization/OrganizationControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Organization; + +public partial class OrganizationControllerTests +{ + [Fact] + public async Task CanGenerate_ConnectOrganizationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectOrganizationController), + new[] + { + "TfsCmdlets\\Cmdlets\\Organization\\ConnectOrganization.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectOrganizationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectOrganizationController), + new[] + { + "TfsCmdlets\\Cmdlets\\Organization\\DisconnectOrganization.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetOrganizationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetOrganizationController), + new[] + { + "TfsCmdlets\\Cmdlets\\Organization\\GetOrganization.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs new file mode 100644 index 000000000..896e56c50 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Pipeline.Build.Definition; + +public partial class DefinitionControllerTests +{ + [Fact] + public async Task CanGenerate_GetBuildDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetBuildDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\GetBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisableBuildDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableBuildDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\DisableBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableBuildDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableBuildDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\EnableBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_ResumeBuildDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ResumeBuildDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\ResumeBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_SuspendBuildDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SuspendBuildDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\SuspendBuildDefinition.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs new file mode 100644 index 000000000..fbfa33d27 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Pipeline.Build.Folder; + +public partial class FolderControllerTests +{ + [Fact] + public async Task CanGenerate_GetBuildDefinitionFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetBuildDefinitionFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Folder\\GetBuildDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewBuildDefinitionFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewBuildDefinitionFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Folder\\NewBuildDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveBuildDefinitionFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveBuildDefinitionFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Folder\\RemoveBuildDefinitionFolder.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs new file mode 100644 index 000000000..d851fb953 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Pipeline; + +public partial class PipelineControllerTests +{ + [Fact] + public async Task CanGenerate_StartBuildController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_StartBuildController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\StartBuild.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs new file mode 100644 index 000000000..66e4b3767 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Pipeline.ReleaseManagement; + +public partial class ReleaseManagementControllerTests +{ + [Fact] + public async Task CanGenerate_GetReleaseDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetReleaseDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\GetReleaseDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetReleaseDefinitionFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetReleaseDefinitionFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\GetReleaseDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewReleaseDefinitionFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewReleaseDefinitionFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\NewReleaseDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveReleaseDefinitionFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveReleaseDefinitionFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\RemoveReleaseDefinitionFolder.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs new file mode 100644 index 000000000..738ec41f9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.ProcessTemplate.Field; + +public partial class FieldControllerTests +{ + [Fact] + public async Task CanGenerate_GetProcessFieldDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetProcessFieldDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\GetProcessFieldDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewProcessFieldDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewProcessFieldDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\NewProcessFieldDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveProcessFieldDefinitionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveProcessFieldDefinitionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\RemoveProcessFieldDefinition.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs new file mode 100644 index 000000000..0f29b78d5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.ProcessTemplate; + +public partial class ProcessTemplateControllerTests +{ + [Fact] + public async Task CanGenerate_ExportProcessTemplateController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportProcessTemplateController), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\ExportProcessTemplate.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetProcessTemplateController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetProcessTemplateController), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\GetProcessTemplate.cs" + }); + } + + [Fact] + public async Task CanGenerate_ImportProcessTemplateController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ImportProcessTemplateController), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\ImportProcessTemplate.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/RestApi/RestApiControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/RestApi/RestApiControllerTests.cs new file mode 100644 index 000000000..ff4f1cc48 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/RestApi/RestApiControllerTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.RestApi; + +public partial class RestApiControllerTests +{ + [Fact] + public async Task CanGenerate_GetRestClientController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetRestClientController), + new[] + { + "TfsCmdlets\\Cmdlets\\RestApi\\GetRestClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_InvokeRestApiController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_InvokeRestApiController), + new[] + { + "TfsCmdlets\\Cmdlets\\RestApi\\InvokeRestApi.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs new file mode 100644 index 000000000..8bdfab834 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.ServiceHook; + +public partial class ServiceHookControllerTests +{ + [Fact] + public async Task CanGenerate_GetServiceHookConsumerController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookConsumerController), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookConsumer.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetServiceHookNotificationHistoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookNotificationHistoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookNotificationHistory.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetServiceHookPublisherController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookPublisherController), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookPublisher.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetServiceHookSubscriptionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookSubscriptionController), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookSubscription.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Shell/ShellControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Shell/ShellControllerTests.cs new file mode 100644 index 000000000..52a39a57d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Shell/ShellControllerTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Shell; + +public partial class ShellControllerTests +{ + [Fact] + public async Task CanGenerate_EnterShellController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnterShellController), + new[] + { + "TfsCmdlets\\Cmdlets\\Shell\\EnterShell.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExitShellController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExitShellController), + new[] + { + "TfsCmdlets\\Cmdlets\\Shell\\ExitShell.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs new file mode 100644 index 000000000..cef0ff90e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Team.Backlog; + +public partial class BacklogControllerTests +{ + [Fact] + public async Task CanGenerate_GetTeamBacklogLevelController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamBacklogLevelController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Backlog\\GetTeamBacklogLevel.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Board/BoardControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Board/BoardControllerTests.cs new file mode 100644 index 000000000..31614ce55 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Board/BoardControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Team.Board; + +public partial class BoardControllerTests +{ + [Fact] + public async Task CanGenerate_GetTeamBoardController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamBoardController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Board\\GetTeamBoard.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamBoardCardRuleController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamBoardCardRuleController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Board\\GetTeamBoardCardRule.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetTeamBoardCardRuleController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetTeamBoardCardRuleController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Board\\SetTeamBoardCardRule.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs new file mode 100644 index 000000000..570d7d67f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Team.TeamAdmin; + +public partial class TeamAdminControllerTests +{ + [Fact] + public async Task CanGenerate_AddTeamAdminController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddTeamAdminController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamAdmin\\AddTeamAdmin.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamAdminController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamAdminController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamAdmin\\GetTeamAdmin.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamAdminController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamAdminController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamAdmin\\RemoveTeamAdmin.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamControllerTests.cs new file mode 100644 index 000000000..68b2531a8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamControllerTests.cs @@ -0,0 +1,81 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Team; + +public partial class TeamControllerTests +{ + [Fact] + public async Task CanGenerate_ConnectTeamController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectTeamController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\ConnectTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectTeamController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectTeamController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\DisconnectTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\GetTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTeamController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTeamController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\NewTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\RemoveTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameTeamController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameTeamController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\RenameTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetTeamController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetTeamController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\SetTeam.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs new file mode 100644 index 000000000..64df2bab2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Team.TeamMember; + +public partial class TeamMemberControllerTests +{ + [Fact] + public async Task CanGenerate_AddTeamMemberController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddTeamMemberController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamMember\\AddTeamMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamMemberController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamMemberController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamMember\\GetTeamMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamMemberController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamMemberController), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamMember\\RemoveTeamMember.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs new file mode 100644 index 000000000..50c95c033 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.TeamProject.Avatar; + +public partial class AvatarControllerTests +{ + [Fact] + public async Task CanGenerate_ExportTeamProjectAvatarController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportTeamProjectAvatarController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Avatar\\ExportTeamProjectAvatar.cs" + }); + } + + [Fact] + public async Task CanGenerate_ImportTeamProjectAvatarController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ImportTeamProjectAvatarController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Avatar\\ImportTeamProjectAvatar.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamProjectAvatarController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamProjectAvatarController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Avatar\\RemoveTeamProjectAvatar.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs new file mode 100644 index 000000000..a7681a2f2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.TeamProject.Member; + +public partial class MemberControllerTests +{ + [Fact] + public async Task CanGenerate_GetTeamProjectMemberController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamProjectMemberController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Member\\GetTeamProjectMember.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs new file mode 100644 index 000000000..c41845fc4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs @@ -0,0 +1,92 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.TeamProject; + +public partial class TeamProjectControllerTests +{ + [Fact] + public async Task CanGenerate_ConnectTeamProjectController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectTeamProjectController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\ConnectTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectTeamProjectController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectTeamProjectController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\DisconnectTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamProjectController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamProjectController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\GetTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTeamProjectController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTeamProjectController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\NewTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamProjectController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamProjectController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\RemoveTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameTeamProjectController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameTeamProjectController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\RenameTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetTeamProjectController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetTeamProjectController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\SetTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_UndoTeamProjectRemovalController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UndoTeamProjectRemovalController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\UndoTeamProjectRemoval.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs new file mode 100644 index 000000000..07db145ae --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.TeamProjectCollection; + +public partial class TeamProjectCollectionControllerTests +{ + [Fact] + public async Task CanGenerate_ConnectTeamProjectCollectionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectTeamProjectCollectionController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\ConnectTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectTeamProjectCollectionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectTeamProjectCollectionController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\DisconnectTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamProjectCollectionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamProjectCollectionController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\GetTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTeamProjectCollectionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTeamProjectCollectionController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\NewTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamProjectCollectionController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamProjectCollectionController), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\RemoveTeamProjectCollection.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs new file mode 100644 index 000000000..9683c4825 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.TestManagement; + +public partial class TestManagementControllerTests +{ + [Fact] + public async Task CanGenerate_GetTestPlanController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTestPlanController), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\GetTestPlan.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTestPlanController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTestPlanController), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\NewTestPlan.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTestPlanController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTestPlanController), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\RemoveTestPlan.cs" + }); + } + + [Fact] + public async Task CanGenerate_CopyTestPlanController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_CopyTestPlanController), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\CopyTestPlan.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Wiki/WikiControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Wiki/WikiControllerTests.cs new file mode 100644 index 000000000..c316416e8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Wiki/WikiControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.Wiki; + +public partial class WikiControllerTests +{ + [Fact] + public async Task CanGenerate_GetWikiController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWikiController), + new[] + { + "TfsCmdlets\\Cmdlets\\Wiki\\GetWiki.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWikiController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWikiController), + new[] + { + "TfsCmdlets\\Cmdlets\\Wiki\\NewWiki.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveWikiController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveWikiController), + new[] + { + "TfsCmdlets\\Cmdlets\\Wiki\\RemoveWiki.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs new file mode 100644 index 000000000..bb4997a23 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs @@ -0,0 +1,136 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.WorkItem.AreasIterations; + +public partial class AreasIterationsControllerTests +{ + [Fact] + public async Task CanGenerate_GetAreaController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetAreaController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\GetArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewAreaController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewAreaController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\NewArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveAreaController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveAreaController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\RemoveArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_CopyAreaController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_CopyAreaController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\CopyArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_MoveAreaController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_MoveAreaController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\MoveArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_TestAreaController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_TestAreaController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\TestArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetIterationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetIterationController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\GetIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewIterationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewIterationController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\NewIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveIterationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveIterationController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\RemoveIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_CopyIterationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_CopyIterationController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\CopyIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_MoveIterationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_MoveIterationController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\MoveIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetIterationController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetIterationController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\SetIteration.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs new file mode 100644 index 000000000..67c336e76 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.WorkItem.History; + +public partial class HistoryControllerTests +{ + [Fact] + public async Task CanGenerate_GetWorkItemHistoryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemHistoryController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\History\\GetWorkItemHistory.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs new file mode 100644 index 000000000..111659710 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.WorkItem.Linking; + +public partial class LinkingControllerTests +{ + [Fact] + public async Task CanGenerate_AddWorkItemLinkController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddWorkItemLinkController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Linking\\AddWorkItemLink.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExportWorkItemAttachmentController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportWorkItemAttachmentController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Linking\\ExportWorkItemAttachment.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs new file mode 100644 index 000000000..dbec8e371 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs @@ -0,0 +1,81 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.WorkItem.Query; + +public partial class QueryControllerTests +{ + [Fact] + public async Task CanGenerate_ExportWorkItemQueryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportWorkItemQueryController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\ExportWorkItemQuery.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetWorkItemQueryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemQueryController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\GetWorkItemQuery.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetWorkItemQueryFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemQueryFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\GetWorkItemQueryFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWorkItemQueryController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWorkItemQueryController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\NewWorkItemQuery.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWorkItemQueryFolderController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWorkItemQueryFolderController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\NewWorkItemQueryFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_UndoWorkItemQueryFolderRemovalController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UndoWorkItemQueryFolderRemovalController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\UndoWorkItemQueryFolderRemoval.cs" + }); + } + + [Fact] + public async Task CanGenerate_UndoWorkItemQueryRemovalController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UndoWorkItemQueryRemovalController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\UndoWorkItemQueryRemoval.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs new file mode 100644 index 000000000..d4dd3c998 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.WorkItem.Tagging; + +public partial class TaggingControllerTests +{ + [Fact] + public async Task CanGenerate_DisableWorkItemTagController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableWorkItemTagController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\DisableWorkItemTag.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableWorkItemTagController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableWorkItemTagController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\EnableWorkItemTag.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveWorkItemTagController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveWorkItemTagController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\RemoveWorkItemTag.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs new file mode 100644 index 000000000..14531b8e2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.WorkItem.WorkItemType; + +public partial class WorkItemTypeControllerTests +{ + [Fact] + public async Task CanGenerate_ExportWorkItemTypeController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportWorkItemTypeController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\WorkItemType\\ExportWorkItemType.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs new file mode 100644 index 000000000..fbf746f1f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.WorkItem; + +public partial class WorkItemsControllerTests +{ + [Fact] + public async Task CanGenerate_GetWorkItemController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\GetWorkItem.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWorkItemController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWorkItemController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\NewWorkItem.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveWorkItemController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveWorkItemController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\RemoveWorkItem.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetWorkItemController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetWorkItemController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\SetWorkItem.cs" + }); + } + + [Fact] + public async Task CanGenerate_CopyWorkItemController() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_CopyWorkItemController), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\CopyWorkItem.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs deleted file mode 100644 index ee5455105..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_Client.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.HttpClientGenerator; - -public partial class HttpClientGeneratorTests -{ - [Fact] - public async Task Can_Create_HttpClient() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_HttpClient), - new[] - { - "TfsCmdlets.Shared\\HttpClients\\IAccountLicensingHttpClient.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_HttpClients.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_HttpClients.cs new file mode 100644 index 000000000..de43cd444 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_HttpClients.cs @@ -0,0 +1,290 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.HttpClientGenerator; + +public partial class HttpClientGeneratorTests +{ + [Fact] + public async Task CanGenerate_IAccountLicensingHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IAccountLicensingHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IAccountLicensingHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IBuildHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IBuildHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IBuildHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IExtensionManagementHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IExtensionManagementHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IExtensionManagementHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IFeedHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IFeedHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IFeedHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IGenericHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IGenericHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IGenericHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IGitExtendedHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IGitExtendedHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IGitExtendedHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IGitHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IGitHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IGitHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IGraphHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IGraphHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IGraphHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IIdentityHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IIdentityHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IIdentityHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IOperationsHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IOperationsHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IOperationsHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IPolicyHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IPolicyHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IPolicyHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IProcessHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IProcessHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IProcessHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IProjectHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IProjectHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IProjectHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IReleaseHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IReleaseHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IReleaseHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IReleaseHttpClient2() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IReleaseHttpClient2), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IReleaseHttpClient2.cs" + }); + } + + [Fact] + public async Task CanGenerate_ISearchHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ISearchHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\ISearchHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IServiceHooksPublisherHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IServiceHooksPublisherHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IServiceHooksPublisherHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_ITaggingHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ITaggingHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\ITaggingHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_ITeamAdminHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ITeamAdminHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\ITeamAdminHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_ITeamHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ITeamHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\ITeamHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_ITestPlanHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ITestPlanHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\ITestPlanHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IVssHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IVssHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IVssHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IWikiHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IWikiHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IWikiHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IWorkHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IWorkHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IWorkHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IWorkItemTrackingHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IWorkItemTrackingHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IWorkItemTrackingHttpClient.cs" + }); + } + + [Fact] + public async Task CanGenerate_IWorkItemTrackingProcessHttpClient() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_IWorkItemTrackingProcessHttpClient), + new[] + { + "TfsCmdlets.Shared\\HttpClients\\IWorkItemTrackingProcessHttpClient.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs deleted file mode 100644 index 942d7efa6..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_IIdentityHttpClient.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.HttpClientGenerator; - -public partial class HttpClientGeneratorTests -{ - [Fact] - public async Task Can_Create_IIdentityHttpClient() - { - await TestHelper.VerifyFiles( - nameof(Can_Create_IIdentityHttpClient), - new[] - { - "TfsCmdlets.Shared\\HttpClients\\IIdentityHttpClient.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index c36c97a11..04c19111f 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -54,6 +54,9 @@ + + + diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs new file mode 100644 index 000000000..3cb294abe --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.Identity; +using Microsoft.VisualStudio.Services.Identity.Client; +using TfsCmdlets.Cmdlets.Identity.Group; +using IIdentityHttpClient = TfsCmdlets.HttpClients.IIdentityHttpClient; +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + internal partial class AddGroupMemberController: ControllerBase + { + private TfsCmdlets.HttpClients.IIdentityHttpClient Client { get; } + // Member + protected bool Has_Member { get; set; } + protected object Member { get; set; } + // Group + protected bool Has_Group { get; set; } + protected object Group { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Data.Invoke("Get", "GroupMember"); + protected override void CacheParameters() + { + // Member + Has_Member = Parameters.HasParameter("Member"); + Member = Parameters.Get("Member"); + // Group + Has_Group = Parameters.HasParameter("Group"); + Group = Parameters.Get("Group"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public AddGroupMemberController(TfsCmdlets.HttpClients.IIdentityHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs new file mode 100644 index 000000000..718d83f59 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.cs +using System.Management.Automation; +using TfsCmdlets.HttpClients; +namespace TfsCmdlets.Cmdlets.Team.TeamAdmin +{ + internal partial class AddTeamAdminController: ControllerBase + { + private TfsCmdlets.HttpClients.ITeamAdminHttpClient Client { get; } + // Admin + protected bool Has_Admin { get; set; } + protected object Admin { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Admin switch { + TfsCmdlets.Models.TeamAdmin item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TeamAdmin); + protected override void CacheParameters() + { + // Admin + Has_Admin = Parameters.HasParameter("Admin"); + Admin = Parameters.Get("Admin"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public AddTeamAdminController(TfsCmdlets.HttpClients.ITeamAdminHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs new file mode 100644 index 000000000..b3607608c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.cs +using System.Management.Automation; +using TfsCmdlets.HttpClients; +namespace TfsCmdlets.Cmdlets.Team.TeamMember +{ + internal partial class AddTeamMemberController: ControllerBase + { + // Member + protected bool Has_Member { get; set; } + protected object Member { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Member switch { + TfsCmdlets.Models.TeamMember item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TeamMember); + protected override void CacheParameters() + { + // Member + Has_Member = Parameters.HasParameter("Member"); + Member = Parameters.Get("Member"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public AddTeamMemberController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs new file mode 100644 index 000000000..384ff92ee --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.Team +{ + internal partial class ConnectTeamController: ControllerBase + { + // Team + protected bool Has_Team { get; set; } + protected object Team { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Team switch { + TfsCmdlets.Models.Team item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Team); + protected override void CacheParameters() + { + // Team + Has_Team = Parameters.HasParameter("Team"); + Team = Parameters.Get("Team"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ConnectTeamController(ICurrentConnections currentConnections, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs new file mode 100644 index 000000000..db38ebaf2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs @@ -0,0 +1,85 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ClientNotification; +using Microsoft.VisualStudio.Services.WebApi; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + internal partial class ConnectTeamProjectCollectionController: ControllerBase + { + // Collection + protected bool Has_Collection { get; set; } + protected object Collection { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Collection switch { + TfsCmdlets.Models.Connection item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Connection); + protected override void CacheParameters() + { + // Collection + Has_Collection = Parameters.HasParameter("Collection"); + Collection = Parameters.Get("Collection"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ConnectTeamProjectCollectionController(ICurrentConnections currentConnections, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs new file mode 100644 index 000000000..27500e68f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs @@ -0,0 +1,85 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class ConnectTeamProjectController: ControllerBase + { + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Project switch { + Microsoft.TeamFoundation.Core.WebApi.TeamProject item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ConnectTeamProjectController(ICurrentConnections currentConnections, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs new file mode 100644 index 000000000..820ae54ee --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class CopyAreaController: CopyClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected object Node { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected object Destination { get; set; } + // DestinationProject + protected bool Has_DestinationProject { get; set; } + protected object DestinationProject { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Node switch { + TfsCmdlets.Models.ClassificationNode item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node", @"\**"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // DestinationProject + Has_DestinationProject = Parameters.HasParameter("DestinationProject"); + DestinationProject = Parameters.Get("DestinationProject"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public CopyAreaController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs new file mode 100644 index 000000000..8bc9356fd --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class CopyIterationController: CopyClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected object Node { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected object Destination { get; set; } + // DestinationProject + protected bool Has_DestinationProject { get; set; } + protected object DestinationProject { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Node switch { + TfsCmdlets.Models.ClassificationNode item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // DestinationProject + Has_DestinationProject = Parameters.HasParameter("DestinationProject"); + DestinationProject = Parameters.Get("DestinationProject"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public CopyIterationController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs new file mode 100644 index 000000000..2df55c33a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs @@ -0,0 +1,122 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.cs +using System.Management.Automation; +using System.Threading; +using Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi; +using TfsCmdlets.Cmdlets.TestManagement; +namespace TfsCmdlets.Cmdlets.TestManagement +{ + internal partial class CopyTestPlanController: ControllerBase + { + private TfsCmdlets.HttpClients.ITestPlanHttpClient Client { get; } + // TestPlan + protected bool Has_TestPlan { get; set; } + protected object TestPlan { get; set; } + // NewName + protected bool Has_NewName { get; set; } + protected string NewName { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected object Destination { get; set; } + // AreaPath + protected bool Has_AreaPath { get; set; } + protected string AreaPath { get; set; } + // IterationPath + protected bool Has_IterationPath { get; set; } + protected string IterationPath { get; set; } + // DeepClone + protected bool Has_DeepClone { get; set; } + protected bool DeepClone { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // CopyAncestorHierarchy + protected bool Has_CopyAncestorHierarchy { get; set; } + protected bool CopyAncestorHierarchy { get; set; } + // CloneRequirements + protected bool Has_CloneRequirements { get; set; } + protected bool CloneRequirements { get; set; } + // DestinationWorkItemType + protected bool Has_DestinationWorkItemType { get; set; } + protected string DestinationWorkItemType { get; set; } + // SuiteIds + protected bool Has_SuiteIds { get; set; } + protected int[] SuiteIds { get; set; } + // RelatedLinkComment + protected bool Has_RelatedLinkComment { get; set; } + protected string RelatedLinkComment { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected string Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => TestPlan switch { + Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan); + protected override void CacheParameters() + { + // TestPlan + Has_TestPlan = Parameters.HasParameter("TestPlan"); + TestPlan = Parameters.Get("TestPlan"); + // NewName + Has_NewName = Parameters.HasParameter("NewName"); + NewName = Parameters.Get("NewName"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // AreaPath + Has_AreaPath = Parameters.HasParameter("AreaPath"); + AreaPath = Parameters.Get("AreaPath"); + // IterationPath + Has_IterationPath = Parameters.HasParameter("IterationPath"); + IterationPath = Parameters.Get("IterationPath"); + // DeepClone + Has_DeepClone = Parameters.HasParameter("DeepClone"); + DeepClone = Parameters.Get("DeepClone"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // CopyAncestorHierarchy + Has_CopyAncestorHierarchy = Parameters.HasParameter("CopyAncestorHierarchy"); + CopyAncestorHierarchy = Parameters.Get("CopyAncestorHierarchy"); + // CloneRequirements + Has_CloneRequirements = Parameters.HasParameter("CloneRequirements"); + CloneRequirements = Parameters.Get("CloneRequirements"); + // DestinationWorkItemType + Has_DestinationWorkItemType = Parameters.HasParameter("DestinationWorkItemType"); + DestinationWorkItemType = Parameters.Get("DestinationWorkItemType", "Test Case"); + // SuiteIds + Has_SuiteIds = Parameters.HasParameter("SuiteIds"); + SuiteIds = Parameters.Get("SuiteIds"); + // RelatedLinkComment + Has_RelatedLinkComment = Parameters.HasParameter("RelatedLinkComment"); + RelatedLinkComment = Parameters.Get("RelatedLinkComment"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru", "None"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public CopyTestPlanController(TfsCmdlets.HttpClients.ITestPlanHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs new file mode 100644 index 000000000..4ff91c845 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + internal partial class DisableBuildDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Definition + protected bool Has_Definition { get; set; } + protected object Definition { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Definition switch { + Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference); + protected override void CacheParameters() + { + // Definition + Has_Definition = Parameters.HasParameter("Definition"); + Definition = Parameters.Get("Definition"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public DisableBuildDefinitionController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs similarity index 92% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs index 5c0b0ba9c..d485c3666 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_DisableExtension#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs @@ -1,70 +1,56 @@ //HintName: TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.cs using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; - namespace TfsCmdlets.Cmdlets.ExtensionManagement { internal partial class DisableExtensionController: ControllerBase { private TfsCmdlets.HttpClients.IExtensionManagementHttpClient Client { get; } - // Extension protected bool Has_Extension { get; set; } protected object Extension { get; set; } - // Publisher protected bool Has_Publisher { get; set; } protected string Publisher { get; set; } - // Passthru protected bool Has_Passthru { get; set; } protected bool Passthru { get; set; } - // Collection protected bool Has_Collection => Parameters.HasParameter("Collection"); protected Models.Connection Collection => Data.GetCollection(); - // Server protected bool Has_Server => Parameters.HasParameter("Server"); protected Models.Connection Server => Data.GetServer(); - // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - // Items protected IEnumerable Items => Extension switch { Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension item => new[] { item }, IEnumerable items => items, _ => Data.GetItems() }; - // DataType public override Type DataType => typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension); - protected override void CacheParameters() { // Extension Has_Extension = Parameters.HasParameter("Extension"); Extension = Parameters.Get("Extension"); - // Publisher Has_Publisher = Parameters.HasParameter("Publisher"); Publisher = Parameters.Get("Publisher"); - // Passthru Has_Passthru = Parameters.HasParameter("Passthru"); Passthru = Parameters.Get("Passthru"); - // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); } - [ImportingConstructor] - public DisableExtensionController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IExtensionManagementHttpClient client) + public DisableExtensionController(TfsCmdlets.HttpClients.IExtensionManagementHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) { Client = client; } } -} +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs new file mode 100644 index 000000000..799909f79 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +using TfsCmdlets.HttpClients; +namespace TfsCmdlets.Cmdlets.Git +{ + internal partial class DisableGitRepositoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitExtendedHttpClient Client { get; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Repository switch { + Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); + protected override void CacheParameters() + { + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public DisableGitRepositoryController(TfsCmdlets.HttpClients.IGitExtendedHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs new file mode 100644 index 000000000..d4c4c0512 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + internal partial class DisableWorkItemTagController: ToggleWorkItemTagController + { + // Tag + protected bool Has_Tag { get; set; } + protected object Tag { get; set; } + // Enabled + protected bool Has_Enabled { get; set; } + protected bool Enabled { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Tag switch { + Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition); + protected override void CacheParameters() + { + // Tag + Has_Tag = Parameters.HasParameter("Tag"); + Tag = Parameters.Get("Tag"); + // Enabled + Has_Enabled = Parameters.HasParameter("Enabled"); + Enabled = Parameters.Get("Enabled"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public DisableWorkItemTagController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs new file mode 100644 index 000000000..0c142d71f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + internal partial class DisconnectTeamController: ControllerBase + { + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Team); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public DisconnectTeamController(ICurrentConnections currentConnections, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs new file mode 100644 index 000000000..0d971264e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.cs +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + internal partial class DisconnectTeamProjectCollectionController: ControllerBase + { + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Connection); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public DisconnectTeamProjectCollectionController(ICurrentConnections currentConnections, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs new file mode 100644 index 000000000..bece90917 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class DisconnectTeamProjectController: ControllerBase + { + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public DisconnectTeamProjectController(ICurrentConnections currentConnections, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs new file mode 100644 index 000000000..881651d82 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + internal partial class EnableBuildDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Definition + protected bool Has_Definition { get; set; } + protected object Definition { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Definition switch { + Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference); + protected override void CacheParameters() + { + // Definition + Has_Definition = Parameters.HasParameter("Definition"); + Definition = Parameters.Get("Definition"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public EnableBuildDefinitionController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs new file mode 100644 index 000000000..81051d53c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + internal partial class EnableExtensionController: ControllerBase + { + private TfsCmdlets.HttpClients.IExtensionManagementHttpClient Client { get; } + // Extension + protected bool Has_Extension { get; set; } + protected object Extension { get; set; } + // Publisher + protected bool Has_Publisher { get; set; } + protected string Publisher { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Extension switch { + Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension); + protected override void CacheParameters() + { + // Extension + Has_Extension = Parameters.HasParameter("Extension"); + Extension = Parameters.Get("Extension"); + // Publisher + Has_Publisher = Parameters.HasParameter("Publisher"); + Publisher = Parameters.Get("Publisher"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public EnableExtensionController(TfsCmdlets.HttpClients.IExtensionManagementHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs new file mode 100644 index 000000000..f466016cf --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +using TfsCmdlets.HttpClients; +namespace TfsCmdlets.Cmdlets.Git +{ + internal partial class EnableGitRepositoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitExtendedHttpClient Client { get; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Repository switch { + Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); + protected override void CacheParameters() + { + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public EnableGitRepositoryController(TfsCmdlets.HttpClients.IGitExtendedHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs new file mode 100644 index 000000000..28c41410b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.cs +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + internal partial class EnableWorkItemTagController: ToggleWorkItemTagController + { + // Tag + protected bool Has_Tag { get; set; } + protected object Tag { get; set; } + // Enabled + protected bool Has_Enabled { get; set; } + protected bool Enabled { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Tag switch { + Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition); + protected override void CacheParameters() + { + // Tag + Has_Tag = Parameters.HasParameter("Tag"); + Tag = Parameters.Get("Tag"); + // Enabled + Has_Enabled = Parameters.HasParameter("Enabled"); + Enabled = Parameters.Get("Enabled"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public EnableWorkItemTagController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs new file mode 100644 index 000000000..283c5d538 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: TfsCmdlets.Cmdlets.Shell.EnterShellController.g.cs +using System.Management.Automation; +using System.Management.Automation.Runspaces; +namespace TfsCmdlets.Cmdlets.Shell +{ + internal partial class EnterShellController: ControllerBase + { + // WindowTitle + protected bool Has_WindowTitle { get; set; } + protected string WindowTitle { get; set; } + // DoNotClearHost + protected bool Has_DoNotClearHost { get; set; } + protected bool DoNotClearHost { get; set; } + // NoLogo + protected bool Has_NoLogo { get; set; } + protected bool NoLogo { get; set; } + // NoProfile + protected bool Has_NoProfile { get; set; } + protected bool NoProfile { get; set; } + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // WindowTitle + Has_WindowTitle = Parameters.HasParameter("WindowTitle"); + WindowTitle = Parameters.Get("WindowTitle", "Azure DevOps Shell"); + // DoNotClearHost + Has_DoNotClearHost = Parameters.HasParameter("DoNotClearHost"); + DoNotClearHost = Parameters.Get("DoNotClearHost"); + // NoLogo + Has_NoLogo = Parameters.HasParameter("NoLogo"); + NoLogo = Parameters.Get("NoLogo"); + // NoProfile + Has_NoProfile = Parameters.HasParameter("NoProfile"); + NoProfile = Parameters.Get("NoProfile"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public EnterShellController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs new file mode 100644 index 000000000..0953d4b1b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: TfsCmdlets.Cmdlets.Shell.ExitShellController.g.cs +namespace TfsCmdlets.Cmdlets.Shell +{ + internal partial class ExitShellController: ControllerBase + { + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ExitShellController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs new file mode 100644 index 000000000..0ed9f897b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.ProcessTemplate +{ + internal partial class ExportProcessTemplateController: ControllerBase + { + // ProcessTemplate + protected bool Has_ProcessTemplate { get; set; } + protected object ProcessTemplate { get; set; } + // DestinationPath + protected bool Has_DestinationPath { get; set; } + protected string DestinationPath { get; set; } + // NewName + protected bool Has_NewName { get; set; } + protected string NewName { get; set; } + // NewDescription + protected bool Has_NewDescription { get; set; } + protected string NewDescription { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Data.Invoke("Get", "ProcessTemplate"); + protected override void CacheParameters() + { + // ProcessTemplate + Has_ProcessTemplate = Parameters.HasParameter("ProcessTemplate"); + ProcessTemplate = Parameters.Get("ProcessTemplate", "*"); + // DestinationPath + Has_DestinationPath = Parameters.HasParameter("DestinationPath"); + DestinationPath = Parameters.Get("DestinationPath"); + // NewName + Has_NewName = Parameters.HasParameter("NewName"); + NewName = Parameters.Get("NewName"); + // NewDescription + Has_NewDescription = Parameters.HasParameter("NewDescription"); + NewDescription = Parameters.Get("NewDescription"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ExportProcessTemplateController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs new file mode 100644 index 000000000..57ace5a1c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.TeamProject.Avatar +{ + internal partial class ExportTeamProjectAvatarController: ControllerBase + { + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ExportTeamProjectAvatarController(IRestApiService restApiService, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApiService = restApiService; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs new file mode 100644 index 000000000..099ab74e5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.cs +using System.Management.Automation; +using System.Xml.Linq; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.Query +{ + internal partial class ExportWorkItemQueryController: ControllerBase + { + // Query + protected bool Has_Query { get; set; } + protected object Query { get; set; } + // Scope + protected bool Has_Scope { get; set; } + protected string Scope { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected string Destination { get; set; } + // Encoding + protected bool Has_Encoding { get; set; } + protected string Encoding { get; set; } + // FlattenFolders + protected bool Has_FlattenFolders { get; set; } + protected bool FlattenFolders { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // AsXml + protected bool Has_AsXml { get; set; } + protected bool AsXml { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Query switch { + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + protected override void CacheParameters() + { + // Query + Has_Query = Parameters.HasParameter("Query"); + Query = Parameters.Get("Query"); + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", "Both"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // Encoding + Has_Encoding = Parameters.HasParameter("Encoding"); + Encoding = Parameters.Get("Encoding", "UTF-8"); + // FlattenFolders + Has_FlattenFolders = Parameters.HasParameter("FlattenFolders"); + FlattenFolders = Parameters.Get("FlattenFolders"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // AsXml + Has_AsXml = Parameters.HasParameter("AsXml"); + AsXml = Parameters.Get("AsXml"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ExportWorkItemQueryController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs new file mode 100644 index 000000000..bf70e009d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.WorkItem.WorkItemType +{ + internal partial class ExportWorkItemTypeController: ControllerBase + { + // Type + protected bool Has_Type { get; set; } + protected string Type { get; set; } + // IncludeGlobalLists + protected bool Has_IncludeGlobalLists { get; set; } + protected bool IncludeGlobalLists { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected string Destination { get; set; } + // Encoding + protected bool Has_Encoding { get; set; } + protected string Encoding { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // AsXml + protected bool Has_AsXml { get; set; } + protected bool AsXml { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Type + Has_Type = Parameters.HasParameter("Type"); + Type = Parameters.Get("Type", "*"); + // IncludeGlobalLists + Has_IncludeGlobalLists = Parameters.HasParameter("IncludeGlobalLists"); + IncludeGlobalLists = Parameters.Get("IncludeGlobalLists"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // Encoding + Has_Encoding = Parameters.HasParameter("Encoding"); + Encoding = Parameters.Get("Encoding", "UTF-8"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // AsXml + Has_AsXml = Parameters.HasParameter("AsXml"); + AsXml = Parameters.Get("AsXml"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ExportWorkItemTypeController(IWorkItemStore store, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Store = store; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs new file mode 100644 index 000000000..d6f89ecae --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class GetAreaController: GetClassificationNodeController + { + // Node + protected bool Has_Node => Parameters.HasParameter(nameof(Node)); + protected IEnumerable Node + { + get + { + var paramValue = Parameters.Get(nameof(Node), @"\**"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetAreaController(INodeUtil nodeUtil, IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(nodeUtil, client, powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs new file mode 100644 index 000000000..9557d30d5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs @@ -0,0 +1,87 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.cs +using Microsoft.VisualStudio.Services.Feed.WebApi; +namespace TfsCmdlets.Cmdlets.Artifact +{ + internal partial class GetArtifactController: ControllerBase + { + // Artifact + protected bool Has_Artifact => Parameters.HasParameter(nameof(Artifact)); + protected IEnumerable Artifact + { + get + { + var paramValue = Parameters.Get(nameof(Artifact), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Feed + protected bool Has_Feed { get; set; } + protected object Feed { get; set; } + // IncludeDeleted + protected bool Has_IncludeDeleted { get; set; } + protected bool IncludeDeleted { get; set; } + // IncludeDescription + protected bool Has_IncludeDescription { get; set; } + protected bool IncludeDescription { get; set; } + // IncludePrerelease + protected bool Has_IncludePrerelease { get; set; } + protected bool IncludePrerelease { get; set; } + // IncludeDelisted + protected bool Has_IncludeDelisted { get; set; } + protected bool IncludeDelisted { get; set; } + // ProtocolType + protected bool Has_ProtocolType { get; set; } + protected string ProtocolType { get; set; } + // IncludeAllVersions + protected bool Has_IncludeAllVersions { get; set; } + protected bool IncludeAllVersions { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Feed.WebApi.Package); + protected override void CacheParameters() + { + // Feed + Has_Feed = Parameters.HasParameter("Feed"); + Feed = Parameters.Get("Feed"); + // IncludeDeleted + Has_IncludeDeleted = Parameters.HasParameter("IncludeDeleted"); + IncludeDeleted = Parameters.Get("IncludeDeleted"); + // IncludeDescription + Has_IncludeDescription = Parameters.HasParameter("IncludeDescription"); + IncludeDescription = Parameters.Get("IncludeDescription"); + // IncludePrerelease + Has_IncludePrerelease = Parameters.HasParameter("IncludePrerelease"); + IncludePrerelease = Parameters.Get("IncludePrerelease"); + // IncludeDelisted + Has_IncludeDelisted = Parameters.HasParameter("IncludeDelisted"); + IncludeDelisted = Parameters.Get("IncludeDelisted"); + // ProtocolType + Has_ProtocolType = Parameters.HasParameter("ProtocolType"); + ProtocolType = Parameters.Get("ProtocolType"); + // IncludeAllVersions + Has_IncludeAllVersions = Parameters.HasParameter("IncludeAllVersions"); + IncludeAllVersions = Parameters.Get("IncludeAllVersions"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetArtifactController(IFeedHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs new file mode 100644 index 000000000..e35f6351c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.cs +using Microsoft.VisualStudio.Services.Feed.WebApi; +namespace TfsCmdlets.Cmdlets.Artifact +{ + internal partial class GetArtifactFeedController: ControllerBase + { + // Feed + protected bool Has_Feed => Parameters.HasParameter(nameof(Feed)); + protected IEnumerable Feed + { + get + { + var paramValue = Parameters.Get(nameof(Feed), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.ProjectOrCollectionScope Scope { get; set; } + // Role + protected bool Has_Role { get; set; } + protected Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole Role { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Feed.WebApi.Feed); + protected override void CacheParameters() + { + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", ProjectOrCollectionScope.All); + // Role + Has_Role = Parameters.HasParameter("Role"); + Role = Parameters.Get("Role", Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole.Reader); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetArtifactFeedController(IFeedHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs new file mode 100644 index 000000000..471f81f5a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.cs +using Microsoft.VisualStudio.Services.Feed.WebApi; +namespace TfsCmdlets.Cmdlets.Artifact +{ + internal partial class GetArtifactFeedViewController: ControllerBase + { + private TfsCmdlets.HttpClients.IFeedHttpClient Client { get; } + // View + protected bool Has_View => Parameters.HasParameter(nameof(View)); + protected IEnumerable View + { + get + { + var paramValue = Parameters.Get(nameof(View), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Feed + protected bool Has_Feed { get; set; } + protected object Feed { get; set; } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.ProjectOrCollectionScope Scope { get; set; } + // Role + protected bool Has_Role { get; set; } + protected Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole Role { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView); + protected override void CacheParameters() + { + // Feed + Has_Feed = Parameters.HasParameter("Feed"); + Feed = Parameters.Get("Feed"); + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", ProjectOrCollectionScope.All); + // Role + Has_Role = Parameters.HasParameter("Role"); + Role = Parameters.Get("Role", Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole.Administrator); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetArtifactFeedViewController(TfsCmdlets.HttpClients.IFeedHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs new file mode 100644 index 000000000..03de44e8b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.cs +using Microsoft.VisualStudio.Services.Feed.WebApi; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.Artifact +{ + internal partial class GetArtifactVersionController: ControllerBase + { + private TfsCmdlets.HttpClients.IFeedHttpClient Client { get; } + // Version + protected bool Has_Version => Parameters.HasParameter(nameof(Version)); + protected IEnumerable Version + { + get + { + var paramValue = Parameters.Get(nameof(Version), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Artifact + protected bool Has_Artifact { get; set; } + protected object Artifact { get; set; } + // Feed + protected bool Has_Feed { get; set; } + protected object Feed { get; set; } + // IncludeDeleted + protected bool Has_IncludeDeleted { get; set; } + protected bool IncludeDeleted { get; set; } + // IncludeDelisted + protected bool Has_IncludeDelisted { get; set; } + protected bool IncludeDelisted { get; set; } + // ProtocolType + protected bool Has_ProtocolType { get; set; } + protected string ProtocolType { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersion); + protected override void CacheParameters() + { + // Artifact + Has_Artifact = Parameters.HasParameter("Artifact"); + Artifact = Parameters.Get("Artifact"); + // Feed + Has_Feed = Parameters.HasParameter("Feed"); + Feed = Parameters.Get("Feed"); + // IncludeDeleted + Has_IncludeDeleted = Parameters.HasParameter("IncludeDeleted"); + IncludeDeleted = Parameters.Get("IncludeDeleted"); + // IncludeDelisted + Has_IncludeDelisted = Parameters.HasParameter("IncludeDelisted"); + IncludeDelisted = Parameters.Get("IncludeDelisted"); + // ProtocolType + Has_ProtocolType = Parameters.HasParameter("ProtocolType"); + ProtocolType = Parameters.Get("ProtocolType"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetArtifactVersionController(TfsCmdlets.HttpClients.IFeedHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs new file mode 100644 index 000000000..a9de32090 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + internal partial class GetBuildDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Definition + protected bool Has_Definition => Parameters.HasParameter(nameof(Definition)); + protected IEnumerable Definition + { + get + { + var paramValue = Parameters.Get(nameof(Definition), "\\**"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // QueryOrder + protected bool Has_QueryOrder { get; set; } + protected Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder QueryOrder { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference); + protected override void CacheParameters() + { + // QueryOrder + Has_QueryOrder = Parameters.HasParameter("QueryOrder"); + QueryOrder = Parameters.Get("QueryOrder"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetBuildDefinitionController(INodeUtil nodeUtil, TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + NodeUtil = nodeUtil; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs new file mode 100644 index 000000000..458a4dbfd --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.cs +using System.Management.Automation; +using WebApiFolder = Microsoft.TeamFoundation.Build.WebApi.Folder; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Folder +{ + internal partial class GetBuildDefinitionFolderController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Folder + protected bool Has_Folder => Parameters.HasParameter(nameof(Folder)); + protected IEnumerable Folder + { + get + { + var paramValue = Parameters.Get(nameof(Folder), "**"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // QueryOrder + protected bool Has_QueryOrder { get; set; } + protected Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder QueryOrder { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.Folder); + protected override void CacheParameters() + { + // QueryOrder + Has_QueryOrder = Parameters.HasParameter("QueryOrder"); + QueryOrder = Parameters.Get("QueryOrder"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetBuildDefinitionFolderController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs similarity index 99% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs index 09137f8ac..bff7a460d 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetConfigurationServerConnectionString#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs @@ -3,61 +3,47 @@ using System.Management.Automation.Runspaces; using System.Xml.Linq; using TfsCmdlets.Models; - namespace TfsCmdlets.Cmdlets.Admin { internal partial class GetConfigurationServerConnectionStringController: ControllerBase { - // ComputerName protected bool Has_ComputerName { get; set; } protected string ComputerName { get; set; } - // Session protected bool Has_Session { get; set; } protected System.Management.Automation.Runspaces.PSSession Session { get; set; } - // Version protected bool Has_Version { get; set; } protected int Version { get; set; } - // Credential protected bool Has_Credential { get; set; } protected System.Management.Automation.PSCredential Credential { get; set; } - // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - - protected override void CacheParameters() { // ComputerName Has_ComputerName = Parameters.HasParameter("ComputerName"); ComputerName = Parameters.Get("ComputerName", "localhost"); - // Session Has_Session = Parameters.HasParameter("Session"); Session = Parameters.Get("Session"); - // Version Has_Version = Parameters.HasParameter("Version"); Version = Parameters.Get("Version"); - // Credential Has_Credential = Parameters.HasParameter("Credential"); Credential = Parameters.Get("Credential", PSCredential.Empty); - // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); } - [ImportingConstructor] public GetConfigurationServerConnectionStringController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) { - } } -} +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs new file mode 100644 index 000000000..fd5c860b6 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + internal partial class GetExtensionController: ControllerBase + { + private TfsCmdlets.HttpClients.IExtensionManagementHttpClient Client { get; } + // Extension + protected bool Has_Extension => Parameters.HasParameter(nameof(Extension)); + protected IEnumerable Extension + { + get + { + var paramValue = Parameters.Get(nameof(Extension), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Publisher + protected bool Has_Publisher { get; set; } + protected string Publisher { get; set; } + // IncludeDisabledExtensions + protected bool Has_IncludeDisabledExtensions { get; set; } + protected bool IncludeDisabledExtensions { get; set; } + // IncludeErrors + protected bool Has_IncludeErrors { get; set; } + protected bool IncludeErrors { get; set; } + // IncludeInstallationIssues + protected bool Has_IncludeInstallationIssues { get; set; } + protected bool IncludeInstallationIssues { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension); + protected override void CacheParameters() + { + // Publisher + Has_Publisher = Parameters.HasParameter("Publisher"); + Publisher = Parameters.Get("Publisher", "*"); + // IncludeDisabledExtensions + Has_IncludeDisabledExtensions = Parameters.HasParameter("IncludeDisabledExtensions"); + IncludeDisabledExtensions = Parameters.Get("IncludeDisabledExtensions"); + // IncludeErrors + Has_IncludeErrors = Parameters.HasParameter("IncludeErrors"); + IncludeErrors = Parameters.Get("IncludeErrors"); + // IncludeInstallationIssues + Has_IncludeInstallationIssues = Parameters.HasParameter("IncludeInstallationIssues"); + IncludeInstallationIssues = Parameters.Get("IncludeInstallationIssues"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetExtensionController(TfsCmdlets.HttpClients.IExtensionManagementHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs new file mode 100644 index 000000000..63dbfd707 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +namespace TfsCmdlets.Cmdlets.Git.Branch +{ + internal partial class GetGitBranchController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + // Branch + protected bool Has_Branch => Parameters.HasParameter(nameof(Branch)); + protected IEnumerable Branch + { + get + { + var paramValue = Parameters.Get(nameof(Branch), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Default + protected bool Has_Default { get; set; } + protected bool Default { get; set; } + // Compare + protected bool Has_Compare { get; set; } + protected bool Compare { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats); + protected override void CacheParameters() + { + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // Default + Has_Default = Parameters.HasParameter("Default"); + Default = Parameters.Get("Default"); + // Compare + Has_Compare = Parameters.HasParameter("Compare"); + Compare = Parameters.Get("Compare"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetGitBranchController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs new file mode 100644 index 000000000..bf378683c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Policy.WebApi; +using Microsoft.TeamFoundation.SourceControl.WebApi; +namespace TfsCmdlets.Cmdlets.Git.Policy +{ + internal partial class GetGitBranchPolicyController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + // PolicyType + protected bool Has_PolicyType => Parameters.HasParameter(nameof(PolicyType)); + protected IEnumerable PolicyType + { + get + { + var paramValue = Parameters.Get(nameof(PolicyType), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Branch + protected bool Has_Branch { get; set; } + protected object Branch { get; set; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration); + protected override void CacheParameters() + { + // Branch + Has_Branch = Parameters.HasParameter("Branch"); + Branch = Parameters.Get("Branch"); + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetGitBranchPolicyController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs new file mode 100644 index 000000000..fd4796dbc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs @@ -0,0 +1,162 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.cs +using Microsoft.TeamFoundation.SourceControl.WebApi; +using Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi; +using Parameter = TfsCmdlets.Models.Parameter; +namespace TfsCmdlets.Cmdlets.Git.Commit +{ + internal partial class GetGitCommitController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + // Commit + protected bool Has_Commit => Parameters.HasParameter(nameof(Commit)); + protected IEnumerable Commit + { + get + { + var paramValue = Parameters.Get(nameof(Commit)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Tag + protected bool Has_Tag { get; set; } + protected string Tag { get; set; } + // Branch + protected bool Has_Branch { get; set; } + protected string Branch { get; set; } + // Author + protected bool Has_Author { get; set; } + protected string Author { get; set; } + // Committer + protected bool Has_Committer { get; set; } + protected string Committer { get; set; } + // CompareVersion + protected bool Has_CompareVersion { get; set; } + protected Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor CompareVersion { get; set; } + // FromCommit + protected bool Has_FromCommit { get; set; } + protected string FromCommit { get; set; } + // FromDate + protected bool Has_FromDate { get; set; } + protected System.DateTime FromDate { get; set; } + // ItemPath + protected bool Has_ItemPath { get; set; } + protected string ItemPath { get; set; } + // ToCommit + protected bool Has_ToCommit { get; set; } + protected string ToCommit { get; set; } + // ToDate + protected bool Has_ToDate { get; set; } + protected System.DateTime ToDate { get; set; } + // ShowOldestCommitsFirst + protected bool Has_ShowOldestCommitsFirst { get; set; } + protected bool ShowOldestCommitsFirst { get; set; } + // Skip + protected bool Has_Skip { get; set; } + protected int Skip { get; set; } + // Top + protected bool Has_Top { get; set; } + protected int Top { get; set; } + // ExcludeDeletes + protected bool Has_ExcludeDeletes { get; set; } + protected bool ExcludeDeletes { get; set; } + // IncludeLinks + protected bool Has_IncludeLinks { get; set; } + protected bool IncludeLinks { get; set; } + // IncludeWorkItems + protected bool Has_IncludeWorkItems { get; set; } + protected bool IncludeWorkItems { get; set; } + // IncludePushData + protected bool Has_IncludePushData { get; set; } + protected bool IncludePushData { get; set; } + // IncludeUserImageUrl + protected bool Has_IncludeUserImageUrl { get; set; } + protected bool IncludeUserImageUrl { get; set; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef); + protected override void CacheParameters() + { + // Tag + Has_Tag = Parameters.HasParameter("Tag"); + Tag = Parameters.Get("Tag"); + // Branch + Has_Branch = Parameters.HasParameter("Branch"); + Branch = Parameters.Get("Branch"); + // Author + Has_Author = Parameters.HasParameter("Author"); + Author = Parameters.Get("Author"); + // Committer + Has_Committer = Parameters.HasParameter("Committer"); + Committer = Parameters.Get("Committer"); + // CompareVersion + Has_CompareVersion = Parameters.HasParameter("CompareVersion"); + CompareVersion = Parameters.Get("CompareVersion"); + // FromCommit + Has_FromCommit = Parameters.HasParameter("FromCommit"); + FromCommit = Parameters.Get("FromCommit"); + // FromDate + Has_FromDate = Parameters.HasParameter("FromDate"); + FromDate = Parameters.Get("FromDate"); + // ItemPath + Has_ItemPath = Parameters.HasParameter("ItemPath"); + ItemPath = Parameters.Get("ItemPath"); + // ToCommit + Has_ToCommit = Parameters.HasParameter("ToCommit"); + ToCommit = Parameters.Get("ToCommit"); + // ToDate + Has_ToDate = Parameters.HasParameter("ToDate"); + ToDate = Parameters.Get("ToDate"); + // ShowOldestCommitsFirst + Has_ShowOldestCommitsFirst = Parameters.HasParameter("ShowOldestCommitsFirst"); + ShowOldestCommitsFirst = Parameters.Get("ShowOldestCommitsFirst"); + // Skip + Has_Skip = Parameters.HasParameter("Skip"); + Skip = Parameters.Get("Skip"); + // Top + Has_Top = Parameters.HasParameter("Top"); + Top = Parameters.Get("Top"); + // ExcludeDeletes + Has_ExcludeDeletes = Parameters.HasParameter("ExcludeDeletes"); + ExcludeDeletes = Parameters.Get("ExcludeDeletes"); + // IncludeLinks + Has_IncludeLinks = Parameters.HasParameter("IncludeLinks"); + IncludeLinks = Parameters.Get("IncludeLinks"); + // IncludeWorkItems + Has_IncludeWorkItems = Parameters.HasParameter("IncludeWorkItems"); + IncludeWorkItems = Parameters.Get("IncludeWorkItems"); + // IncludePushData + Has_IncludePushData = Parameters.HasParameter("IncludePushData"); + IncludePushData = Parameters.Get("IncludePushData"); + // IncludeUserImageUrl + Has_IncludeUserImageUrl = Parameters.HasParameter("IncludeUserImageUrl"); + IncludeUserImageUrl = Parameters.Get("IncludeUserImageUrl"); + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetGitCommitController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs new file mode 100644 index 000000000..d5f41b93b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +namespace TfsCmdlets.Cmdlets.Git.Item +{ + internal partial class GetGitItemController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + // Item + protected bool Has_Item => Parameters.HasParameter(nameof(Item)); + protected IEnumerable Item + { + get + { + var paramValue = Parameters.Get(nameof(Item), "/*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Commit + protected bool Has_Commit { get; set; } + protected string Commit { get; set; } + // Tag + protected bool Has_Tag { get; set; } + protected string Tag { get; set; } + // Branch + protected bool Has_Branch { get; set; } + protected string Branch { get; set; } + // IncludeContent + protected bool Has_IncludeContent { get; set; } + protected bool IncludeContent { get; set; } + // IncludeMetadata + protected bool Has_IncludeMetadata { get; set; } + protected bool IncludeMetadata { get; set; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitItem); + protected override void CacheParameters() + { + // Commit + Has_Commit = Parameters.HasParameter("Commit"); + Commit = Parameters.Get("Commit"); + // Tag + Has_Tag = Parameters.HasParameter("Tag"); + Tag = Parameters.Get("Tag"); + // Branch + Has_Branch = Parameters.HasParameter("Branch"); + Branch = Parameters.Get("Branch"); + // IncludeContent + Has_IncludeContent = Parameters.HasParameter("IncludeContent"); + IncludeContent = Parameters.Get("IncludeContent"); + // IncludeMetadata + Has_IncludeMetadata = Parameters.HasParameter("IncludeMetadata"); + IncludeMetadata = Parameters.Get("IncludeMetadata"); + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetGitItemController(INodeUtil nodeUtil, TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + NodeUtil = nodeUtil; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs new file mode 100644 index 000000000..9b82fe11d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Policy.WebApi; +namespace TfsCmdlets.Cmdlets.Git.Policy +{ + internal partial class GetGitPolicyTypeController: ControllerBase + { + private TfsCmdlets.HttpClients.IPolicyHttpClient Client { get; } + // PolicyType + protected bool Has_PolicyType => Parameters.HasParameter(nameof(PolicyType)); + protected IEnumerable PolicyType + { + get + { + var paramValue = Parameters.Get(nameof(PolicyType), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Policy.WebApi.PolicyType); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetGitPolicyTypeController(TfsCmdlets.HttpClients.IPolicyHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs similarity index 92% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs index 41aaea342..c4cdce5e4 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_Get_Controller#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs @@ -1,13 +1,11 @@ //HintName: TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.cs using System.Management.Automation; using Microsoft.TeamFoundation.SourceControl.WebApi; - namespace TfsCmdlets.Cmdlets.Git { internal partial class GetGitRepositoryController: ControllerBase { private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } - // Repository protected bool Has_Repository => Parameters.HasParameter(nameof(Repository)); protected IEnumerable Repository @@ -19,54 +17,43 @@ protected IEnumerable Repository return new[] { paramValue }; } } - // Default protected bool Has_Default { get; set; } protected bool Default { get; set; } - // IncludeParent protected bool Has_IncludeParent { get; set; } protected bool IncludeParent { get; set; } - // Project protected bool Has_Project => Parameters.HasParameter("Project"); protected WebApiTeamProject Project => Data.GetProject(); - // Collection protected bool Has_Collection => Parameters.HasParameter("Collection"); protected Models.Connection Collection => Data.GetCollection(); - // Server protected bool Has_Server => Parameters.HasParameter("Server"); protected Models.Connection Server => Data.GetServer(); - // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - // DataType public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); - protected override void CacheParameters() { // Default Has_Default = Parameters.HasParameter("Default"); Default = Parameters.Get("Default"); - // IncludeParent Has_IncludeParent = Parameters.HasParameter("IncludeParent"); IncludeParent = Parameters.Get("IncludeParent"); - // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); } - [ImportingConstructor] - public GetGitRepositoryController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) + public GetGitRepositoryController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) { Client = client; } } -} +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs new file mode 100644 index 000000000..73b046b22 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.cs +using Microsoft.VisualStudio.Services.Graph.Client; +using TfsCmdlets.Cmdlets.Identity.Group; +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + internal partial class GetGroupController: ControllerBase + { + private TfsCmdlets.HttpClients.IGraphHttpClient Client { get; } + // Group + protected bool Has_Group => Parameters.HasParameter(nameof(Group)); + protected IEnumerable Group + { + get + { + var paramValue = Parameters.Get(nameof(Group), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.GroupScope Scope { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Graph.Client.GraphGroup); + protected override void CacheParameters() + { + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", GroupScope.Collection); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetGroupController(IGraphHttpClient graphClient, TfsCmdlets.HttpClients.IGraphHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + GraphClient = graphClient; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs new file mode 100644 index 000000000..7aba3a02e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.Identity; +using TfsCmdlets.Cmdlets.Identity.Group; +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + internal partial class GetGroupMemberController: ControllerBase + { + // Group + protected bool Has_Group => Parameters.HasParameter(nameof(Group)); + protected IEnumerable Group + { + get + { + var paramValue = Parameters.Get(nameof(Group)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Member + protected bool Has_Member { get; set; } + protected string Member { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Identity); + protected override void CacheParameters() + { + // Member + Has_Member = Parameters.HasParameter("Member"); + Member = Parameters.Get("Member", "*"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetGroupMemberController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs new file mode 100644 index 000000000..06553fc77 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.Identity; +using Microsoft.VisualStudio.Services.Licensing; +namespace TfsCmdlets.Cmdlets.Identity +{ + internal partial class GetIdentityController: ControllerBase + { + private TfsCmdlets.HttpClients.IIdentityHttpClient Client { get; } + // Identity + protected bool Has_Identity => Parameters.HasParameter(nameof(Identity)); + protected IEnumerable Identity + { + get + { + var paramValue = Parameters.Get(nameof(Identity)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // QueryMembership + protected bool Has_QueryMembership { get; set; } + protected Microsoft.VisualStudio.Services.Identity.QueryMembership QueryMembership { get; set; } + // Current + protected bool Has_Current { get; set; } + protected bool Current { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Identity); + protected override void CacheParameters() + { + // QueryMembership + Has_QueryMembership = Parameters.HasParameter("QueryMembership"); + QueryMembership = Parameters.Get("QueryMembership", WebApiQueryMembership.Direct); + // Current + Has_Current = Parameters.HasParameter("Current"); + Current = Parameters.Get("Current"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetIdentityController(TfsCmdlets.HttpClients.IIdentityHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs new file mode 100644 index 000000000..52c728d0b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.cs +using System.Management.Automation; +using System.Management.Automation.Runspaces; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.Admin +{ + internal partial class GetInstallationPathController: ControllerBase + { + // ComputerName + protected bool Has_ComputerName { get; set; } + protected string ComputerName { get; set; } + // Session + protected bool Has_Session { get; set; } + protected System.Management.Automation.Runspaces.PSSession Session { get; set; } + // Component + protected bool Has_Component { get; set; } + protected TfsCmdlets.TfsComponent Component { get; set; } + // Version + protected bool Has_Version { get; set; } + protected int Version { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected System.Management.Automation.PSCredential Credential { get; set; } + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TfsInstallationPath); + protected override void CacheParameters() + { + // ComputerName + Has_ComputerName = Parameters.HasParameter("ComputerName"); + ComputerName = Parameters.Get("ComputerName", "localhost"); + // Session + Has_Session = Parameters.HasParameter("Session"); + Session = Parameters.Get("Session"); + // Component + Has_Component = Parameters.HasParameter("Component"); + Component = Parameters.Get("Component", TfsComponent.BaseInstallation); + // Version + Has_Version = Parameters.HasParameter("Version"); + Version = Parameters.Get("Version"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential", PSCredential.Empty); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetInstallationPathController(IRegistryService registry, ITfsVersionTable tfsVersionTable, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Registry = registry; + TfsVersionTable = tfsVersionTable; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs new file mode 100644 index 000000000..a2fc94518 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class GetIterationController: GetClassificationNodeController + { + // Node + protected bool Has_Node => Parameters.HasParameter(nameof(Node)); + protected IEnumerable Node + { + get + { + var paramValue = Parameters.Get(nameof(Node), @"\**"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetIterationController(INodeUtil nodeUtil, IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(nodeUtil, client, powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs new file mode 100644 index 000000000..fbf454eeb --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs @@ -0,0 +1,67 @@ +//HintName: TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.cs +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +namespace TfsCmdlets.Cmdlets.Process.Field +{ + internal partial class GetProcessFieldDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // Field + protected bool Has_Field => Parameters.HasParameter(nameof(Field)); + protected IEnumerable Field + { + get + { + var paramValue = Parameters.Get(nameof(Field), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // ReferenceName + protected bool Has_ReferenceName { get; set; } + protected string[] ReferenceName { get; set; } + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // IncludeExtensionFields + protected bool Has_IncludeExtensionFields { get; set; } + protected bool IncludeExtensionFields { get; set; } + // IncludeDeleted + protected bool Has_IncludeDeleted { get; set; } + protected bool IncludeDeleted { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField); + protected override void CacheParameters() + { + // ReferenceName + Has_ReferenceName = Parameters.HasParameter("ReferenceName"); + ReferenceName = Parameters.Get("ReferenceName"); + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // IncludeExtensionFields + Has_IncludeExtensionFields = Parameters.HasParameter("IncludeExtensionFields"); + IncludeExtensionFields = Parameters.Get("IncludeExtensionFields"); + // IncludeDeleted + Has_IncludeDeleted = Parameters.HasParameter("IncludeDeleted"); + IncludeDeleted = Parameters.Get("IncludeDeleted"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetProcessFieldDefinitionController(TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs new file mode 100644 index 000000000..31b31dd12 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.ProcessTemplate +{ + internal partial class GetProcessTemplateController: ControllerBase + { + private TfsCmdlets.HttpClients.IProcessHttpClient Client { get; } + // ProcessTemplate + protected bool Has_ProcessTemplate => Parameters.HasParameter(nameof(ProcessTemplate)); + protected IEnumerable ProcessTemplate + { + get + { + var paramValue = Parameters.Get(nameof(ProcessTemplate), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Default + protected bool Has_Default { get; set; } + protected bool Default { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.Process); + protected override void CacheParameters() + { + // Default + Has_Default = Parameters.HasParameter("Default"); + Default = Parameters.Get("Default"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetProcessTemplateController(TfsCmdlets.HttpClients.IProcessHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs new file mode 100644 index 000000000..0c40bedcc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.cs +using System.Management.Automation; +using System.Xml.Linq; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.Admin.Registry +{ + internal partial class GetRegistryValueController: ControllerBase + { + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.RegistryScope Scope { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path"); + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", RegistryScope.Server); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetRegistryValueController(IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApi = restApi; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs new file mode 100644 index 000000000..f056a2b58 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients; +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + internal partial class GetReleaseDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IReleaseHttpClient2 Client { get; } + // Definition + protected bool Has_Definition => Parameters.HasParameter(nameof(Definition)); + protected IEnumerable Definition + { + get + { + var paramValue = Parameters.Get(nameof(Definition), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetReleaseDefinitionController(TfsCmdlets.HttpClients.IReleaseHttpClient2 client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs new file mode 100644 index 000000000..1851d64b8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients; +using WebApiFolder = Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder; +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + internal partial class GetReleaseDefinitionFolderController: ControllerBase + { + private TfsCmdlets.HttpClients.IReleaseHttpClient Client { get; } + // Folder + protected bool Has_Folder => Parameters.HasParameter(nameof(Folder)); + protected IEnumerable Folder + { + get + { + var paramValue = Parameters.Get(nameof(Folder), "**"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // QueryOrder + protected bool Has_QueryOrder { get; set; } + protected Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder QueryOrder { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder); + protected override void CacheParameters() + { + // QueryOrder + Has_QueryOrder = Parameters.HasParameter("QueryOrder"); + QueryOrder = Parameters.Get("QueryOrder"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetReleaseDefinitionFolderController(INodeUtil nodeUtil, TfsCmdlets.HttpClients.IReleaseHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + NodeUtil = nodeUtil; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs new file mode 100644 index 000000000..81b2b91db --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.WebApi; +using System.Reflection; +namespace TfsCmdlets.Cmdlets.RestApi +{ + internal partial class GetRestClientController: ControllerBase + { + // TypeName + protected bool Has_TypeName { get; set; } + protected string TypeName { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase); + protected override void CacheParameters() + { + // TypeName + Has_TypeName = Parameters.HasParameter("TypeName"); + TypeName = Parameters.Get("TypeName"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetRestClientController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs new file mode 100644 index 000000000..fc2be2752 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.cs +using System.Management.Automation; +using WebApiConsumer = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Consumer; +using Microsoft.VisualStudio.Services.ServiceHooks.WebApi; +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + internal partial class GetServiceHookConsumerController: ControllerBase + { + private TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient Client { get; } + // Consumer + protected bool Has_Consumer { get; set; } + protected string Consumer { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Consumer); + protected override void CacheParameters() + { + // Consumer + Has_Consumer = Parameters.HasParameter("Consumer"); + Consumer = Parameters.Get("Consumer", "*"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetServiceHookConsumerController(TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs new file mode 100644 index 000000000..339725abc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ServiceHooks.WebApi; +using WebApiSubscription = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription; +using WebApiServiceHookNotification = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Notification; +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + internal partial class GetServiceHookNotificationHistoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient Client { get; } + // Subscription + protected bool Has_Subscription => Parameters.HasParameter(nameof(Subscription)); + protected IEnumerable Subscription + { + get + { + var paramValue = Parameters.Get(nameof(Subscription)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // From + protected bool Has_From { get; set; } + protected System.DateTime? From { get; set; } + // To + protected bool Has_To { get; set; } + protected System.DateTime? To { get; set; } + // Status + protected bool Has_Status { get; set; } + protected Microsoft.VisualStudio.Services.ServiceHooks.WebApi.NotificationStatus Status { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Notification); + protected override void CacheParameters() + { + // From + Has_From = Parameters.HasParameter("From"); + From = Parameters.Get("From"); + // To + Has_To = Parameters.HasParameter("To"); + To = Parameters.Get("To"); + // Status + Has_Status = Parameters.HasParameter("Status"); + Status = Parameters.Get("Status"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetServiceHookNotificationHistoryController(TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs new file mode 100644 index 000000000..78d60096e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ServiceHooks.WebApi; +using WebApiPublisher = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Publisher; +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + internal partial class GetServiceHookPublisherController: ControllerBase + { + private TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient Client { get; } + // Publisher + protected bool Has_Publisher => Parameters.HasParameter(nameof(Publisher)); + protected IEnumerable Publisher + { + get + { + var paramValue = Parameters.Get(nameof(Publisher), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Publisher); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetServiceHookPublisherController(TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs new file mode 100644 index 000000000..8fe176814 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.cs +using System.Management.Automation; +using WebApiConsumer = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Consumer; +using WebApiPublisher = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Publisher; +using WebApiSubscription = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription; +using Microsoft.VisualStudio.Services.ServiceHooks.WebApi; +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + internal partial class GetServiceHookSubscriptionController: ControllerBase + { + private TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient Client { get; } + // Subscription + protected bool Has_Subscription => Parameters.HasParameter(nameof(Subscription)); + protected IEnumerable Subscription + { + get + { + var paramValue = Parameters.Get(nameof(Subscription), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Publisher + protected bool Has_Publisher { get; set; } + protected object Publisher { get; set; } + // Consumer + protected bool Has_Consumer { get; set; } + protected object Consumer { get; set; } + // EventType + protected bool Has_EventType { get; set; } + protected string EventType { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription); + protected override void CacheParameters() + { + // Publisher + Has_Publisher = Parameters.HasParameter("Publisher"); + Publisher = Parameters.Get("Publisher"); + // Consumer + Has_Consumer = Parameters.HasParameter("Consumer"); + Consumer = Parameters.Get("Consumer"); + // EventType + Has_EventType = Parameters.HasParameter("EventType"); + EventType = Parameters.Get("EventType"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetServiceHookSubscriptionController(TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs new file mode 100644 index 000000000..d90fcf738 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.cs +using System.Management.Automation; +using TfsCmdlets.Util; +namespace TfsCmdlets.Cmdlets.Team.TeamAdmin +{ + internal partial class GetTeamAdminController: ControllerBase + { + // Admin + protected bool Has_Admin { get; set; } + protected string Admin { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TeamAdmin); + protected override void CacheParameters() + { + // Admin + Has_Admin = Parameters.HasParameter("Admin"); + Admin = Parameters.Get("Admin", "*"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamAdminController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs new file mode 100644 index 000000000..ebb859d07 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.cs +using System.Management.Automation; +using WebApiBacklogLevelConfiguration = Microsoft.TeamFoundation.Work.WebApi.BacklogLevelConfiguration; +using Microsoft.TeamFoundation.Core.WebApi.Types; +using Microsoft.TeamFoundation.Work.WebApi; +namespace TfsCmdlets.Cmdlets.Team.Backlog +{ + internal partial class GetTeamBacklogLevelController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkHttpClient Client { get; } + // Backlog + protected bool Has_Backlog => Parameters.HasParameter(nameof(Backlog)); + protected IEnumerable Backlog + { + get + { + var paramValue = Parameters.Get(nameof(Backlog), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.BacklogLevelConfiguration); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamBacklogLevelController(TfsCmdlets.HttpClients.IWorkHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs new file mode 100644 index 000000000..6986fc733 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.cs +using System.Management.Automation; +using WebApiCardRule = Microsoft.TeamFoundation.Work.WebApi.Rule; +using Microsoft.TeamFoundation.Core.WebApi.Types; +using Microsoft.TeamFoundation.Work.WebApi; +namespace TfsCmdlets.Cmdlets.Team.Board +{ + internal partial class GetTeamBoardCardRuleController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkHttpClient Client { get; } + // Rule + protected bool Has_Rule => Parameters.HasParameter(nameof(Rule)); + protected IEnumerable Rule + { + get + { + var paramValue = Parameters.Get(nameof(Rule), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // RuleType + protected bool Has_RuleType { get; set; } + protected TfsCmdlets.CardRuleType RuleType { get; set; } + // Board + protected bool Has_Board { get; set; } + protected object Board { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.CardRule); + protected override void CacheParameters() + { + // RuleType + Has_RuleType = Parameters.HasParameter("RuleType"); + RuleType = Parameters.Get("RuleType", CardRuleType.All); + // Board + Has_Board = Parameters.HasParameter("Board"); + Board = Parameters.Get("Board"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamBoardCardRuleController(TfsCmdlets.HttpClients.IWorkHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs new file mode 100644 index 000000000..a9762848f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi.Types; +using Microsoft.TeamFoundation.Work.WebApi; +namespace TfsCmdlets.Cmdlets.Team.Board +{ + internal partial class GetTeamBoardController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkHttpClient Client { get; } + // Board + protected bool Has_Board => Parameters.HasParameter(nameof(Board)); + protected IEnumerable Board + { + get + { + var paramValue = Parameters.Get(nameof(Board), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Board); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamBoardController(TfsCmdlets.HttpClients.IWorkHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs new file mode 100644 index 000000000..c05e352e2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs @@ -0,0 +1,113 @@ +//HintName: TfsCmdlets.Cmdlets.Team.GetTeamController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +using Microsoft.TeamFoundation.Core.WebApi.Types; +using Microsoft.TeamFoundation.Work.WebApi; +namespace TfsCmdlets.Cmdlets.Team +{ + internal partial class GetTeamController: ControllerBase + { + private TfsCmdlets.HttpClients.ITeamHttpClient Client { get; } + // Team + protected bool Has_Team => Parameters.HasParameter(nameof(Team)); + protected IEnumerable Team + { + get + { + var paramValue = Parameters.Get(nameof(Team), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // IncludeMembers + protected bool Has_IncludeMembers { get; set; } + protected bool IncludeMembers { get; set; } + // IncludeSettings + protected bool Has_IncludeSettings { get; set; } + protected bool IncludeSettings { get; set; } + // Current + protected bool Has_Current { get; set; } + protected bool Current { get; set; } + // Default + protected bool Has_Default { get; set; } + protected bool Default { get; set; } + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Team); + protected override void CacheParameters() + { + // IncludeMembers + Has_IncludeMembers = Parameters.HasParameter("IncludeMembers"); + IncludeMembers = Parameters.Get("IncludeMembers"); + // IncludeSettings + Has_IncludeSettings = Parameters.HasParameter("IncludeSettings"); + IncludeSettings = Parameters.Get("IncludeSettings"); + // Current + Has_Current = Parameters.HasParameter("Current"); + Current = Parameters.Get("Current"); + // Default + Has_Default = Parameters.HasParameter("Default"); + Default = Parameters.Get("Default"); + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamController(ICurrentConnections currentConnections, IPaginator paginator, IProjectHttpClient projectClient, IWorkHttpClient workClient, TfsCmdlets.HttpClients.ITeamHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + Paginator = paginator; + ProjectClient = projectClient; + WorkClient = workClient; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs new file mode 100644 index 000000000..661d22bf3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.cs +using System.Management.Automation; +using TfsCmdlets.Util; +namespace TfsCmdlets.Cmdlets.Team.TeamMember +{ + internal partial class GetTeamMemberController: ControllerBase + { + // Member + protected bool Has_Member { get; set; } + protected string Member { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TeamMember); + protected override void CacheParameters() + { + // Member + Has_Member = Parameters.HasParameter("Member"); + Member = Parameters.Get("Member", "*"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamMemberController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs new file mode 100644 index 000000000..e5066d4dc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + internal partial class GetTeamProjectCollectionController: ControllerBase + { + // Collection + protected bool Has_Collection => Parameters.HasParameter(nameof(Collection)); + protected IEnumerable Collection + { + get + { + var paramValue = Parameters.Get(nameof(Collection)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Current + protected bool Has_Current { get; set; } + protected bool Current { get; set; } + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Connection); + protected override void CacheParameters() + { + // Current + Has_Current = Parameters.HasParameter("Current"); + Current = Parameters.Get("Current"); + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamProjectCollectionController(ICurrentConnections currentConnections, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs new file mode 100644 index 000000000..113eff451 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs @@ -0,0 +1,106 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class GetTeamProjectController: ControllerBase + { + private TfsCmdlets.HttpClients.IProjectHttpClient Client { get; } + // Project + protected bool Has_Project => Parameters.HasParameter(nameof(Project)); + protected IEnumerable Project + { + get + { + var paramValue = Parameters.Get(nameof(Project), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Deleted + protected bool Has_Deleted { get; set; } + protected bool Deleted { get; set; } + // Process + protected bool Has_Process { get; set; } + protected string[] Process { get; set; } + // IncludeDetails + protected bool Has_IncludeDetails { get; set; } + protected bool IncludeDetails { get; set; } + // Current + protected bool Has_Current { get; set; } + protected bool Current { get; set; } + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // Deleted + Has_Deleted = Parameters.HasParameter("Deleted"); + Deleted = Parameters.Get("Deleted"); + // Process + Has_Process = Parameters.HasParameter("Process"); + Process = Parameters.Get("Process"); + // IncludeDetails + Has_IncludeDetails = Parameters.HasParameter("IncludeDetails"); + IncludeDetails = Parameters.Get("IncludeDetails"); + // Current + Has_Current = Parameters.HasParameter("Current"); + Current = Parameters.Get("Current"); + // Cached + Has_Cached = Parameters.HasParameter("Cached"); + Cached = Parameters.Get("Cached"); + // UserName + Has_UserName = Parameters.HasParameter("UserName"); + UserName = Parameters.Get("UserName"); + // Password + Has_Password = Parameters.HasParameter("Password"); + Password = Parameters.Get("Password"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential"); + // PersonalAccessToken + Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); + PersonalAccessToken = Parameters.Get("PersonalAccessToken"); + // Interactive + Has_Interactive = Parameters.HasParameter("Interactive"); + Interactive = Parameters.Get("Interactive"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamProjectController(ICurrentConnections currentConnections, IPaginator paginator, TfsCmdlets.HttpClients.IProjectHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + CurrentConnections = currentConnections; + Paginator = paginator; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs new file mode 100644 index 000000000..4ac54e760 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +using TfsIdentity = Microsoft.VisualStudio.Services.Identity.Identity; +namespace TfsCmdlets.Cmdlets.TeamProject.Member +{ + internal partial class GetTeamProjectMemberController: ControllerBase + { + // Member + protected bool Has_Member => Parameters.HasParameter(nameof(Member)); + protected IEnumerable Member + { + get + { + var paramValue = Parameters.Get(nameof(Member), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // AsIdentity + protected bool Has_AsIdentity { get; set; } + protected bool AsIdentity { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TeamProjectMember); + protected override void CacheParameters() + { + // AsIdentity + Has_AsIdentity = Parameters.HasParameter("AsIdentity"); + AsIdentity = Parameters.Get("AsIdentity"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTeamProjectMemberController(IRestApiService restApiService, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApiService = restApiService; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs new file mode 100644 index 000000000..b893d05a1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi; +namespace TfsCmdlets.Cmdlets.TestManagement +{ + internal partial class GetTestPlanController: ControllerBase + { + private TfsCmdlets.HttpClients.ITestPlanHttpClient Client { get; } + // TestPlan + protected bool Has_TestPlan => Parameters.HasParameter(nameof(TestPlan)); + protected IEnumerable TestPlan + { + get + { + var paramValue = Parameters.Get(nameof(TestPlan), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Owner + protected bool Has_Owner { get; set; } + protected string Owner { get; set; } + // NoPlanDetails + protected bool Has_NoPlanDetails { get; set; } + protected bool NoPlanDetails { get; set; } + // Active + protected bool Has_Active { get; set; } + protected bool Active { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan); + protected override void CacheParameters() + { + // Owner + Has_Owner = Parameters.HasParameter("Owner"); + Owner = Parameters.Get("Owner"); + // NoPlanDetails + Has_NoPlanDetails = Parameters.HasParameter("NoPlanDetails"); + NoPlanDetails = Parameters.Get("NoPlanDetails"); + // Active + Has_Active = Parameters.HasParameter("Active"); + Active = Parameters.Get("Active"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetTestPlanController(TfsCmdlets.HttpClients.ITestPlanHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs new file mode 100644 index 000000000..833464dbe --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.Licensing; +using TfsCmdlets.Cmdlets.Identity; +using Microsoft.VisualStudio.Services.Licensing.Client; +namespace TfsCmdlets.Cmdlets.Identity.User +{ + internal partial class GetUserController: ControllerBase + { + private TfsCmdlets.HttpClients.IAccountLicensingHttpClient Client { get; } + // User + protected bool Has_User => Parameters.HasParameter(nameof(User)); + protected IEnumerable User + { + get + { + var paramValue = Parameters.Get(nameof(User), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Current + protected bool Has_Current { get; set; } + protected bool Current { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Licensing.AccountEntitlement); + protected override void CacheParameters() + { + // Current + Has_Current = Parameters.HasParameter("Current"); + Current = Parameters.Get("Current"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetUserController(TfsCmdlets.HttpClients.IAccountLicensingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs similarity index 99% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs index 60b890a59..30ff23fbc 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetVersion#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs @@ -1,34 +1,27 @@ //HintName: TfsCmdlets.Cmdlets.Admin.GetVersionController.g.cs using System.Text.RegularExpressions; using TfsCmdlets.Models; - namespace TfsCmdlets.Cmdlets.Admin { internal partial class GetVersionController: ControllerBase { - // Collection protected bool Has_Collection => Parameters.HasParameter("Collection"); protected Models.Connection Collection => Data.GetCollection(); - // Server protected bool Has_Server => Parameters.HasParameter("Server"); protected Models.Connection Server => Data.GetServer(); - // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - // DataType public override Type DataType => typeof(TfsCmdlets.Models.ServerVersion); - protected override void CacheParameters() { // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); } - [ImportingConstructor] public GetVersionController(ITfsVersionTable tfsVersionTable, IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) @@ -37,4 +30,4 @@ public GetVersionController(ITfsVersionTable tfsVersionTable, IRestApiService re RestApi = restApi; } } -} +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs new file mode 100644 index 000000000..b6aa1a9de --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Wiki.WebApi; +namespace TfsCmdlets.Cmdlets.Wiki +{ + internal partial class GetWikiController: ControllerBase + { + private TfsCmdlets.HttpClients.IWikiHttpClient Client { get; } + // Wiki + protected bool Has_Wiki => Parameters.HasParameter(nameof(Wiki)); + protected IEnumerable Wiki + { + get + { + var paramValue = Parameters.Get(nameof(Wiki), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // ProjectWiki + protected bool Has_ProjectWiki { get; set; } + protected bool ProjectWiki { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Wiki.WebApi.WikiV2); + protected override void CacheParameters() + { + // ProjectWiki + Has_ProjectWiki = Parameters.HasParameter("ProjectWiki"); + ProjectWiki = Parameters.Get("ProjectWiki"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetWikiController(TfsCmdlets.HttpClients.IWikiHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs new file mode 100644 index 000000000..bf156fc98 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.History +{ + internal partial class GetWorkItemHistoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // WorkItem + protected bool Has_WorkItem => Parameters.HasParameter(nameof(WorkItem)); + protected IEnumerable WorkItem + { + get + { + var paramValue = Parameters.Get(nameof(WorkItem)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.WorkItemHistoryEntry); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetWorkItemHistoryController(TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs new file mode 100644 index 000000000..d0bc52b92 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.ProcessTemplate +{ + internal partial class ImportProcessTemplateController: ControllerBase + { + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // State + protected bool Has_State { get; set; } + protected string State { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path"); + // State + Has_State = Parameters.HasParameter("State"); + State = Parameters.Get("State", "Visible"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ImportProcessTemplateController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs new file mode 100644 index 000000000..e72232bf4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.TeamProject.Avatar +{ + internal partial class ImportTeamProjectAvatarController: ControllerBase + { + private TfsCmdlets.HttpClients.IProjectHttpClient Client { get; } + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ImportTeamProjectAvatarController(TfsCmdlets.HttpClients.IProjectHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs new file mode 100644 index 000000000..540bbf2b0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + internal partial class InstallExtensionController: ControllerBase + { + private TfsCmdlets.HttpClients.IExtensionManagementHttpClient Client { get; } + // Extension + protected bool Has_Extension { get; set; } + protected string Extension { get; set; } + // Publisher + protected bool Has_Publisher { get; set; } + protected string Publisher { get; set; } + // Version + protected bool Has_Version { get; set; } + protected string Version { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension); + protected override void CacheParameters() + { + // Extension + Has_Extension = Parameters.HasParameter("Extension"); + Extension = Parameters.Get("Extension"); + // Publisher + Has_Publisher = Parameters.HasParameter("Publisher"); + Publisher = Parameters.Get("Publisher"); + // Version + Has_Version = Parameters.HasParameter("Version"); + Version = Parameters.Get("Version"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public InstallExtensionController(TfsCmdlets.HttpClients.IExtensionManagementHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs new file mode 100644 index 000000000..93da4dc34 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.cs +using System.Management.Automation; +using System.Net.Http; +using TfsCmdlets.Util; +namespace TfsCmdlets.Cmdlets.RestApi +{ + internal partial class InvokeRestApiController: ControllerBase + { + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // Method + protected bool Has_Method { get; set; } + protected string Method { get; set; } + // Body + protected bool Has_Body { get; set; } + protected string Body { get; set; } + // RequestContentType + protected bool Has_RequestContentType { get; set; } + protected string RequestContentType { get; set; } + // ResponseContentType + protected bool Has_ResponseContentType { get; set; } + protected string ResponseContentType { get; set; } + // AdditionalHeaders + protected bool Has_AdditionalHeaders { get; set; } + protected System.Collections.Hashtable AdditionalHeaders { get; set; } + // QueryParameters + protected bool Has_QueryParameters { get; set; } + protected System.Collections.Hashtable QueryParameters { get; set; } + // ApiVersion + protected bool Has_ApiVersion { get; set; } + protected string ApiVersion { get; set; } + // UseHost + protected bool Has_UseHost { get; set; } + protected string UseHost { get; set; } + // NoAutoUnwrap + protected bool Has_NoAutoUnwrap { get; set; } + protected bool NoAutoUnwrap { get; set; } + // Raw + protected bool Has_Raw { get; set; } + protected bool Raw { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected string Destination { get; set; } + // AsTask + protected bool Has_AsTask { get; set; } + protected bool AsTask { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path"); + // Method + Has_Method = Parameters.HasParameter("Method"); + Method = Parameters.Get("Method", "GET"); + // Body + Has_Body = Parameters.HasParameter("Body"); + Body = Parameters.Get("Body"); + // RequestContentType + Has_RequestContentType = Parameters.HasParameter("RequestContentType"); + RequestContentType = Parameters.Get("RequestContentType", "application/json"); + // ResponseContentType + Has_ResponseContentType = Parameters.HasParameter("ResponseContentType"); + ResponseContentType = Parameters.Get("ResponseContentType", "application/json"); + // AdditionalHeaders + Has_AdditionalHeaders = Parameters.HasParameter("AdditionalHeaders"); + AdditionalHeaders = Parameters.Get("AdditionalHeaders"); + // QueryParameters + Has_QueryParameters = Parameters.HasParameter("QueryParameters"); + QueryParameters = Parameters.Get("QueryParameters"); + // ApiVersion + Has_ApiVersion = Parameters.HasParameter("ApiVersion"); + ApiVersion = Parameters.Get("ApiVersion", "4.1"); + // UseHost + Has_UseHost = Parameters.HasParameter("UseHost"); + UseHost = Parameters.Get("UseHost"); + // NoAutoUnwrap + Has_NoAutoUnwrap = Parameters.HasParameter("NoAutoUnwrap"); + NoAutoUnwrap = Parameters.Get("NoAutoUnwrap"); + // Raw + Has_Raw = Parameters.HasParameter("Raw"); + Raw = Parameters.Get("Raw"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // AsTask + Has_AsTask = Parameters.HasParameter("AsTask"); + AsTask = Parameters.Get("AsTask"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public InvokeRestApiController(IRestApiService restApiService, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApiService = restApiService; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs new file mode 100644 index 000000000..475e12cfb --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class MoveAreaController: MoveClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected object Node { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected object Destination { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Node switch { + TfsCmdlets.Models.ClassificationNode item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node", @"\**"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public MoveAreaController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IWorkItemTrackingHttpClient client) + : base(powerShell, data, parameters, logger, client) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs new file mode 100644 index 000000000..a923fb684 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class MoveIterationController: MoveClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected object Node { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected object Destination { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Node switch { + TfsCmdlets.Models.ClassificationNode item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node", @"\**"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public MoveIterationController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IWorkItemTrackingHttpClient client) + : base(powerShell, data, parameters, logger, client) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs new file mode 100644 index 000000000..4def10312 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.cs +using System.Management.Automation; +using WebApiFolder = Microsoft.TeamFoundation.Build.WebApi.Folder; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Folder +{ + internal partial class NewBuildDefinitionFolderController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Folder + protected bool Has_Folder { get; set; } + protected object Folder { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Folder switch { + Microsoft.TeamFoundation.Build.WebApi.Folder item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.Folder); + protected override void CacheParameters() + { + // Folder + Has_Folder = Parameters.HasParameter("Folder"); + Folder = Parameters.Get("Folder"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewBuildDefinitionFolderController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs similarity index 93% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs index 2a47ad3bb..743ed654c 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_GetCredential#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs @@ -4,87 +4,68 @@ using System.Net; using Microsoft.VisualStudio.Services.Client; using Microsoft.VisualStudio.Services.OAuth; - namespace TfsCmdlets.Cmdlets.Credential { internal partial class GetCredentialController: ControllerBase { - // Url protected bool Has_Url { get; set; } protected System.Uri Url { get; set; } - // Cached protected bool Has_Cached { get; set; } protected bool Cached { get; set; } - // UserName protected bool Has_UserName { get; set; } protected string UserName { get; set; } - // Password protected bool Has_Password { get; set; } protected System.Security.SecureString Password { get; set; } - // Credential protected bool Has_Credential { get; set; } protected object Credential { get; set; } - // PersonalAccessToken protected bool Has_PersonalAccessToken { get; set; } protected string PersonalAccessToken { get; set; } - // Interactive protected bool Has_Interactive { get; set; } protected bool Interactive { get; set; } - // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - // DataType public override Type DataType => typeof(Microsoft.VisualStudio.Services.Common.VssCredentials); - protected override void CacheParameters() { // Url Has_Url = Parameters.HasParameter("Url"); Url = Parameters.Get("Url"); - // Cached Has_Cached = Parameters.HasParameter("Cached"); Cached = Parameters.Get("Cached"); - // UserName Has_UserName = Parameters.HasParameter("UserName"); UserName = Parameters.Get("UserName"); - // Password Has_Password = Parameters.HasParameter("Password"); Password = Parameters.Get("Password"); - // Credential Has_Credential = Parameters.HasParameter("Credential"); Credential = Parameters.Get("Credential"); - // PersonalAccessToken Has_PersonalAccessToken = Parameters.HasParameter("PersonalAccessToken"); PersonalAccessToken = Parameters.Get("PersonalAccessToken"); - // Interactive Has_Interactive = Parameters.HasParameter("Interactive"); Interactive = Parameters.Get("Interactive"); - // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); } - [ImportingConstructor] - public GetCredentialController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IInteractiveAuthentication interactiveAuthentication) + public GetCredentialController(IInteractiveAuthentication interactiveAuthentication, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) { InteractiveAuthentication = interactiveAuthentication; } } -} +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs similarity index 95% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs index dec6c1e1c..77f64533d 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_New_Controller#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs @@ -2,76 +2,60 @@ using System.Management.Automation; using Microsoft.TeamFoundation.SourceControl.WebApi; using Microsoft.TeamFoundation.Core.WebApi; - namespace TfsCmdlets.Cmdlets.Git { internal partial class NewGitRepositoryController: ControllerBase { private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } - // Repository protected bool Has_Repository { get; set; } protected string Repository { get; set; } - // ForkFrom protected bool Has_ForkFrom { get; set; } protected object ForkFrom { get; set; } - // SourceBranch protected bool Has_SourceBranch { get; set; } protected string SourceBranch { get; set; } - // Passthru protected bool Has_Passthru { get; set; } protected bool Passthru { get; set; } - // Project protected bool Has_Project => Parameters.HasParameter("Project"); protected WebApiTeamProject Project => Data.GetProject(); - // Collection protected bool Has_Collection => Parameters.HasParameter("Collection"); protected Models.Connection Collection => Data.GetCollection(); - // Server protected bool Has_Server => Parameters.HasParameter("Server"); protected Models.Connection Server => Data.GetServer(); - // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - // DataType public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); - protected override void CacheParameters() { // Repository Has_Repository = Parameters.HasParameter("Repository"); Repository = Parameters.Get("Repository"); - // ForkFrom Has_ForkFrom = Parameters.HasParameter("ForkFrom"); ForkFrom = Parameters.Get("ForkFrom"); - // SourceBranch Has_SourceBranch = Parameters.HasParameter("SourceBranch"); SourceBranch = Parameters.Get("SourceBranch"); - // Passthru Has_Passthru = Parameters.HasParameter("Passthru"); Passthru = Parameters.Get("Passthru"); - // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); } - [ImportingConstructor] - public NewGitRepositoryController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) + public NewGitRepositoryController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) { Client = client; } } -} +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs new file mode 100644 index 000000000..5382909ed --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.cs +using Microsoft.VisualStudio.Services.Graph.Client; +using TfsCmdlets.Cmdlets.Identity.Group; +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + internal partial class NewGroupController: ControllerBase + { + private TfsCmdlets.HttpClients.IGraphHttpClient Client { get; } + // Group + protected bool Has_Group { get; set; } + protected string Group { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.GroupScope Scope { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Graph.Client.GraphGroup); + protected override void CacheParameters() + { + // Group + Has_Group = Parameters.HasParameter("Group"); + Group = Parameters.Get("Group"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", GroupScope.Collection); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewGroupController(IGraphHttpClient graphClient, TfsCmdlets.HttpClients.IGraphHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + GraphClient = graphClient; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs new file mode 100644 index 000000000..ad5714256 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class NewIterationController: NewClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected string Node { get; set; } + // StartDate + protected bool Has_StartDate { get; set; } + protected System.DateTime? StartDate { get; set; } + // FinishDate + protected bool Has_FinishDate { get; set; } + protected System.DateTime? FinishDate { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node"); + // StartDate + Has_StartDate = Parameters.HasParameter("StartDate"); + StartDate = Parameters.Get("StartDate"); + // FinishDate + Has_FinishDate = Parameters.HasParameter("FinishDate"); + FinishDate = Parameters.Get("FinishDate"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewIterationController(INodeUtil nodeUtil, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IWorkItemTrackingHttpClient client) + : base(nodeUtil, powerShell, data, parameters, logger, client) + { + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs new file mode 100644 index 000000000..cf6bec3c9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.cs +using Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using ProcessFieldType = Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldType; +namespace TfsCmdlets.Cmdlets.Process.Field +{ + internal partial class NewProcessFieldDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // Field + protected bool Has_Field { get; set; } + protected string Field { get; set; } + // ReferenceName + protected bool Has_ReferenceName { get; set; } + protected string ReferenceName { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // Type + protected bool Has_Type { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldType Type { get; set; } + // ReadOnly + protected bool Has_ReadOnly { get; set; } + protected bool ReadOnly { get; set; } + // CanSortBy + protected bool Has_CanSortBy { get; set; } + protected bool CanSortBy { get; set; } + // IsQueryable + protected bool Has_IsQueryable { get; set; } + protected bool IsQueryable { get; set; } + // IsIdentity + protected bool Has_IsIdentity { get; set; } + protected bool IsIdentity { get; set; } + // PicklistItems + protected bool Has_PicklistItems { get; set; } + protected object[] PicklistItems { get; set; } + // PicklistSuggested + protected bool Has_PicklistSuggested { get; set; } + protected bool PicklistSuggested { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Field + Has_Field = Parameters.HasParameter("Field"); + Field = Parameters.Get("Field"); + // ReferenceName + Has_ReferenceName = Parameters.HasParameter("ReferenceName"); + ReferenceName = Parameters.Get("ReferenceName"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // Type + Has_Type = Parameters.HasParameter("Type"); + Type = Parameters.Get("Type", ProcessFieldType.String); + // ReadOnly + Has_ReadOnly = Parameters.HasParameter("ReadOnly"); + ReadOnly = Parameters.Get("ReadOnly"); + // CanSortBy + Has_CanSortBy = Parameters.HasParameter("CanSortBy"); + CanSortBy = Parameters.Get("CanSortBy"); + // IsQueryable + Has_IsQueryable = Parameters.HasParameter("IsQueryable"); + IsQueryable = Parameters.Get("IsQueryable"); + // IsIdentity + Has_IsIdentity = Parameters.HasParameter("IsIdentity"); + IsIdentity = Parameters.Get("IsIdentity"); + // PicklistItems + Has_PicklistItems = Parameters.HasParameter("PicklistItems"); + PicklistItems = Parameters.Get("PicklistItems"); + // PicklistSuggested + Has_PicklistSuggested = Parameters.HasParameter("PicklistSuggested"); + PicklistSuggested = Parameters.Get("PicklistSuggested"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewProcessFieldDefinitionController(IWorkItemTrackingProcessHttpClient processClient, TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + ProcessClient = processClient; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs new file mode 100644 index 000000000..4d7a8a25e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.cs +using System.Management.Automation; +using WebApiFolder = Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients; +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + internal partial class NewReleaseDefinitionFolderController: ControllerBase + { + private TfsCmdlets.HttpClients.IReleaseHttpClient Client { get; } + // Folder + protected bool Has_Folder { get; set; } + protected string Folder { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder); + protected override void CacheParameters() + { + // Folder + Has_Folder = Parameters.HasParameter("Folder"); + Folder = Parameters.Get("Folder", "**"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewReleaseDefinitionFolderController(INodeUtil nodeUtil, TfsCmdlets.HttpClients.IReleaseHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + NodeUtil = nodeUtil; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs new file mode 100644 index 000000000..d2697fe59 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs @@ -0,0 +1,96 @@ +//HintName: TfsCmdlets.Cmdlets.Team.NewTeamController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.Team +{ + internal partial class NewTeamController: ControllerBase + { + private TfsCmdlets.HttpClients.ITeamHttpClient Client { get; } + // Team + protected bool Has_Team { get; set; } + protected string Team { get; set; } + // DefaultAreaPath + protected bool Has_DefaultAreaPath { get; set; } + protected string DefaultAreaPath { get; set; } + // NoDefaultArea + protected bool Has_NoDefaultArea { get; set; } + protected bool NoDefaultArea { get; set; } + // AreaPaths + protected bool Has_AreaPaths { get; set; } + protected string[] AreaPaths { get; set; } + // BacklogIteration + protected bool Has_BacklogIteration { get; set; } + protected string BacklogIteration { get; set; } + // DefaultIterationMacro + protected bool Has_DefaultIterationMacro { get; set; } + protected string DefaultIterationMacro { get; set; } + // IterationPaths + protected bool Has_IterationPaths { get; set; } + protected string[] IterationPaths { get; set; } + // NoBacklogIteration + protected bool Has_NoBacklogIteration { get; set; } + protected bool NoBacklogIteration { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Team); + protected override void CacheParameters() + { + // Team + Has_Team = Parameters.HasParameter("Team"); + Team = Parameters.Get("Team"); + // DefaultAreaPath + Has_DefaultAreaPath = Parameters.HasParameter("DefaultAreaPath"); + DefaultAreaPath = Parameters.Get("DefaultAreaPath"); + // NoDefaultArea + Has_NoDefaultArea = Parameters.HasParameter("NoDefaultArea"); + NoDefaultArea = Parameters.Get("NoDefaultArea"); + // AreaPaths + Has_AreaPaths = Parameters.HasParameter("AreaPaths"); + AreaPaths = Parameters.Get("AreaPaths"); + // BacklogIteration + Has_BacklogIteration = Parameters.HasParameter("BacklogIteration"); + BacklogIteration = Parameters.Get("BacklogIteration", "\\"); + // DefaultIterationMacro + Has_DefaultIterationMacro = Parameters.HasParameter("DefaultIterationMacro"); + DefaultIterationMacro = Parameters.Get("DefaultIterationMacro", "@CurrentIteration"); + // IterationPaths + Has_IterationPaths = Parameters.HasParameter("IterationPaths"); + IterationPaths = Parameters.Get("IterationPaths"); + // NoBacklogIteration + Has_NoBacklogIteration = Parameters.HasParameter("NoBacklogIteration"); + NoBacklogIteration = Parameters.Get("NoBacklogIteration"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewTeamController(TfsCmdlets.HttpClients.ITeamHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs new file mode 100644 index 000000000..933dfb339 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs @@ -0,0 +1,103 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.cs +using System.Management.Automation; +using System; +using System.Threading; +using Microsoft.TeamFoundation.Framework.Common; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + internal partial class NewTeamProjectCollectionController: ControllerBase + { + // Collection + protected bool Has_Collection { get; set; } + protected object Collection { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // DatabaseServer + protected bool Has_DatabaseServer { get; set; } + protected string DatabaseServer { get; set; } + // DatabaseName + protected bool Has_DatabaseName { get; set; } + protected string DatabaseName { get; set; } + // ConnectionString + protected bool Has_ConnectionString { get; set; } + protected string ConnectionString { get; set; } + // Default + protected bool Has_Default { get; set; } + protected bool Default { get; set; } + // UseExistingDatabase + protected bool Has_UseExistingDatabase { get; set; } + protected bool UseExistingDatabase { get; set; } + // InitialState + protected bool Has_InitialState { get; set; } + protected string InitialState { get; set; } + // PollingInterval + protected bool Has_PollingInterval { get; set; } + protected int PollingInterval { get; set; } + // Timeout + protected bool Has_Timeout { get; set; } + protected System.TimeSpan Timeout { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Collection switch { + TfsCmdlets.Models.Connection item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Connection); + protected override void CacheParameters() + { + // Collection + Has_Collection = Parameters.HasParameter("Collection"); + Collection = Parameters.Get("Collection"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // DatabaseServer + Has_DatabaseServer = Parameters.HasParameter("DatabaseServer"); + DatabaseServer = Parameters.Get("DatabaseServer"); + // DatabaseName + Has_DatabaseName = Parameters.HasParameter("DatabaseName"); + DatabaseName = Parameters.Get("DatabaseName"); + // ConnectionString + Has_ConnectionString = Parameters.HasParameter("ConnectionString"); + ConnectionString = Parameters.Get("ConnectionString"); + // Default + Has_Default = Parameters.HasParameter("Default"); + Default = Parameters.Get("Default"); + // UseExistingDatabase + Has_UseExistingDatabase = Parameters.HasParameter("UseExistingDatabase"); + UseExistingDatabase = Parameters.Get("UseExistingDatabase"); + // InitialState + Has_InitialState = Parameters.HasParameter("InitialState"); + InitialState = Parameters.Get("InitialState", "Started"); + // PollingInterval + Has_PollingInterval = Parameters.HasParameter("PollingInterval"); + PollingInterval = Parameters.Get("PollingInterval", 5); + // Timeout + Has_Timeout = Parameters.HasParameter("Timeout"); + Timeout = Parameters.Get("Timeout", TimeSpan.MaxValue); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewTeamProjectCollectionController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs new file mode 100644 index 000000000..d9de6b864 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.cs +using System.Management.Automation; +using System.Threading; +using Microsoft.TeamFoundation.Core.WebApi; +using Microsoft.VisualStudio.Services.Operations; +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class NewTeamProjectController: ControllerBase + { + private TfsCmdlets.HttpClients.IProjectHttpClient Client { get; } + // Project + protected bool Has_Project { get; set; } + protected string[] Project { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // SourceControl + protected bool Has_SourceControl { get; set; } + protected string SourceControl { get; set; } + // ProcessTemplate + protected bool Has_ProcessTemplate { get; set; } + protected object ProcessTemplate { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // SourceControl + Has_SourceControl = Parameters.HasParameter("SourceControl"); + SourceControl = Parameters.Get("SourceControl", "Git"); + // ProcessTemplate + Has_ProcessTemplate = Parameters.HasParameter("ProcessTemplate"); + ProcessTemplate = Parameters.Get("ProcessTemplate"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewTeamProjectController(IAsyncOperationAwaiter asyncAwaiter, TfsCmdlets.HttpClients.IProjectHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + AsyncAwaiter = asyncAwaiter; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs new file mode 100644 index 000000000..ccd490d17 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs @@ -0,0 +1,79 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi; +namespace TfsCmdlets.Cmdlets.TestManagement +{ + internal partial class NewTestPlanController: ControllerBase + { + private TfsCmdlets.HttpClients.ITestPlanHttpClient Client { get; } + // TestPlan + protected bool Has_TestPlan { get; set; } + protected string TestPlan { get; set; } + // AreaPath + protected bool Has_AreaPath { get; set; } + protected string AreaPath { get; set; } + // IterationPath + protected bool Has_IterationPath { get; set; } + protected string IterationPath { get; set; } + // StartDate + protected bool Has_StartDate { get; set; } + protected System.DateTime StartDate { get; set; } + // EndDate + protected bool Has_EndDate { get; set; } + protected System.DateTime EndDate { get; set; } + // Owner + protected bool Has_Owner { get; set; } + protected object Owner { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan); + protected override void CacheParameters() + { + // TestPlan + Has_TestPlan = Parameters.HasParameter("TestPlan"); + TestPlan = Parameters.Get("TestPlan"); + // AreaPath + Has_AreaPath = Parameters.HasParameter("AreaPath"); + AreaPath = Parameters.Get("AreaPath"); + // IterationPath + Has_IterationPath = Parameters.HasParameter("IterationPath"); + IterationPath = Parameters.Get("IterationPath"); + // StartDate + Has_StartDate = Parameters.HasParameter("StartDate"); + StartDate = Parameters.Get("StartDate"); + // EndDate + Has_EndDate = Parameters.HasParameter("EndDate"); + EndDate = Parameters.Get("EndDate"); + // Owner + Has_Owner = Parameters.HasParameter("Owner"); + Owner = Parameters.Get("Owner"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewTestPlanController(INodeUtil nodeUtil, TfsCmdlets.HttpClients.ITestPlanHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + NodeUtil = nodeUtil; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs new file mode 100644 index 000000000..5d51e711c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs @@ -0,0 +1,71 @@ +//HintName: TfsCmdlets.Controllers.Identity.User.NewUserController.g.cs +using Microsoft.VisualStudio.Services.Licensing; +using TfsCmdlets.Cmdlets.Identity; +using Microsoft.VisualStudio.Services.Licensing.Client; +using Newtonsoft.Json; +using TfsCmdlets.Util; +namespace TfsCmdlets.Controllers.Identity.User +{ + internal partial class NewUserController: ControllerBase + { + // User + protected bool Has_User { get; set; } + protected string User { get; set; } + // DisplayName + protected bool Has_DisplayName { get; set; } + protected string DisplayName { get; set; } + // License + protected bool Has_License { get; set; } + protected TfsCmdlets.AccountLicenseType License { get; set; } + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // DefaultGroup + protected bool Has_DefaultGroup { get; set; } + protected TfsCmdlets.GroupEntitlementType DefaultGroup { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Licensing.AccountEntitlement); + protected override void CacheParameters() + { + // User + Has_User = Parameters.HasParameter("User"); + User = Parameters.Get("User"); + // DisplayName + Has_DisplayName = Parameters.HasParameter("DisplayName"); + DisplayName = Parameters.Get("DisplayName"); + // License + Has_License = Parameters.HasParameter("License"); + License = Parameters.Get("License", AccountLicenseType.Stakeholder); + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // DefaultGroup + Has_DefaultGroup = Parameters.HasParameter("DefaultGroup"); + DefaultGroup = Parameters.Get("DefaultGroup", GroupEntitlementType.Contributor); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewUserController(IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApi = restApi; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs new file mode 100644 index 000000000..ebdf33387 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs @@ -0,0 +1,73 @@ +//HintName: TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Wiki.WebApi; +using Microsoft.TeamFoundation.SourceControl.WebApi; +namespace TfsCmdlets.Cmdlets.Wiki +{ + internal partial class NewWikiController: ControllerBase + { + private TfsCmdlets.HttpClients.IWikiHttpClient Client { get; } + // Wiki + protected bool Has_Wiki { get; set; } + protected string Wiki { get; set; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Branch + protected bool Has_Branch { get; set; } + protected string Branch { get; set; } + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // ProjectWiki + protected bool Has_ProjectWiki { get; set; } + protected bool ProjectWiki { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Wiki.WebApi.WikiV2); + protected override void CacheParameters() + { + // Wiki + Has_Wiki = Parameters.HasParameter("Wiki"); + Wiki = Parameters.Get("Wiki"); + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // Branch + Has_Branch = Parameters.HasParameter("Branch"); + Branch = Parameters.Get("Branch"); + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path", "/"); + // ProjectWiki + Has_ProjectWiki = Parameters.HasParameter("ProjectWiki"); + ProjectWiki = Parameters.Get("ProjectWiki"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewWikiController(TfsCmdlets.HttpClients.IWikiHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs new file mode 100644 index 000000000..cbed896af --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class RemoveAreaController: RemoveClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected object Node { get; set; } + // MoveTo + protected bool Has_MoveTo { get; set; } + protected object MoveTo { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Node switch { + TfsCmdlets.Models.ClassificationNode item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node"); + // MoveTo + Has_MoveTo = Parameters.HasParameter("MoveTo"); + MoveTo = Parameters.Get("MoveTo", "\\"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveAreaController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IWorkItemTrackingHttpClient client) + : base(powerShell, data, parameters, logger, client) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs new file mode 100644 index 000000000..230cefad0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.cs +using System.Management.Automation; +using WebApiFolder = Microsoft.TeamFoundation.Build.WebApi.Folder; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Folder +{ + internal partial class RemoveBuildDefinitionFolderController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Folder + protected bool Has_Folder { get; set; } + protected object Folder { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Folder switch { + Microsoft.TeamFoundation.Build.WebApi.Folder item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.Folder); + protected override void CacheParameters() + { + // Folder + Has_Folder = Parameters.HasParameter("Folder"); + Folder = Parameters.Get("Folder"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveBuildDefinitionFolderController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs new file mode 100644 index 000000000..3ec8de8a9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +namespace TfsCmdlets.Cmdlets.Git.Branch +{ + internal partial class RemoveGitBranchController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + // Branch + protected bool Has_Branch { get; set; } + protected object Branch { get; set; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Branch switch { + Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats); + protected override void CacheParameters() + { + // Branch + Has_Branch = Parameters.HasParameter("Branch"); + Branch = Parameters.Get("Branch"); + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveGitBranchController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs similarity index 92% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs index 489465f87..ae22836ba 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_RemoveGitRepository#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs @@ -1,67 +1,54 @@ //HintName: TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.cs using System.Management.Automation; using Microsoft.TeamFoundation.SourceControl.WebApi; - namespace TfsCmdlets.Cmdlets.Git { internal partial class RemoveGitRepositoryController: ControllerBase { private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } - // Repository protected bool Has_Repository { get; set; } protected object Repository { get; set; } - // Force protected bool Has_Force { get; set; } protected bool Force { get; set; } - // Project protected bool Has_Project => Parameters.HasParameter("Project"); protected WebApiTeamProject Project => Data.GetProject(); - // Collection protected bool Has_Collection => Parameters.HasParameter("Collection"); protected Models.Connection Collection => Data.GetCollection(); - // Server protected bool Has_Server => Parameters.HasParameter("Server"); protected Models.Connection Server => Data.GetServer(); - // ParameterSetName protected bool Has_ParameterSetName { get; set; } protected string ParameterSetName { get; set; } - // Items protected IEnumerable Items => Repository switch { Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository item => new[] { item }, IEnumerable items => items, _ => Data.GetItems() }; - // DataType public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); - protected override void CacheParameters() { // Repository Has_Repository = Parameters.HasParameter("Repository"); Repository = Parameters.Get("Repository"); - // Force Has_Force = Parameters.HasParameter("Force"); Force = Parameters.Get("Force"); - // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); } - [ImportingConstructor] - public RemoveGitRepositoryController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, TfsCmdlets.HttpClients.IGitHttpClient client) + public RemoveGitRepositoryController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) { Client = client; } } -} +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs new file mode 100644 index 000000000..31b5c498e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.cs +using Microsoft.VisualStudio.Services.Graph.Client; +using TfsCmdlets.Cmdlets.Identity.Group; +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + internal partial class RemoveGroupController: ControllerBase + { + private TfsCmdlets.HttpClients.IGraphHttpClient Client { get; } + // Group + protected bool Has_Group { get; set; } + protected object Group { get; set; } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.GroupScope Scope { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Group switch { + Microsoft.VisualStudio.Services.Graph.Client.GraphGroup item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Graph.Client.GraphGroup); + protected override void CacheParameters() + { + // Group + Has_Group = Parameters.HasParameter("Group"); + Group = Parameters.Get("Group", "*"); + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", GroupScope.Collection); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveGroupController(TfsCmdlets.HttpClients.IGraphHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs new file mode 100644 index 000000000..016d0eec0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.cs +using System.Management.Automation; +using TfsCmdlets.Cmdlets.Identity.Group; +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + internal partial class RemoveGroupMemberController: ControllerBase + { + private TfsCmdlets.HttpClients.IIdentityHttpClient Client { get; } + // Member + protected bool Has_Member { get; set; } + protected object Member { get; set; } + // Group + protected bool Has_Group { get; set; } + protected object Group { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Data.Invoke("Get", "GroupMember"); + protected override void CacheParameters() + { + // Member + Has_Member = Parameters.HasParameter("Member"); + Member = Parameters.Get("Member"); + // Group + Has_Group = Parameters.HasParameter("Group"); + Group = Parameters.Get("Group"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveGroupMemberController(TfsCmdlets.HttpClients.IIdentityHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs new file mode 100644 index 000000000..ae516a69b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class RemoveIterationController: RemoveClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected object Node { get; set; } + // MoveTo + protected bool Has_MoveTo { get; set; } + protected object MoveTo { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Node switch { + TfsCmdlets.Models.ClassificationNode item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node"); + // MoveTo + Has_MoveTo = Parameters.HasParameter("MoveTo"); + MoveTo = Parameters.Get("MoveTo", "\\"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveIterationController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IWorkItemTrackingHttpClient client) + : base(powerShell, data, parameters, logger, client) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs new file mode 100644 index 000000000..ea94e8deb --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.cs +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +namespace TfsCmdlets.Cmdlets.Process.Field +{ + internal partial class RemoveProcessFieldDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // Field + protected bool Has_Field { get; set; } + protected object Field { get; set; } + // ReferenceName + protected bool Has_ReferenceName { get; set; } + protected string[] ReferenceName { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Field switch { + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField); + protected override void CacheParameters() + { + // Field + Has_Field = Parameters.HasParameter("Field"); + Field = Parameters.Get("Field", "*"); + // ReferenceName + Has_ReferenceName = Parameters.HasParameter("ReferenceName"); + ReferenceName = Parameters.Get("ReferenceName"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveProcessFieldDefinitionController(TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs new file mode 100644 index 000000000..078000f8f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.cs +using System.Management.Automation; +using WebApiFolder = Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients; +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + internal partial class RemoveReleaseDefinitionFolderController: ControllerBase + { + private TfsCmdlets.HttpClients.IReleaseHttpClient Client { get; } + // Folder + protected bool Has_Folder { get; set; } + protected object Folder { get; set; } + // Recurse + protected bool Has_Recurse { get; set; } + protected bool Recurse { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Folder switch { + Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder); + protected override void CacheParameters() + { + // Folder + Has_Folder = Parameters.HasParameter("Folder"); + Folder = Parameters.Get("Folder"); + // Recurse + Has_Recurse = Parameters.HasParameter("Recurse"); + Recurse = Parameters.Get("Recurse"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveReleaseDefinitionFolderController(TfsCmdlets.HttpClients.IReleaseHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs new file mode 100644 index 000000000..91170c75e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.cs +using System.Management.Automation; +using TfsCmdlets.HttpClients; +namespace TfsCmdlets.Cmdlets.Team.TeamAdmin +{ + internal partial class RemoveTeamAdminController: ControllerBase + { + private TfsCmdlets.HttpClients.ITeamAdminHttpClient Client { get; } + // Admin + protected bool Has_Admin { get; set; } + protected object Admin { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Admin switch { + TfsCmdlets.Models.TeamAdmin item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TeamAdmin); + protected override void CacheParameters() + { + // Admin + Has_Admin = Parameters.HasParameter("Admin"); + Admin = Parameters.Get("Admin"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveTeamAdminController(TfsCmdlets.HttpClients.ITeamAdminHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs new file mode 100644 index 000000000..3c40b137f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.Team +{ + internal partial class RemoveTeamController: ControllerBase + { + private TfsCmdlets.HttpClients.ITeamHttpClient Client { get; } + // Team + protected bool Has_Team { get; set; } + protected object Team { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Team switch { + TfsCmdlets.Models.Team item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Team); + protected override void CacheParameters() + { + // Team + Has_Team = Parameters.HasParameter("Team"); + Team = Parameters.Get("Team"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveTeamController(TfsCmdlets.HttpClients.ITeamHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs new file mode 100644 index 000000000..60768510f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.Team.TeamMember +{ + internal partial class RemoveTeamMemberController: ControllerBase + { + // Member + protected bool Has_Member { get; set; } + protected object Member { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Member switch { + TfsCmdlets.Models.Identity item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Identity); + protected override void CacheParameters() + { + // Member + Has_Member = Parameters.HasParameter("Member"); + Member = Parameters.Get("Member"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveTeamMemberController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs new file mode 100644 index 000000000..eaa808cd2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.cs +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.Cmdlets.TeamProject.Avatar +{ + internal partial class RemoveTeamProjectAvatarController: ControllerBase + { + private TfsCmdlets.HttpClients.IProjectHttpClient Client { get; } + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Data.Invoke("Get", "TeamProjectAvatar"); + protected override void CacheParameters() + { + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveTeamProjectAvatarController(TfsCmdlets.HttpClients.IProjectHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs new file mode 100644 index 000000000..f5f348da7 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.cs +using System.Management.Automation; +using System.Threading; +using Microsoft.TeamFoundation.Core.WebApi; +using Microsoft.VisualStudio.Services.Operations; +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class RemoveTeamProjectController: ControllerBase + { + private TfsCmdlets.HttpClients.IProjectHttpClient Client { get; } + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // Hard + protected bool Has_Hard { get; set; } + protected bool Hard { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Project switch { + Microsoft.TeamFoundation.Core.WebApi.TeamProject item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // Hard + Has_Hard = Parameters.HasParameter("Hard"); + Hard = Parameters.Get("Hard"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveTeamProjectController(IOperationsHttpClient operationsClient, TfsCmdlets.HttpClients.IProjectHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + OperationsClient = operationsClient; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs new file mode 100644 index 000000000..4b4641d0b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi; +namespace TfsCmdlets.Cmdlets.TestManagement +{ + internal partial class RemoveTestPlanController: ControllerBase + { + private TfsCmdlets.HttpClients.ITestPlanHttpClient Client { get; } + // TestPlan + protected bool Has_TestPlan { get; set; } + protected object TestPlan { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => TestPlan switch { + Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan); + protected override void CacheParameters() + { + // TestPlan + Has_TestPlan = Parameters.HasParameter("TestPlan"); + TestPlan = Parameters.Get("TestPlan"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveTestPlanController(TfsCmdlets.HttpClients.ITestPlanHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs new file mode 100644 index 000000000..ee835b947 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.Licensing; +using Microsoft.VisualStudio.Services.Licensing.Client; +using IAccountLicensingHttpClient = TfsCmdlets.HttpClients.IAccountLicensingHttpClient; +namespace TfsCmdlets.Controllers.Identity.User +{ + internal partial class RemoveUserController: ControllerBase + { + private TfsCmdlets.HttpClients.IAccountLicensingHttpClient Client { get; } + // User + protected bool Has_User { get; set; } + protected object User { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => User switch { + Microsoft.VisualStudio.Services.Licensing.AccountEntitlement item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.Licensing.AccountEntitlement); + protected override void CacheParameters() + { + // User + Has_User = Parameters.HasParameter("User"); + User = Parameters.Get("User"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveUserController(TfsCmdlets.HttpClients.IAccountLicensingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs new file mode 100644 index 000000000..5879d5886 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +using Microsoft.TeamFoundation.Wiki.WebApi; +namespace TfsCmdlets.Cmdlets.Wiki +{ + internal partial class RemoveWikiController: ControllerBase + { + private TfsCmdlets.HttpClients.IWikiHttpClient Client { get; } + // Wiki + protected bool Has_Wiki { get; set; } + protected object Wiki { get; set; } + // ProjectWiki + protected bool Has_ProjectWiki { get; set; } + protected bool ProjectWiki { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Wiki switch { + Microsoft.TeamFoundation.Wiki.WebApi.WikiV2 item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Wiki.WebApi.WikiV2); + protected override void CacheParameters() + { + // Wiki + Has_Wiki = Parameters.HasParameter("Wiki"); + Wiki = Parameters.Get("Wiki"); + // ProjectWiki + Has_ProjectWiki = Parameters.HasParameter("ProjectWiki"); + ProjectWiki = Parameters.Get("ProjectWiki"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveWikiController(TfsCmdlets.HttpClients.IWikiHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs new file mode 100644 index 000000000..23b20e706 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +using TfsCmdlets.Cmdlets.WorkItem.Tagging; +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + internal partial class RemoveWorkItemTagController: ControllerBase + { + private TfsCmdlets.HttpClients.ITaggingHttpClient Client { get; } + // Tag + protected bool Has_Tag { get; set; } + protected object Tag { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Tag switch { + Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition); + protected override void CacheParameters() + { + // Tag + Has_Tag = Parameters.HasParameter("Tag"); + Tag = Parameters.Get("Tag"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveWorkItemTagController(TfsCmdlets.HttpClients.ITaggingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs new file mode 100644 index 000000000..c1aefd104 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.SourceControl.WebApi; +namespace TfsCmdlets.Cmdlets.Git +{ + internal partial class RenameGitRepositoryController: ControllerBase + { + private TfsCmdlets.HttpClients.IGitHttpClient Client { get; } + // Repository + protected bool Has_Repository { get; set; } + protected object Repository { get; set; } + // NewName + protected bool Has_NewName { get; set; } + protected string NewName { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Repository switch { + Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository); + protected override void CacheParameters() + { + // Repository + Has_Repository = Parameters.HasParameter("Repository"); + Repository = Parameters.Get("Repository"); + // NewName + Has_NewName = Parameters.HasParameter("NewName"); + NewName = Parameters.Get("NewName"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RenameGitRepositoryController(TfsCmdlets.HttpClients.IGitHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs new file mode 100644 index 000000000..0274c565e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Team.RenameTeamController.g.cs +using Microsoft.TeamFoundation.Core.WebApi; +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.Team +{ + internal partial class RenameTeamController: ControllerBase + { + private TfsCmdlets.HttpClients.ITeamHttpClient Client { get; } + // Team + protected bool Has_Team { get; set; } + protected object Team { get; set; } + // NewName + protected bool Has_NewName { get; set; } + protected string NewName { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Team switch { + TfsCmdlets.Models.Team item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Team); + protected override void CacheParameters() + { + // Team + Has_Team = Parameters.HasParameter("Team"); + Team = Parameters.Get("Team"); + // NewName + Has_NewName = Parameters.HasParameter("NewName"); + NewName = Parameters.Get("NewName"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RenameTeamController(TfsCmdlets.HttpClients.ITeamHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs new file mode 100644 index 000000000..05f8721e3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.cs +using System.Management.Automation; +using System.Threading; +using Microsoft.VisualStudio.Services.Operations; +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class RenameTeamProjectController: ControllerBase + { + private TfsCmdlets.HttpClients.IOperationsHttpClient Client { get; } + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // NewName + protected bool Has_NewName { get; set; } + protected string NewName { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Project switch { + Microsoft.TeamFoundation.Core.WebApi.TeamProject item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // NewName + Has_NewName = Parameters.HasParameter("NewName"); + NewName = Parameters.Get("NewName"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RenameTeamProjectController(IRestApiService restApiService, TfsCmdlets.HttpClients.IOperationsHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApiService = restApiService; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs new file mode 100644 index 000000000..12bb2e88f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + internal partial class ResumeBuildDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Definition + protected bool Has_Definition { get; set; } + protected object Definition { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Definition switch { + Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference); + protected override void CacheParameters() + { + // Definition + Has_Definition = Parameters.HasParameter("Definition"); + Definition = Parameters.Get("Definition"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ResumeBuildDefinitionController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs new file mode 100644 index 000000000..0c70f56cb --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using TfsCmdlets.Models; +using TfsCmdlets.Util; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class SetIterationController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // Node + protected bool Has_Node { get; set; } + protected object Node { get; set; } + // StartDate + protected bool Has_StartDate { get; set; } + protected System.DateTime? StartDate { get; set; } + // FinishDate + protected bool Has_FinishDate { get; set; } + protected System.DateTime? FinishDate { get; set; } + // Length + protected bool Has_Length { get; set; } + protected int Length { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Node switch { + TfsCmdlets.Models.ClassificationNode item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ClassificationNode); + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node"); + // StartDate + Has_StartDate = Parameters.HasParameter("StartDate"); + StartDate = Parameters.Get("StartDate"); + // FinishDate + Has_FinishDate = Parameters.HasParameter("FinishDate"); + FinishDate = Parameters.Get("FinishDate"); + // Length + Has_Length = Parameters.HasParameter("Length"); + Length = Parameters.Get("Length", 0); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SetIterationController(TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs new file mode 100644 index 000000000..5ea11264a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.Admin.Registry +{ + internal partial class SetRegistryValueController: ControllerBase + { + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // Value + protected bool Has_Value { get; set; } + protected string Value { get; set; } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.RegistryScope Scope { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path"); + // Value + Has_Value = Parameters.HasParameter("Value"); + Value = Parameters.Get("Value"); + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", RegistryScope.Server); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SetRegistryValueController(IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApi = restApi; + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs new file mode 100644 index 000000000..c93dc19f8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs @@ -0,0 +1,98 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Work.WebApi; +using Microsoft.TeamFoundation.Core.WebApi.Types; +namespace TfsCmdlets.Cmdlets.Team.Board +{ + internal partial class SetTeamBoardCardRuleController: ControllerBase + { + // WebApiBoard + protected bool Has_WebApiBoard { get; set; } + protected object WebApiBoard { get; set; } + // Rules + protected bool Has_Rules { get; set; } + protected Microsoft.TeamFoundation.Work.WebApi.BoardCardRuleSettings Rules { get; set; } + // CardStyleRuleName + protected bool Has_CardStyleRuleName { get; set; } + protected string CardStyleRuleName { get; set; } + // CardStyleRuleFilter + protected bool Has_CardStyleRuleFilter { get; set; } + protected string CardStyleRuleFilter { get; set; } + // CardStyleRuleSettings + protected bool Has_CardStyleRuleSettings { get; set; } + protected System.Collections.Hashtable CardStyleRuleSettings { get; set; } + // TagStyleRuleName + protected bool Has_TagStyleRuleName { get; set; } + protected string TagStyleRuleName { get; set; } + // TagStyleRuleFilter + protected bool Has_TagStyleRuleFilter { get; set; } + protected string TagStyleRuleFilter { get; set; } + // TagStyleRuleSettings + protected bool Has_TagStyleRuleSettings { get; set; } + protected System.Collections.Hashtable TagStyleRuleSettings { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => WebApiBoard switch { + TfsCmdlets.Models.CardRule item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.CardRule); + protected override void CacheParameters() + { + // WebApiBoard + Has_WebApiBoard = Parameters.HasParameter("WebApiBoard"); + WebApiBoard = Parameters.Get("WebApiBoard"); + // Rules + Has_Rules = Parameters.HasParameter("Rules"); + Rules = Parameters.Get("Rules"); + // CardStyleRuleName + Has_CardStyleRuleName = Parameters.HasParameter("CardStyleRuleName"); + CardStyleRuleName = Parameters.Get("CardStyleRuleName"); + // CardStyleRuleFilter + Has_CardStyleRuleFilter = Parameters.HasParameter("CardStyleRuleFilter"); + CardStyleRuleFilter = Parameters.Get("CardStyleRuleFilter"); + // CardStyleRuleSettings + Has_CardStyleRuleSettings = Parameters.HasParameter("CardStyleRuleSettings"); + CardStyleRuleSettings = Parameters.Get("CardStyleRuleSettings"); + // TagStyleRuleName + Has_TagStyleRuleName = Parameters.HasParameter("TagStyleRuleName"); + TagStyleRuleName = Parameters.Get("TagStyleRuleName"); + // TagStyleRuleFilter + Has_TagStyleRuleFilter = Parameters.HasParameter("TagStyleRuleFilter"); + TagStyleRuleFilter = Parameters.Get("TagStyleRuleFilter"); + // TagStyleRuleSettings + Has_TagStyleRuleSettings = Parameters.HasParameter("TagStyleRuleSettings"); + TagStyleRuleSettings = Parameters.Get("TagStyleRuleSettings"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SetTeamBoardCardRuleController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs new file mode 100644 index 000000000..faef58972 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs @@ -0,0 +1,139 @@ +//HintName: TfsCmdlets.Cmdlets.Team.SetTeamController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +using Microsoft.TeamFoundation.Work.WebApi; +using Microsoft.TeamFoundation.Core.WebApi.Types; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.Team +{ + internal partial class SetTeamController: ControllerBase + { + private TfsCmdlets.HttpClients.ITeamHttpClient Client { get; } + // Team + protected bool Has_Team { get; set; } + protected object Team { get; set; } + // Default + protected bool Has_Default { get; set; } + protected bool Default { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // DefaultAreaPath + protected bool Has_DefaultAreaPath { get; set; } + protected string DefaultAreaPath { get; set; } + // AreaPaths + protected bool Has_AreaPaths { get; set; } + protected string[] AreaPaths { get; set; } + // OverwriteAreaPaths + protected bool Has_OverwriteAreaPaths { get; set; } + protected bool OverwriteAreaPaths { get; set; } + // BacklogIteration + protected bool Has_BacklogIteration { get; set; } + protected string BacklogIteration { get; set; } + // DefaultIterationMacro + protected bool Has_DefaultIterationMacro { get; set; } + protected string DefaultIterationMacro { get; set; } + // IterationPaths + protected bool Has_IterationPaths { get; set; } + protected string[] IterationPaths { get; set; } + // OverwriteIterationPaths + protected bool Has_OverwriteIterationPaths { get; set; } + protected bool OverwriteIterationPaths { get; set; } + // WorkingDays + protected bool Has_WorkingDays { get; set; } + protected System.DayOfWeek[] WorkingDays { get; set; } + // BugsBehavior + protected bool Has_BugsBehavior { get; set; } + protected Microsoft.TeamFoundation.Work.WebApi.BugsBehavior BugsBehavior { get; set; } + // BacklogVisibilities + protected bool Has_BacklogVisibilities { get; set; } + protected System.Collections.Hashtable BacklogVisibilities { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Team switch { + TfsCmdlets.Models.Team item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.Team); + protected override void CacheParameters() + { + // Team + Has_Team = Parameters.HasParameter("Team"); + Team = Parameters.Get("Team"); + // Default + Has_Default = Parameters.HasParameter("Default"); + Default = Parameters.Get("Default"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // DefaultAreaPath + Has_DefaultAreaPath = Parameters.HasParameter("DefaultAreaPath"); + DefaultAreaPath = Parameters.Get("DefaultAreaPath"); + // AreaPaths + Has_AreaPaths = Parameters.HasParameter("AreaPaths"); + AreaPaths = Parameters.Get("AreaPaths"); + // OverwriteAreaPaths + Has_OverwriteAreaPaths = Parameters.HasParameter("OverwriteAreaPaths"); + OverwriteAreaPaths = Parameters.Get("OverwriteAreaPaths"); + // BacklogIteration + Has_BacklogIteration = Parameters.HasParameter("BacklogIteration"); + BacklogIteration = Parameters.Get("BacklogIteration", "\\"); + // DefaultIterationMacro + Has_DefaultIterationMacro = Parameters.HasParameter("DefaultIterationMacro"); + DefaultIterationMacro = Parameters.Get("DefaultIterationMacro"); + // IterationPaths + Has_IterationPaths = Parameters.HasParameter("IterationPaths"); + IterationPaths = Parameters.Get("IterationPaths"); + // OverwriteIterationPaths + Has_OverwriteIterationPaths = Parameters.HasParameter("OverwriteIterationPaths"); + OverwriteIterationPaths = Parameters.Get("OverwriteIterationPaths"); + // WorkingDays + Has_WorkingDays = Parameters.HasParameter("WorkingDays"); + WorkingDays = Parameters.Get("WorkingDays"); + // BugsBehavior + Has_BugsBehavior = Parameters.HasParameter("BugsBehavior"); + BugsBehavior = Parameters.Get("BugsBehavior"); + // BacklogVisibilities + Has_BacklogVisibilities = Parameters.HasParameter("BacklogVisibilities"); + BacklogVisibilities = Parameters.Get("BacklogVisibilities"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SetTeamController(IRestApiService restApiService, INodeUtil nodeUtil, IWorkHttpClient workClient, TfsCmdlets.HttpClients.ITeamHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApiService = restApiService; + NodeUtil = nodeUtil; + WorkClient = workClient; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs new file mode 100644 index 000000000..13df89f3d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi; +using Microsoft.VisualStudio.Services.Operations; +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class SetTeamProjectController: ControllerBase + { + private TfsCmdlets.HttpClients.IProjectHttpClient Client { get; } + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // AvatarImage + protected bool Has_AvatarImage { get; set; } + protected string AvatarImage { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Project switch { + Microsoft.TeamFoundation.Core.WebApi.TeamProject item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // AvatarImage + Has_AvatarImage = Parameters.HasParameter("AvatarImage"); + AvatarImage = Parameters.Get("AvatarImage"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SetTeamProjectController(IAsyncOperationAwaiter asyncAwaiter, TfsCmdlets.HttpClients.IProjectHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + AsyncAwaiter = asyncAwaiter; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs new file mode 100644 index 000000000..0b7c3c51c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.cs +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build +{ + internal partial class StartBuildController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Definition + protected bool Has_Definition { get; set; } + protected object Definition { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Definition switch { + Microsoft.TeamFoundation.Build.WebApi.Build item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.Build); + protected override void CacheParameters() + { + // Definition + Has_Definition = Parameters.HasParameter("Definition"); + Definition = Parameters.Get("Definition"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public StartBuildController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs new file mode 100644 index 000000000..18283fd28 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + internal partial class SuspendBuildDefinitionController: ControllerBase + { + private TfsCmdlets.HttpClients.IBuildHttpClient Client { get; } + // Definition + protected bool Has_Definition { get; set; } + protected object Definition { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Definition switch { + Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference); + protected override void CacheParameters() + { + // Definition + Has_Definition = Parameters.HasParameter("Definition"); + Definition = Parameters.Get("Definition"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SuspendBuildDefinitionController(TfsCmdlets.HttpClients.IBuildHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs new file mode 100644 index 000000000..20ee4b75b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.cs +using System.Management.Automation; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + internal partial class TestAreaController: TestClassificationNodeController + { + // Node + protected bool Has_Node { get; set; } + protected string Node { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Node + Has_Node = Parameters.HasParameter("Node"); + Node = Parameters.Get("Node"); + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public TestAreaController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs new file mode 100644 index 000000000..ea7a6fee3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.cs +using System.Management.Automation; +namespace TfsCmdlets.Cmdlets.TeamProject +{ + internal partial class UndoTeamProjectRemovalController: ControllerBase + { + // Project + protected bool Has_Project { get; set; } + protected object Project { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Project switch { + Microsoft.TeamFoundation.Core.WebApi.TeamProject item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject); + protected override void CacheParameters() + { + // Project + Has_Project = Parameters.HasParameter("Project"); + Project = Parameters.Get("Project"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public UndoTeamProjectRemovalController(IRestApiService restApiService, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApiService = restApiService; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs new file mode 100644 index 000000000..a4bb34b7d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + internal partial class UninstallExtensionController: ControllerBase + { + private TfsCmdlets.HttpClients.IExtensionManagementHttpClient Client { get; } + // Extension + protected bool Has_Extension { get; set; } + protected object Extension { get; set; } + // Publisher + protected bool Has_Publisher { get; set; } + protected string Publisher { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Extension switch { + Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension); + protected override void CacheParameters() + { + // Extension + Has_Extension = Parameters.HasParameter("Extension"); + Extension = Parameters.Get("Extension"); + // Publisher + Has_Publisher = Parameters.HasParameter("Publisher"); + Publisher = Parameters.Get("Publisher"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public UninstallExtensionController(TfsCmdlets.HttpClients.IExtensionManagementHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs new file mode 100644 index 000000000..df7187b1d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.cs +using System.Management.Automation; +using System.Management.Automation.Runspaces; +using System.Xml.Linq; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.Admin +{ + internal partial class GetConfigurationServerConnectionStringController: ControllerBase + { + // ComputerName + protected bool Has_ComputerName { get; set; } + protected string ComputerName { get; set; } + // Session + protected bool Has_Session { get; set; } + protected System.Management.Automation.Runspaces.PSSession Session { get; set; } + // Version + protected bool Has_Version { get; set; } + protected int Version { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected System.Management.Automation.PSCredential Credential { get; set; } + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // ComputerName + Has_ComputerName = Parameters.HasParameter("ComputerName"); + ComputerName = Parameters.Get("ComputerName", "localhost"); + // Session + Has_Session = Parameters.HasParameter("Session"); + Session = Parameters.Get("Session"); + // Version + Has_Version = Parameters.HasParameter("Version"); + Version = Parameters.Get("Version"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential", PSCredential.Empty); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetConfigurationConnectionStringController(IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs new file mode 100644 index 000000000..e3039fd37 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.cs +using System.Management.Automation; +using System.Management.Automation.Runspaces; +using TfsCmdlets.Models; + +namespace TfsCmdlets.Cmdlets.Admin +{ + internal partial class GetInstallationPathController: ControllerBase + { + // ComputerName + protected bool Has_ComputerName => Parameters.HasParameter(nameof(ComputerName)); + protected IEnumerable ComputerName + { + get + { + var paramValue = Parameters.Get(nameof(ComputerName), "localhost"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + + // Session + protected bool Has_Session { get; set; } + protected System.Management.Automation.Runspaces.PSSession Session { get; set; } + // Component + protected bool Has_Component { get; set; } + protected TfsCmdlets.TfsComponent Component { get; set; } + // Version + protected bool Has_Version { get; set; } + protected int Version { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected System.Management.Automation.PSCredential Credential { get; set; } + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.TfsInstallationPath); + protected override void CacheParameters() + { + // Session + Has_Session = Parameters.HasParameter("Session"); + Session = Parameters.Get("Session"); + // Component + Has_Component = Parameters.HasParameter("Component"); + Component = Parameters.Get("Component", TfsComponent.BaseInstallation); + // Version + Has_Version = Parameters.HasParameter("Version"); + Version = Parameters.Get("Version"); + // Credential + Has_Credential = Parameters.HasParameter("Credential"); + Credential = Parameters.Get("Credential", PSCredential.Empty); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetInstallationPathController(IRegistryService registry, ITfsVersionTable tfsVersionTable, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Registry = registry; + TfsVersionTable = tfsVersionTable; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs new file mode 100644 index 000000000..2dd063ec1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.cs +using System.Management.Automation; +using System.Xml.Linq; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.Admin.Registry +{ + internal partial class GetRegistryValueController: ControllerBase + { + // Path + protected bool Has_Path => Parameters.HasParameter(nameof(Path)); + protected IEnumerable Path + { + get + { + var paramValue = Parameters.Get(nameof(Path)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.RegistryScope Scope { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", RegistryScope.Server); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetRegistryValueController(IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApi = restApi; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs new file mode 100644 index 000000000..30ff23fbc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.GetVersionController.g.cs +using System.Text.RegularExpressions; +using TfsCmdlets.Models; +namespace TfsCmdlets.Cmdlets.Admin +{ + internal partial class GetVersionController: ControllerBase + { + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(TfsCmdlets.Models.ServerVersion); + protected override void CacheParameters() + { + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetVersionController(ITfsVersionTable tfsVersionTable, IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + TfsVersionTable = tfsVersionTable; + RestApi = restApi; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs new file mode 100644 index 000000000..d92e747df --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.Admin.Registry +{ + internal partial class SetRegistryValueController: ControllerBase + { + // Path + protected bool Has_Path { get; set; } + protected string Path { get; set; } + // Value + protected bool Has_Value { get; set; } + protected string Value { get; set; } + // Scope + protected bool Has_Scope { get; set; } + protected TfsCmdlets.RegistryScope Scope { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + protected override void CacheParameters() + { + // Path + Has_Path = Parameters.HasParameter("Path"); + Path = Parameters.Get("Path"); + // Value + Has_Value = Parameters.HasParameter("Value"); + Value = Parameters.Get("Value"); + // Scope + Has_Scope = Parameters.HasParameter("Scope"); + Scope = Parameters.Get("Scope", RegistryScope.Server); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SetRegistryValueController(IRestApiService restApi, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + RestApi = restApi; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs new file mode 100644 index 000000000..4e20f4b64 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs @@ -0,0 +1,103 @@ +//HintName: TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.cs +using System.Composition; +using Microsoft.VisualStudio.Services.Licensing.Client; +namespace TfsCmdlets.HttpClients +{ + public partial interface IAccountLicensingHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task> ComputeExtensionRightsAsync(System.Collections.Generic.IEnumerable extensionIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetExtensionRightsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountLicensesUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(int top, int skip = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchMemberAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, bool createIfNotExists, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AssignEntitlementAsync(System.Guid userId, Microsoft.VisualStudio.Services.Licensing.License license, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AssignAvailableEntitlementAsync(System.Guid userId, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IAccountLicensingHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IAccountLicensingHttpClientImpl: IAccountLicensingHttpClient + { + private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IAccountLicensingHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient)) as Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task> ComputeExtensionRightsAsync(System.Collections.Generic.IEnumerable extensionIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ComputeExtensionRightsAsync(extensionIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetExtensionRightsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetExtensionRightsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountLicensesUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountLicensesUsageAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(int top, int skip = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchAccountEntitlementsAsync(continuation, filter, orderBy, userState, cancellationToken); + public System.Threading.Tasks.Task SearchMemberAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchMemberAccountEntitlementsAsync(continuation, filter, orderBy, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(userIds, userState, cancellationToken); + public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ObtainAvailableAccountEntitlementsAsync(userIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, determineRights, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, bool createIfNotExists, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, determineRights, createIfNotExists, userState, cancellationToken); + public System.Threading.Tasks.Task AssignEntitlementAsync(System.Guid userId, Microsoft.VisualStudio.Services.Licensing.License license, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AssignEntitlementAsync(userId, license, dontNotifyUser, origin, userState, cancellationToken); + public System.Threading.Tasks.Task AssignAvailableEntitlementAsync(System.Guid userId, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AssignAvailableEntitlementAsync(userId, dontNotifyUser, origin, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteEntitlementAsync(userId, userState, cancellationToken); + public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.TransferIdentityRightsAsync(userIdTransferMap, validateOnly, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs new file mode 100644 index 000000000..f61eb7f87 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs @@ -0,0 +1,85 @@ +//HintName: TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.cs +using System.Composition; +namespace TfsCmdlets.HttpClients +{ + public partial interface IAccountLicensingHttpClient: IVssHttpClient + { + public System.Threading.Tasks.Task> ComputeExtensionRightsAsync(System.Collections.Generic.IEnumerable extensionIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetExtensionRightsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountLicensesUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(int top, int skip = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, bool createIfNotExists, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AssignEntitlementAsync(System.Guid userId, Microsoft.VisualStudio.Services.Licensing.License license, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AssignAvailableEntitlementAsync(System.Guid userId, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); + public void Dispose(); + } + [Export(typeof(IAccountLicensingHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IAccountLicensingHttpClientImpl: IAccountLicensingHttpClient + { + private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IAccountLicensingHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient)) as Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task> ComputeExtensionRightsAsync(System.Collections.Generic.IEnumerable extensionIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ComputeExtensionRightsAsync(extensionIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetExtensionRightsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetExtensionRightsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountLicensesUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountLicensesUsageAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(int top, int skip = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchAccountEntitlementsAsync(continuation, filter, orderBy, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementsAsync(userIds, userState, cancellationToken); + public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ObtainAvailableAccountEntitlementsAsync(userIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, determineRights, userState, cancellationToken); + public System.Threading.Tasks.Task GetAccountEntitlementAsync(System.Guid userId, bool determineRights, bool createIfNotExists, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountEntitlementAsync(userId, determineRights, createIfNotExists, userState, cancellationToken); + public System.Threading.Tasks.Task AssignEntitlementAsync(System.Guid userId, Microsoft.VisualStudio.Services.Licensing.License license, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AssignEntitlementAsync(userId, license, dontNotifyUser, origin, userState, cancellationToken); + public System.Threading.Tasks.Task AssignAvailableEntitlementAsync(System.Guid userId, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AssignAvailableEntitlementAsync(userId, dontNotifyUser, origin, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteEntitlementAsync(userId, userState, cancellationToken); + public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.TransferIdentityRightsAsync(userIdTransferMap, validateOnly, userState, cancellationToken); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_HttpClient#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_Create_HttpClient#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs new file mode 100644 index 000000000..c667d1a57 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs @@ -0,0 +1,193 @@ +//HintName: TfsCmdlets.HttpClients.IIdentityHttpClient.g.cs +using System.Composition; +using Microsoft.VisualStudio.Services.Identity.Client; +namespace TfsCmdlets.HttpClients +{ + public partial interface IIdentityHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task ReadIdentitiesAsync(Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList descriptors, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList descriptors, Microsoft.VisualStudio.Services.Identity.RequestHeadersContext requestHeadersContext, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList socialDescriptors, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList subjectDescriptors, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList identityIds, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(Microsoft.VisualStudio.Services.Identity.IdentitySearchFilter searchFilter, string filterValue, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(Microsoft.VisualStudio.Services.Identity.IdentitySearchFilter searchFilter, string filterValue, Microsoft.VisualStudio.Services.Identity.ReadIdentitiesOptions options, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Guid scopeId, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentityAsync(string identityPuid, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadIdentityAsync(System.Guid identityId, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateIdentitiesAsync(System.Collections.Generic.IList identities, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateIdentitiesAsync(System.Collections.Generic.IList identities, bool allowMetaDataUpdate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateIdentityAsync(Microsoft.VisualStudio.Services.Identity.Identity identity, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SwapIdentityAsync(System.Guid id1, System.Guid id2, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIdentityChangesAsync(int identitySequenceId, int groupSequenceId, System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIdentityChangesAsync(int identitySequenceId, int groupSequenceId, int organizationIdentitySequenceId, System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIdentityChangesAsync(int identitySequenceId, int groupSequenceId, int organizationIdentitySequenceId, int pageSize, System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetUserIdentityIdsByDomainIdAsync(System.Guid domainId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIdentitySelfAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTenant(string tenantId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFrameworkIdentityAsync(Microsoft.VisualStudio.Services.Identity.FrameworkIdentityType identityType, string role, string identifier, string displayName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListGroupsAsync(System.Guid[] scopeIds = null, bool recurse = false, bool deleted = false, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor descriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteGroupAsync(System.Guid groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateGroupsAsync(System.Guid scopeId, System.Collections.Generic.IList groups, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetScopeAsync(string scopeName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetScopeAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateScopeAsync(System.Guid scopeId, System.Guid parentScopeId, Microsoft.VisualStudio.Services.Identity.GroupScopeType scopeType, string scopeName, string adminGroupName, string adminGroupDescription, System.Guid creatorId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RenameScopeAsync(System.Guid scopeId, string newName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteScopeAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreGroupScopeAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddMemberToGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, System.Guid memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddMemberToGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveMemberFromGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ForceRemoveMemberFromGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task IsMember(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIdentitySnapshotAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetSignoutToken(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetSignedInToken(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMaxSequenceIdAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrBindIdentity(Microsoft.VisualStudio.Services.Identity.Identity sourceIdentity, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDescriptorByIdAsync(System.Guid id, bool? isMasterId = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task TransferIdentityRightsBatchAsync(Microsoft.VisualStudio.Services.Identity.IdentityRightsTransferData identityRightsTransferData, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task TransferIdentityRightsSingleAsync(System.Guid sourceId, System.Guid targetMasterId, System.Guid sourceMasterId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListUsersAsync(string scopeDescriptor = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddMemberToGroupAsyncInternal(object routeParams, System.Collections.Generic.IEnumerable> query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IIdentityHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IIdentityHttpClientImpl: IIdentityHttpClient + { + private Microsoft.VisualStudio.Services.Identity.Client.IdentityHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IIdentityHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.Identity.Client.IdentityHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Identity.Client.IdentityHttpClient)) as Microsoft.VisualStudio.Services.Identity.Client.IdentityHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task ReadIdentitiesAsync(Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(queryMembership, propertyNameFilters, includeRestrictedVisibility, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList descriptors, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(descriptors, queryMembership, propertyNameFilters, includeRestrictedVisibility, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList descriptors, Microsoft.VisualStudio.Services.Identity.RequestHeadersContext requestHeadersContext, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(descriptors, requestHeadersContext, queryMembership, propertyNameFilters, includeRestrictedVisibility, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList socialDescriptors, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(socialDescriptors, queryMembership, propertyNameFilters, includeRestrictedVisibility, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList subjectDescriptors, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(subjectDescriptors, queryMembership, propertyNameFilters, includeRestrictedVisibility, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Collections.Generic.IList identityIds, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, bool includeRestrictedVisibility = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(identityIds, queryMembership, propertyNameFilters, includeRestrictedVisibility, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(Microsoft.VisualStudio.Services.Identity.IdentitySearchFilter searchFilter, string filterValue, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(searchFilter, filterValue, queryMembership, propertyNameFilters, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(Microsoft.VisualStudio.Services.Identity.IdentitySearchFilter searchFilter, string filterValue, Microsoft.VisualStudio.Services.Identity.ReadIdentitiesOptions options, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(searchFilter, filterValue, options, queryMembership, propertyNameFilters, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentitiesAsync(System.Guid scopeId, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentitiesAsync(scopeId, queryMembership, propertyNameFilters, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentityAsync(string identityPuid, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentityAsync(identityPuid, queryMembership, propertyNameFilters, userState, cancellationToken); + public System.Threading.Tasks.Task ReadIdentityAsync(System.Guid identityId, Microsoft.VisualStudio.Services.Identity.QueryMembership queryMembership = 0, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadIdentityAsync(identityId, queryMembership, propertyNameFilters, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateIdentitiesAsync(System.Collections.Generic.IList identities, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateIdentitiesAsync(identities, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateIdentitiesAsync(System.Collections.Generic.IList identities, bool allowMetaDataUpdate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateIdentitiesAsync(identities, allowMetaDataUpdate, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateIdentityAsync(Microsoft.VisualStudio.Services.Identity.Identity identity, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateIdentityAsync(identity, userState, cancellationToken); + public System.Threading.Tasks.Task SwapIdentityAsync(System.Guid id1, System.Guid id2, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SwapIdentityAsync(id1, id2, userState, cancellationToken); + public System.Threading.Tasks.Task GetIdentityChangesAsync(int identitySequenceId, int groupSequenceId, System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIdentityChangesAsync(identitySequenceId, groupSequenceId, scopeId, userState, cancellationToken); + public System.Threading.Tasks.Task GetIdentityChangesAsync(int identitySequenceId, int groupSequenceId, int organizationIdentitySequenceId, System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIdentityChangesAsync(identitySequenceId, groupSequenceId, organizationIdentitySequenceId, scopeId, userState, cancellationToken); + public System.Threading.Tasks.Task GetIdentityChangesAsync(int identitySequenceId, int groupSequenceId, int organizationIdentitySequenceId, int pageSize, System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIdentityChangesAsync(identitySequenceId, groupSequenceId, organizationIdentitySequenceId, pageSize, scopeId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetUserIdentityIdsByDomainIdAsync(System.Guid domainId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUserIdentityIdsByDomainIdAsync(domainId, userState, cancellationToken); + public System.Threading.Tasks.Task GetIdentitySelfAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIdentitySelfAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetTenant(string tenantId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTenant(tenantId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFrameworkIdentityAsync(Microsoft.VisualStudio.Services.Identity.FrameworkIdentityType identityType, string role, string identifier, string displayName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFrameworkIdentityAsync(identityType, role, identifier, displayName, userState, cancellationToken); + public System.Threading.Tasks.Task ListGroupsAsync(System.Guid[] scopeIds = null, bool recurse = false, bool deleted = false, System.Collections.Generic.IEnumerable propertyNameFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListGroupsAsync(scopeIds, recurse, deleted, propertyNameFilters, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor descriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteGroupAsync(descriptor, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteGroupAsync(System.Guid groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteGroupAsync(groupId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateGroupsAsync(System.Guid scopeId, System.Collections.Generic.IList groups, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateGroupsAsync(scopeId, groups, userState, cancellationToken); + public System.Threading.Tasks.Task GetScopeAsync(string scopeName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetScopeAsync(scopeName, userState, cancellationToken); + public System.Threading.Tasks.Task GetScopeAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetScopeAsync(scopeId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateScopeAsync(System.Guid scopeId, System.Guid parentScopeId, Microsoft.VisualStudio.Services.Identity.GroupScopeType scopeType, string scopeName, string adminGroupName, string adminGroupDescription, System.Guid creatorId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateScopeAsync(scopeId, parentScopeId, scopeType, scopeName, adminGroupName, adminGroupDescription, creatorId, userState, cancellationToken); + public System.Threading.Tasks.Task RenameScopeAsync(System.Guid scopeId, string newName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RenameScopeAsync(scopeId, newName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteScopeAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteScopeAsync(scopeId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreGroupScopeAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreGroupScopeAsync(scopeId, userState, cancellationToken); + public System.Threading.Tasks.Task AddMemberToGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, System.Guid memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddMemberToGroupAsync(containerId, memberId, userState, cancellationToken); + public System.Threading.Tasks.Task AddMemberToGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddMemberToGroupAsync(containerId, memberId, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveMemberFromGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveMemberFromGroupAsync(containerId, memberId, userState, cancellationToken); + public System.Threading.Tasks.Task ForceRemoveMemberFromGroupAsync(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ForceRemoveMemberFromGroupAsync(containerId, memberId, userState, cancellationToken); + public System.Threading.Tasks.Task IsMember(Microsoft.VisualStudio.Services.Identity.IdentityDescriptor containerId, Microsoft.VisualStudio.Services.Identity.IdentityDescriptor memberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.IsMember(containerId, memberId, userState, cancellationToken); + public System.Threading.Tasks.Task GetIdentitySnapshotAsync(System.Guid scopeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIdentitySnapshotAsync(scopeId, userState, cancellationToken); + public System.Threading.Tasks.Task GetSignoutToken(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSignoutToken(userState, cancellationToken); + public System.Threading.Tasks.Task GetSignedInToken(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSignedInToken(userState, cancellationToken); + public System.Threading.Tasks.Task GetMaxSequenceIdAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMaxSequenceIdAsync(userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrBindIdentity(Microsoft.VisualStudio.Services.Identity.Identity sourceIdentity, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrBindIdentity(sourceIdentity, userState, cancellationToken); + public System.Threading.Tasks.Task GetDescriptorByIdAsync(System.Guid id, bool? isMasterId = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDescriptorByIdAsync(id, isMasterId, userState, cancellationToken); + public System.Threading.Tasks.Task TransferIdentityRightsBatchAsync(Microsoft.VisualStudio.Services.Identity.IdentityRightsTransferData identityRightsTransferData, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.TransferIdentityRightsBatchAsync(identityRightsTransferData, userState, cancellationToken); + public System.Threading.Tasks.Task TransferIdentityRightsSingleAsync(System.Guid sourceId, System.Guid targetMasterId, System.Guid sourceMasterId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.TransferIdentityRightsSingleAsync(sourceId, targetMasterId, sourceMasterId, userState, cancellationToken); + public System.Threading.Tasks.Task ListUsersAsync(string scopeDescriptor = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListUsersAsync(scopeDescriptor, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task AddMemberToGroupAsyncInternal(object routeParams, System.Collections.Generic.IEnumerable> query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddMemberToGroupAsyncInternal(routeParams, query, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs new file mode 100644 index 000000000..061ecc255 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: TfsCmdlets.HttpClients.IProcessHttpClient.g.cs +using System.Composition; +namespace TfsCmdlets.HttpClients +{ + public partial interface IProcessHttpClient: IVssHttpClient + { + public System.Threading.Tasks.Task GetProcessByIdAsync(System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProcessesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); + public void Dispose(); + } + [Export(typeof(IProcessHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IProcessHttpClientImpl: IProcessHttpClient + { + private Microsoft.TeamFoundation.Core.WebApi.ProcessHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IProcessHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Core.WebApi.ProcessHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Core.WebApi.ProcessHttpClient)) as Microsoft.TeamFoundation.Core.WebApi.ProcessHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task GetProcessByIdAsync(System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessByIdAsync(processId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProcessesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessesAsync(userState, cancellationToken); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs new file mode 100644 index 000000000..ad6ff7891 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs @@ -0,0 +1,583 @@ +//HintName: TfsCmdlets.HttpClients.IReleaseHttpClient.g.cs +using System.Composition; +namespace TfsCmdlets.HttpClients +{ + public partial interface IReleaseHttpClient: IVssHttpClient + { + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetApprovalsAsync(string project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetApprovalsAsync(System.Guid project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(string project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(System.Guid project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalAsync(string project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalAsync(System.Guid project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, string project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, System.Guid project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(System.Guid project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDeploymentBadgeAsync(System.Guid projectId, int releaseDefinitionId, int environmentId, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(string project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(System.Guid project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(string project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFavoritesAsync(string project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFavoritesAsync(System.Guid project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFavoritesAsync(string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFavoritesAsync(System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFlightAssignmentsAsync(string flightName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFolderAsync(string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFolderAsync(System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFoldersAsync(string project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFoldersAsync(System.Guid project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, string project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, System.Guid project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetIssuesAsync(string project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetIssuesAsync(System.Guid project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetGateLogAsync(string project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetGateLogAsync(System.Guid project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogAsync(string project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogAsync(System.Guid project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLog2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLog2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLogAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLogAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetManualInterventionAsync(string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetManualInterventionAsync(System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMetricsAsync(string project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMetricsAsync(System.Guid project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetOrgPipelineReleaseSettingsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateOrgPipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.OrgPipelineReleaseSettingsUpdateParameters newSettings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseProjectsAsync(string artifactType, string artifactSourceId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseAsync(string project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseAsync(System.Guid project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(string project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(System.Guid project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(string project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(System.Guid project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseAsync(string project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseAsync(System.Guid project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasks2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasks2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksAsync(string project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksAsync(System.Guid project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); + public void Dispose(); + } + [Export(typeof(IReleaseHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IReleaseHttpClientImpl: IReleaseHttpClient + { + private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IReleaseHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient)) as Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAgentArtifactDefinitionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAgentArtifactDefinitionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetApprovalsAsync(string project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalsAsync(project, assignedToFilter, statusFilter, releaseIdsFilter, typeFilter, top, continuationToken, queryOrder, includeMyGroupApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task> GetApprovalsAsync(System.Guid project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalsAsync(project, assignedToFilter, statusFilter, releaseIdsFilter, typeFilter, top, continuationToken, queryOrder, includeMyGroupApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(string project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalHistoryAsync(project, approvalStepId, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(System.Guid project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalHistoryAsync(project, approvalStepId, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalAsync(string project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalAsync(project, approvalId, includeHistory, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalAsync(System.Guid project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalAsync(project, approvalId, includeHistory, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, string project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalAsync(approval, project, approvalId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, System.Guid project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalAsync(approval, project, approvalId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalsAsync(approvals, project, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalsAsync(approvals, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentContentAsync(project, releaseId, environmentId, attemptId, planId, timelineId, recordId, type, name, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentContentAsync(project, releaseId, environmentId, attemptId, planId, timelineId, recordId, type, name, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentsAsync(project, releaseId, environmentId, attemptId, planId, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentsAsync(project, releaseId, environmentId, attemptId, planId, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAutoTriggerIssuesAsync(project, artifactType, sourceId, artifactVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(System.Guid project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAutoTriggerIssuesAsync(project, artifactType, sourceId, artifactVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAutoTriggerIssuesAsync(artifactType, sourceId, artifactVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDeploymentBadgeAsync(System.Guid projectId, int releaseDefinitionId, int environmentId, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentBadgeAsync(projectId, releaseDefinitionId, environmentId, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseChangesAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseChangesAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(string project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentsAsync(project, taskGroupId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(System.Guid project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentsAsync(project, taskGroupId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, comment, forceDelete, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, comment, forceDelete, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(string project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionsAsync(project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, searchTextContainsFolderName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionsAsync(project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, searchTextContainsFolderName, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionAsync(releaseDefinitionUndeleteParameter, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionAsync(releaseDefinitionUndeleteParameter, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsAsync(project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsAsync(project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsForMultipleEnvironmentsAsync(queryParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsForMultipleEnvironmentsAsync(queryParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseEnvironmentAsync(environmentUpdateData, project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseEnvironmentAsync(environmentUpdateData, project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDefinitionEnvironmentTemplateAsync(template, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDefinitionEnvironmentTemplateAsync(template, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFavoritesAsync(favoriteItems, project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFavoritesAsync(favoriteItems, project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFavoritesAsync(string project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFavoritesAsync(project, scope, identityId, favoriteItemIds, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFavoritesAsync(System.Guid project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFavoritesAsync(project, scope, identityId, favoriteItemIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFavoritesAsync(string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFavoritesAsync(project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFavoritesAsync(System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFavoritesAsync(project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFlightAssignmentsAsync(string flightName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFlightAssignmentsAsync(flightName, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFolderAsync(folder, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFolderAsync(folder, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFolderAsync(string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFolderAsync(project, path, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFolderAsync(System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFolderAsync(project, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFoldersAsync(string project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFoldersAsync(project, path, queryOrder, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFoldersAsync(System.Guid project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFoldersAsync(project, path, queryOrder, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, string project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGatesAsync(gateUpdateMetadata, project, gateStepId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, System.Guid project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGatesAsync(gateUpdateMetadata, project, gateStepId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseHistoryAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseHistoryAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetInputValuesAsync(query, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetInputValuesAsync(query, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetIssuesAsync(string project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIssuesAsync(project, buildId, sourceId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetIssuesAsync(System.Guid project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIssuesAsync(project, buildId, sourceId, userState, cancellationToken); + public System.Threading.Tasks.Task GetGateLogAsync(string project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGateLogAsync(project, releaseId, environmentId, gateId, taskId, userState, cancellationToken); + public System.Threading.Tasks.Task GetGateLogAsync(System.Guid project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGateLogAsync(project, releaseId, environmentId, gateId, taskId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogAsync(string project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogAsync(project, releaseId, environmentId, taskId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogAsync(System.Guid project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogAsync(project, releaseId, environmentId, taskId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLog2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLog2Async(project, releaseId, environmentId, attemptId, timelineId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLog2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLog2Async(project, releaseId, environmentId, attemptId, timelineId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLogAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLogAsync(project, releaseId, environmentId, releaseDeployPhaseId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLogAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLogAsync(project, releaseId, environmentId, releaseDeployPhaseId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetManualInterventionAsync(string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionAsync(project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetManualInterventionAsync(System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionAsync(project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateManualInterventionAsync(manualInterventionUpdateMetadata, project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateManualInterventionAsync(manualInterventionUpdateMetadata, project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMetricsAsync(string project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMetricsAsync(project, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMetricsAsync(System.Guid project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMetricsAsync(project, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task GetOrgPipelineReleaseSettingsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetOrgPipelineReleaseSettingsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task UpdateOrgPipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.OrgPipelineReleaseSettingsUpdateParameters newSettings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateOrgPipelineReleaseSettingsAsync(newSettings, userState, cancellationToken); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPipelineReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPipelineReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePipelineReleaseSettingsAsync(newSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePipelineReleaseSettingsAsync(newSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseProjectsAsync(string artifactType, string artifactSourceId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseProjectsAsync(artifactType, artifactSourceId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseAsync(releaseStartMetadata, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseAsync(releaseStartMetadata, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseAsync(string project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseAsync(System.Guid project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(string project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionSummaryAsync(project, definitionId, releaseCount, includeArtifact, definitionEnvironmentIdsFilter, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(System.Guid project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionSummaryAsync(project, definitionId, releaseCount, includeArtifact, definitionEnvironmentIdsFilter, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(string project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseRevisionAsync(project, releaseId, definitionSnapshotRevision, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(System.Guid project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseRevisionAsync(project, releaseId, definitionSnapshotRevision, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseAsync(string project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseAsync(System.Guid project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseAsync(release, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseAsync(release, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseResourceAsync(releaseUpdateMetadata, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseResourceAsync(releaseUpdateMetadata, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseSettingsAsync(releaseSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseSettingsAsync(releaseSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionHistoryAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionHistoryAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSummaryMailSectionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSummaryMailSectionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SendSummaryMailAsync(mailMessage, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SendSummaryMailAsync(mailMessage, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSourceBranchesAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSourceBranchesAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagsAsync(tags, project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagsAsync(tags, project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionTagsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionTagsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagsAsync(tags, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagsAsync(tags, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTagsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTagsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksForTaskGroupAsync(project, releaseId, environmentId, releaseDeployPhaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksForTaskGroupAsync(project, releaseId, environmentId, releaseDeployPhaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasks2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasks2Async(project, releaseId, environmentId, attemptId, timelineId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasks2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasks2Async(project, releaseId, environmentId, attemptId, timelineId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksAsync(string project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksAsync(project, releaseId, environmentId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksAsync(System.Guid project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksAsync(project, releaseId, environmentId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactTypeDefinitionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactTypeDefinitionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsForSourcesAsync(artifacts, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsForSourcesAsync(artifacts, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseWorkItemsRefsAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseWorkItemsRefsAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleasesAsync(definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseAsync(project, releaseId, includeAllApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseAsync(project, releaseId, includeAllApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs new file mode 100644 index 000000000..50dc85d00 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: TfsCmdlets.HttpClients.ITeamHttpClient.g.cs +using System.Composition; +namespace TfsCmdlets.HttpClients +{ + public partial interface ITeamHttpClient: IVssHttpClient + { + public System.Threading.Tasks.Task> GetTeamMembersWithExtendedPropertiesAsync(string projectId, string teamId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAllTeamsAsync(bool? mine = default(bool?), int? top = default(int?), int? skip = default(int?), bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam team, string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTeamAsync(string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTeamAsync(string projectId, string teamId, bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTeamsAsync(string projectId, bool? mine = default(bool?), int? top = default(int?), int? skip = default(int?), bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam teamData, string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); + public void Dispose(); + } + [Export(typeof(ITeamHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class ITeamHttpClientImpl: ITeamHttpClient + { + private Microsoft.TeamFoundation.Core.WebApi.TeamHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public ITeamHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Core.WebApi.TeamHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Core.WebApi.TeamHttpClient)) as Microsoft.TeamFoundation.Core.WebApi.TeamHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task> GetTeamMembersWithExtendedPropertiesAsync(string projectId, string teamId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamMembersWithExtendedPropertiesAsync(projectId, teamId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAllTeamsAsync(bool? mine = default(bool?), int? top = default(int?), int? skip = default(int?), bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAllTeamsAsync(mine, top, skip, expandIdentity, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam team, string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTeamAsync(team, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTeamAsync(string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTeamAsync(projectId, teamId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTeamAsync(string projectId, string teamId, bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamAsync(projectId, teamId, expandIdentity, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTeamsAsync(string projectId, bool? mine = default(bool?), int? top = default(int?), int? skip = default(int?), bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamsAsync(projectId, mine, top, skip, expandIdentity, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam teamData, string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTeamAsync(teamData, projectId, teamId, userState, cancellationToken); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs new file mode 100644 index 000000000..42508ad00 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs @@ -0,0 +1,244 @@ +//HintName: TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.cs +using System.Composition; +namespace TfsCmdlets.HttpClients +{ + public partial interface IWorkItemTrackingProcessHttpClient: IVssHttpClient + { + public System.Threading.Tasks.Task CreateProcessBehaviorAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehaviorCreateRequest behavior, System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteProcessBehaviorAsync(System.Guid processId, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetProcessBehaviorAsync(System.Guid processId, string behaviorRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProcessBehaviorsAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateProcessBehaviorAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehaviorUpdateRequest behaviorData, System.Guid processId, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateControlInGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task MoveControlToGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string groupId, string controlId, string removeFromGroupId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveControlFromGroupAsync(System.Guid processId, string witRefName, string groupId, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateControlAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string groupId, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddFieldToWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.AddProcessWorkItemTypeFieldRequest field, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAllWorkItemTypeFieldsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessWorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessWorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemTypeFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessWorkItemTypeFieldRequest field, System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task MoveGroupToPageAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, string removeFromPageId, string removeFromSectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task MoveGroupToSectionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, string removeFromSectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveGroupAsync(System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFormLayoutAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateListAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.PickList picklist, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteListAsync(System.Guid listId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetListAsync(System.Guid listId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetListsMetadataAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateListAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.PickList picklist, System.Guid listId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddPageAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Page page, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemovePageAsync(System.Guid processId, string witRefName, string pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePageAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Page page, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateNewProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.CreateProcessModel createRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteProcessByIdAsync(System.Guid processTypeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task EditProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessModel updateRequest, System.Guid processTypeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetListOfProcessesAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetProcessByItsIdAsync(System.Guid processTypeId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddProcessWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.CreateProcessRuleRequest processRuleCreate, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteProcessWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetProcessWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProcessWorkItemTypeRulesAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateProcessWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessRuleRequest processRule, System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateStateDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemStateInputModel stateModel, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteStateDefinitionAsync(System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetStateDefinitionAsync(System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStateDefinitionsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task HideStateDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.HideStateModel hideStateModel, System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateStateDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemStateInputModel stateModel, System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteSystemControlAsync(System.Guid processId, string witRefName, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetSystemControlsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateSystemControlAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateProcessWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.CreateProcessWorkItemTypeRequest workItemType, System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteProcessWorkItemTypeAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetProcessWorkItemTypeAsync(System.Guid processId, string witRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProcessWorkItemTypesAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateProcessWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessWorkItemTypeRequest workItemTypeUpdate, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddBehaviorToWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemTypeBehavior behavior, System.Guid processId, string witRefNameForBehaviors, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBehaviorForWorkItemTypeAsync(System.Guid processId, string witRefNameForBehaviors, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBehaviorsForWorkItemTypeAsync(System.Guid processId, string witRefNameForBehaviors, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveBehaviorFromWorkItemTypeAsync(System.Guid processId, string witRefNameForBehaviors, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBehaviorToWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemTypeBehavior behavior, System.Guid processId, string witRefNameForBehaviors, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeAsync(System.Guid processId, string witRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypesAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBehaviorAsync(System.Guid processId, string behaviorRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBehaviorsAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.FieldRuleModel fieldRule, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeRulesAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.FieldRuleModel fieldRule, System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFieldsAsync(System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); + public void Dispose(); + } + [Export(typeof(IWorkItemTrackingProcessHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IWorkItemTrackingProcessHttpClientImpl: IWorkItemTrackingProcessHttpClient + { + private Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.WorkItemTrackingProcessHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IWorkItemTrackingProcessHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.WorkItemTrackingProcessHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.WorkItemTrackingProcessHttpClient)) as Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.WorkItemTrackingProcessHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task CreateProcessBehaviorAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehaviorCreateRequest behavior, System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateProcessBehaviorAsync(behavior, processId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteProcessBehaviorAsync(System.Guid processId, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteProcessBehaviorAsync(processId, behaviorRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetProcessBehaviorAsync(System.Guid processId, string behaviorRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessBehaviorAsync(processId, behaviorRefName, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProcessBehaviorsAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessBehaviorsAsync(processId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateProcessBehaviorAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehaviorUpdateRequest behaviorData, System.Guid processId, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateProcessBehaviorAsync(behaviorData, processId, behaviorRefName, userState, cancellationToken); + public System.Threading.Tasks.Task CreateControlInGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateControlInGroupAsync(control, processId, witRefName, groupId, userState, cancellationToken); + public System.Threading.Tasks.Task MoveControlToGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string groupId, string controlId, string removeFromGroupId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.MoveControlToGroupAsync(control, processId, witRefName, groupId, controlId, removeFromGroupId, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveControlFromGroupAsync(System.Guid processId, string witRefName, string groupId, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveControlFromGroupAsync(processId, witRefName, groupId, controlId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateControlAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string groupId, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateControlAsync(control, processId, witRefName, groupId, controlId, userState, cancellationToken); + public System.Threading.Tasks.Task AddFieldToWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.AddProcessWorkItemTypeFieldRequest field, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddFieldToWorkItemTypeAsync(field, processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAllWorkItemTypeFieldsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAllWorkItemTypeFieldsAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessWorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessWorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldAsync(processId, witRefName, fieldRefName, expand, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveWorkItemTypeFieldAsync(processId, witRefName, fieldRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemTypeFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessWorkItemTypeFieldRequest field, System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemTypeFieldAsync(field, processId, witRefName, fieldRefName, userState, cancellationToken); + public System.Threading.Tasks.Task AddGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddGroupAsync(group, processId, witRefName, pageId, sectionId, userState, cancellationToken); + public System.Threading.Tasks.Task MoveGroupToPageAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, string removeFromPageId, string removeFromSectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.MoveGroupToPageAsync(group, processId, witRefName, pageId, sectionId, groupId, removeFromPageId, removeFromSectionId, userState, cancellationToken); + public System.Threading.Tasks.Task MoveGroupToSectionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, string removeFromSectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.MoveGroupToSectionAsync(group, processId, witRefName, pageId, sectionId, groupId, removeFromSectionId, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveGroupAsync(System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveGroupAsync(processId, witRefName, pageId, sectionId, groupId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateGroupAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Group group, System.Guid processId, string witRefName, string pageId, string sectionId, string groupId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGroupAsync(group, processId, witRefName, pageId, sectionId, groupId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFormLayoutAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFormLayoutAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task CreateListAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.PickList picklist, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateListAsync(picklist, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteListAsync(System.Guid listId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteListAsync(listId, userState, cancellationToken); + public System.Threading.Tasks.Task GetListAsync(System.Guid listId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetListAsync(listId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetListsMetadataAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetListsMetadataAsync(userState, cancellationToken); + public System.Threading.Tasks.Task UpdateListAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.PickList picklist, System.Guid listId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateListAsync(picklist, listId, userState, cancellationToken); + public System.Threading.Tasks.Task AddPageAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Page page, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddPageAsync(page, processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task RemovePageAsync(System.Guid processId, string witRefName, string pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemovePageAsync(processId, witRefName, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePageAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Page page, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePageAsync(page, processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task CreateNewProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.CreateProcessModel createRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateNewProcessAsync(createRequest, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteProcessByIdAsync(System.Guid processTypeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteProcessByIdAsync(processTypeId, userState, cancellationToken); + public System.Threading.Tasks.Task EditProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessModel updateRequest, System.Guid processTypeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.EditProcessAsync(updateRequest, processTypeId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetListOfProcessesAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetListOfProcessesAsync(expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetProcessByItsIdAsync(System.Guid processTypeId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetProcessExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessByItsIdAsync(processTypeId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task AddProcessWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.CreateProcessRuleRequest processRuleCreate, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddProcessWorkItemTypeRuleAsync(processRuleCreate, processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteProcessWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteProcessWorkItemTypeRuleAsync(processId, witRefName, ruleId, userState, cancellationToken); + public System.Threading.Tasks.Task GetProcessWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessWorkItemTypeRuleAsync(processId, witRefName, ruleId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProcessWorkItemTypeRulesAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessWorkItemTypeRulesAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateProcessWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessRuleRequest processRule, System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateProcessWorkItemTypeRuleAsync(processRule, processId, witRefName, ruleId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateStateDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemStateInputModel stateModel, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateStateDefinitionAsync(stateModel, processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteStateDefinitionAsync(System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteStateDefinitionAsync(processId, witRefName, stateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetStateDefinitionAsync(System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStateDefinitionAsync(processId, witRefName, stateId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStateDefinitionsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStateDefinitionsAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task HideStateDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.HideStateModel hideStateModel, System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.HideStateDefinitionAsync(hideStateModel, processId, witRefName, stateId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateStateDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemStateInputModel stateModel, System.Guid processId, string witRefName, System.Guid stateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateStateDefinitionAsync(stateModel, processId, witRefName, stateId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteSystemControlAsync(System.Guid processId, string witRefName, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteSystemControlAsync(processId, witRefName, controlId, userState, cancellationToken); + public System.Threading.Tasks.Task GetSystemControlsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSystemControlsAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateSystemControlAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.Control control, System.Guid processId, string witRefName, string controlId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateSystemControlAsync(control, processId, witRefName, controlId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateProcessWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.CreateProcessWorkItemTypeRequest workItemType, System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateProcessWorkItemTypeAsync(workItemType, processId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteProcessWorkItemTypeAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteProcessWorkItemTypeAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetProcessWorkItemTypeAsync(System.Guid processId, string witRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessWorkItemTypeAsync(processId, witRefName, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProcessWorkItemTypesAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessWorkItemTypesAsync(processId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateProcessWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.UpdateProcessWorkItemTypeRequest workItemTypeUpdate, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateProcessWorkItemTypeAsync(workItemTypeUpdate, processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task AddBehaviorToWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemTypeBehavior behavior, System.Guid processId, string witRefNameForBehaviors, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddBehaviorToWorkItemTypeAsync(behavior, processId, witRefNameForBehaviors, userState, cancellationToken); + public System.Threading.Tasks.Task GetBehaviorForWorkItemTypeAsync(System.Guid processId, string witRefNameForBehaviors, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBehaviorForWorkItemTypeAsync(processId, witRefNameForBehaviors, behaviorRefName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBehaviorsForWorkItemTypeAsync(System.Guid processId, string witRefNameForBehaviors, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBehaviorsForWorkItemTypeAsync(processId, witRefNameForBehaviors, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveBehaviorFromWorkItemTypeAsync(System.Guid processId, string witRefNameForBehaviors, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveBehaviorFromWorkItemTypeAsync(processId, witRefNameForBehaviors, behaviorRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBehaviorToWorkItemTypeAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.WorkItemTypeBehavior behavior, System.Guid processId, string witRefNameForBehaviors, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBehaviorToWorkItemTypeAsync(behavior, processId, witRefNameForBehaviors, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeAsync(System.Guid processId, string witRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeAsync(processId, witRefName, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypesAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetWorkItemTypeExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypesAsync(processId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetBehaviorAsync(System.Guid processId, string behaviorRefName, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBehaviorAsync(processId, behaviorRefName, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBehaviorsAsync(System.Guid processId, Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.GetBehaviorsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBehaviorsAsync(processId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task AddWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.FieldRuleModel fieldRule, System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddWorkItemTypeRuleAsync(fieldRule, processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemTypeRuleAsync(processId, witRefName, ruleId, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeRuleAsync(System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeRuleAsync(processId, witRefName, ruleId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeRulesAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeRulesAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemTypeRuleAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.FieldRuleModel fieldRule, System.Guid processId, string witRefName, System.Guid ruleId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemTypeRuleAsync(fieldRule, processId, witRefName, ruleId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFieldsAsync(System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFieldsAsync(processId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldsAsync(processId, witRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldAsync(processId, witRefName, fieldRefName, userState, cancellationToken); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file From 33e245b910ec93480281ec4948a41cb40e9077e9 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Mon, 22 Sep 2025 13:25:27 -0300 Subject: [PATCH 14/36] Update source generators --- .../TfsCmdlets.SourceGenerators/ClassInfo.cs | 14 +- .../TfsCmdlets.SourceGenerators/Extensions.cs | 10 +- .../Controllers/ControllerGenerator.cs | 7 +- .../Generators/Controllers/ControllerInfo.cs | 201 ++++++++++-------- .../HttpClients/HttpClientGenerator.cs | 28 ++- 5 files changed, 156 insertions(+), 104 deletions(-) diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs index f10dfc2c2..f1c58d0d6 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs @@ -174,14 +174,18 @@ protected string GetImportingConstructorArguments(INamedTypeSymbol controller) var sb = new StringBuilder(); var ctorArgs = controller.GetImportingConstructorArguments(); - if (!string.IsNullOrEmpty(ctorArgs)) return ctorArgs; + if ((ctorArgs?.IndexOf(BASE_CLASS_CTOR_ARGS, StringComparison.Ordinal) ?? -1) >= 0) + { + return ctorArgs; + } + + if (!string.IsNullOrEmpty(ctorArgs)) sb.Append($"{ctorArgs}, "); return sb .Append(BASE_CLASS_CTOR_ARGS) - .Append(string.IsNullOrEmpty(ctorArgs) - ? string.Empty - : $", {ctorArgs}") - + //.Append(string.IsNullOrEmpty(ctorArgs) + // ? string.Empty + // : $", {ctorArgs}") .ToString(); } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs index a6bef793c..454c45fea 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs @@ -277,16 +277,16 @@ public static IEnumerable GetMembersRecursively(this ITypeSymbol type, { while (type != null) { - foreach (var member in type.GetMembers().Where(m => m.Kind == kind)) + if ((type.FullName().Equals(stopAt)) || (type.FullName().Equals("System.Object"))) { - yield return member; + yield break; } - if ((type.FullName().Equals(stopAt)) || (type.FullName().Equals("System.Object"))) + foreach (var member in type.GetMembers().Where(m => m.Kind == kind)) { - yield break; + yield return member; } - + type = type.BaseType; } } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs index 2f71f1fe2..0c6991667 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerGenerator.cs @@ -29,7 +29,9 @@ public void Initialize(IncrementalGeneratorInitializationContext context) var baseClasses = context.SyntaxProvider .ForAttributeWithMetadataName( "TfsCmdlets.CmdletControllerAttribute", - predicate: (_, _) => true, + predicate: (n, _) => (n as ClassDeclarationSyntax)? + .AttributeLists.SelectMany(attrList => attrList.Attributes) + .Any(attr => (attr.Name as IdentifierNameSyntax)?.Identifier.Text == "CmdletController") ?? false, transform: static (ctx, _) => ClassInfo.CreateFromAttributeValue(ctx, "CmdletControllerAttribute", "CustomBaseClass")) .Where(static m => m is not null) .Select((m, _) => m!) @@ -52,9 +54,10 @@ public void Initialize(IncrementalGeneratorInitializationContext context) { var controller = source.Left.Left; var baseClasses = source.Right.ToList(); + var baseClass = baseClasses.FirstOrDefault(ci => ci.FullName == controller.BaseClassFullName); var allCmdlets = source.Left.Right.ToList(); var cmdlet = allCmdlets.FirstOrDefault(c => c.Name.Equals(controller.CmdletName)); - var result = GenerateCode(controller, cmdlet, allCmdlets, baseClasses?.FirstOrDefault()); + var result = GenerateCode(controller, cmdlet, allCmdlets, baseClass); var filename = controller.FileName; spc.AddSource(filename, SourceText.From(result, Encoding.UTF8)); } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index b5d3f60a6..e8398b266 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -1,10 +1,8 @@ -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; -using System; -using System.Collections.Generic; +using System; using System.Linq; using System.Text; using System.Text.RegularExpressions; +using Microsoft.CodeAnalysis; using TfsCmdlets.SourceGenerators.Generators.Cmdlets; namespace TfsCmdlets.SourceGenerators.Generators.Controllers @@ -26,7 +24,6 @@ public record ControllerInfo : ClassInfo public string Verb => CmdletInfo.Verb; public string Noun => CmdletInfo.Noun; public string ImportingBaseArgs { get; set; } - internal ControllerInfo(INamedTypeSymbol controller) : base(controller) { @@ -54,7 +51,7 @@ internal ControllerInfo(INamedTypeSymbol controller) //} Client = clientName; - GenericArg = DataType == null ? string.Empty : $"<{DataType}>"; + GenericArg = (DataType == null ? string.Empty : $"<{DataType}>"); ImportingBaseArgs = GetImportingBaseArgs(); CtorArgs = string.Join(", ", GetCtorArgs(controller).ToArray()); // GenerateProperties(); @@ -156,55 +153,66 @@ public string GenerateAutomaticProperties() if(IsPassthru) { - sb.Append($$""" + sb.Append(""" - // Passthru - protected bool Has_Passthru { get; set; } - protected bool Passthru { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } - """); + """); } if (CmdletInfo.Name.EndsWith("Area") || CmdletInfo.Name.EndsWith("Iteration")) { - sb.Append($$""" + sb.Append(""" - // StructureGroup - protected bool Has_StructureGroup { get; set; } - protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } + // StructureGroup + protected bool Has_StructureGroup { get; set; } + protected Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup { get; set; } - """); + """); + } + + if (CmdletInfo.Verb == "Rename") + { + sb.Append(""" + + // NewName + protected bool Has_NewName { get; set; } + protected string NewName { get; set; } + + """); } if (HasCredentialProperties) { - sb.Append($$""" - - // Cached - protected bool Has_Cached { get; set; } - protected bool Cached { get; set; } + sb.Append(""" - // UserName - protected bool Has_UserName { get; set; } - protected string UserName { get; set; } + // Cached + protected bool Has_Cached { get; set; } + protected bool Cached { get; set; } - // Password - protected bool Has_Password { get; set; } - protected System.Security.SecureString Password { get; set; } + // UserName + protected bool Has_UserName { get; set; } + protected string UserName { get; set; } - // Credential - protected bool Has_Credential { get; set; } - protected object Credential { get; set; } + // Password + protected bool Has_Password { get; set; } + protected System.Security.SecureString Password { get; set; } - // PersonalAccessToken - protected bool Has_PersonalAccessToken { get; set; } - protected string PersonalAccessToken { get; set; } + // Credential + protected bool Has_Credential { get; set; } + protected object Credential { get; set; } - // Interactive - protected bool Has_Interactive { get; set; } - protected bool Interactive { get; set; } + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } + protected string PersonalAccessToken { get; set; } - """); + // Interactive + protected bool Has_Interactive { get; set; } + protected bool Interactive { get; set; } + + """); } return sb.ToString(); @@ -217,32 +225,32 @@ public string GenerateAutomaticProperties() private void GenerateCredentialProperties(StringBuilder sb) { - sb.Append($$""" + sb.Append(""" - protected bool Has_Cached { get; set; } // => Parameters.HasParameter(nameof(Cached)); - protected bool Cached { get; set; } // => _Cached; // Parameters.Get(nameof(Cached)); + protected bool Has_Cached { get; set; } // => Parameters.HasParameter(nameof(Cached)); + protected bool Cached { get; set; } // => _Cached; // Parameters.Get(nameof(Cached)); - // UserName - protected bool Has_UserName { get; set; } // => Parameters.HasParameter(nameof(UserName)); - protected string UserName { get; set; } // => _UserName; // Parameters.Get(nameof(UserName)); + // UserName + protected bool Has_UserName { get; set; } // => Parameters.HasParameter(nameof(UserName)); + protected string UserName { get; set; } // => _UserName; // Parameters.Get(nameof(UserName)); - // Password - protected bool Has_Password { get; set; } // => Parameters.HasParameter(nameof(Password)); - protected System.Security.SecureString Password { get; set; } // => _Password; // Parameters.Get(nameof(Password)); + // Password + protected bool Has_Password { get; set; } // => Parameters.HasParameter(nameof(Password)); + protected System.Security.SecureString Password { get; set; } // => _Password; // Parameters.Get(nameof(Password)); - // Credential - protected bool Has_Credential { get; set; } // => Parameters.HasParameter(nameof(Credential)); - protected object Credential { get; set; } // => _Credential; // Parameters.Get(nameof(Credential)); + // Credential + protected bool Has_Credential { get; set; } // => Parameters.HasParameter(nameof(Credential)); + protected object Credential { get; set; } // => _Credential; // Parameters.Get(nameof(Credential)); - // PersonalAccessToken - protected bool Has_PersonalAccessToken { get; set; } // => Parameters.HasParameter(nameof(PersonalAccessToken)); - protected string PersonalAccessToken { get; set; } // => _PersonalAccessToken; // Parameters.Get(nameof(PersonalAccessToken)); + // PersonalAccessToken + protected bool Has_PersonalAccessToken { get; set; } // => Parameters.HasParameter(nameof(PersonalAccessToken)); + protected string PersonalAccessToken { get; set; } // => _PersonalAccessToken; // Parameters.Get(nameof(PersonalAccessToken)); - // Interactive - protected bool Has_Interactive { get; set; } // => Parameters.HasParameter(nameof(Interactive)); - protected bool Interactive { get; set; } // => _Interactive; // Parameters.Get(nameof(Interactive)); + // Interactive + protected bool Has_Interactive { get; set; } // => Parameters.HasParameter(nameof(Interactive)); + protected bool Interactive { get; set; } // => _Interactive; // Parameters.Get(nameof(Interactive)); - """); + """); } public string GenerateScopeProperties() @@ -262,23 +270,23 @@ private void GenerateScopeProperty(CmdletScope scope, string scopeType, StringBu { var scopeName = scope.ToString(); - sb.Append($$""" + sb.Append($""" - // {{scopeName}} - protected bool Has_{{scopeName}} => Parameters.HasParameter("{{scopeName}}"); - protected {{scopeType}} {{scopeName}} => Data.Get{{scopeName}}(); + // {scopeName} + protected bool Has_{scopeName} => Parameters.HasParameter("{scopeName}"); + protected {scopeType} {scopeName} => Data.Get{scopeName}(); """); } public string GenerateParameterSetProperty() { - return $$""" - // ParameterSetName - protected bool Has_ParameterSetName { get; set; } - protected string ParameterSetName { get; set; } - - """; + return """ + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + + """; } public string GenerateItemsProperty() @@ -317,13 +325,13 @@ public string GenerateItemsProperty() public string GenerateDataTypeProperty() { - var dataType = DataType ?? CmdletInfo.DataType; - if (dataType is null) return string.Empty; + //var dataType = DataType ?? CmdletInfo.DataType; + if (DataType is null) return string.Empty; return $""" // DataType - public override Type DataType => typeof({dataType}); + public override Type DataType => typeof({DataType}); """; } @@ -338,10 +346,10 @@ public string GenerateCacheProperties() ? string.Empty : $", {prop.DefaultValue}"; - sb.Append($$""" - // {{prop.Name}} - Has_{{prop.Name}} = Parameters.HasParameter("{{prop.Name}}"); - {{prop.Name}} = Parameters.Get<{{(prop.Type == "SwitchParameter" ? "bool" : prop.Type)}}>("{{prop.Name}}"{{initValue}}); + sb.Append($""" + // {prop.Name} + Has_{prop.Name} = Parameters.HasParameter("{prop.Name}"); + {prop.Name} = Parameters.Get<{(prop.Type == "SwitchParameter" ? "bool" : prop.Type)}>("{prop.Name}"{initValue}); """); sb.AppendLine(); @@ -349,24 +357,35 @@ public string GenerateCacheProperties() if (IsPassthru) { - sb.Append($$""" - // Passthru - Has_Passthru = Parameters.HasParameter("Passthru"); - Passthru = Parameters.Get("Passthru"); - - """); + sb.Append(""" + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + + """); + sb.AppendLine(); + } + + if (CmdletInfo.Verb == "Rename") + { + sb.Append(""" + // NewName + Has_NewName = Parameters.HasParameter("NewName"); + NewName = Parameters.Get("NewName"); + + """); sb.AppendLine(); } if (CmdletInfo.Name.EndsWith("Area") || CmdletInfo.Name.EndsWith("Iteration")) { - sb.Append($$""" - // StructureGroup - Has_StructureGroup = Parameters.HasParameter("StructureGroup"); - StructureGroup = Parameters.Get("StructureGroup"); - - - """); + sb.Append(""" + // StructureGroup + Has_StructureGroup = Parameters.HasParameter("StructureGroup"); + StructureGroup = Parameters.Get("StructureGroup"); + + + """); } if (HasCredentialProperties) @@ -400,11 +419,11 @@ public string GenerateCacheProperties() sb.AppendLine(); } - sb.Append($$""" - // ParameterSetName - Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); - ParameterSetName = Parameters.Get("ParameterSetName"); - """); + sb.Append(""" + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + """); return sb.ToString(); } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs index 918a4ed6b..0a8414f1c 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs @@ -68,7 +68,33 @@ internal class {{model.Name}}Impl: {{model.Name}} } {{model.GetClassBody()}} - } + public Uri BaseAddress + => Client.BaseAddress; + + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + + public bool IsDisposed() + => Client.IsDisposed(); + + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + + public void Dispose() + => Client.Dispose(); + } } """; } From a29d79bbe265f1d1522a3d70712a5abad05504e2 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Mon, 22 Sep 2025 13:25:49 -0300 Subject: [PATCH 15/36] Refactor import ctor args --- .../WorkItem/AreasIterations/GetClassificationNodeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs index 297c4485d..2c780e9de 100644 --- a/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/AreasIterations/GetClassificationNodeController.cs @@ -81,7 +81,7 @@ protected override IEnumerable Run() } [ImportingConstructor] - protected GetClassificationNodeController(INodeUtil nodeUtil, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger, IWorkItemTrackingHttpClient client) + protected GetClassificationNodeController(INodeUtil nodeUtil, IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) : base(powerShell, data, parameters, logger) { NodeUtil = nodeUtil; From 8308929c98c83e6b6d1b9760dcd6e8d68b3ec6b8 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Mon, 22 Sep 2025 13:26:08 -0300 Subject: [PATCH 16/36] Move class to separate file --- .../Cmdlets/TestManagement/CopyTestPlan.cs | 43 ------------------- .../Cmdlets/TestManagement/GetTestPlan.cs | 43 +++++++++++++++++++ 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/CSharp/TfsCmdlets/Cmdlets/TestManagement/CopyTestPlan.cs b/CSharp/TfsCmdlets/Cmdlets/TestManagement/CopyTestPlan.cs index 0ee815442..e5bfb7335 100644 --- a/CSharp/TfsCmdlets/Cmdlets/TestManagement/CopyTestPlan.cs +++ b/CSharp/TfsCmdlets/Cmdlets/TestManagement/CopyTestPlan.cs @@ -188,47 +188,4 @@ protected override IEnumerable Run() yield return (passthru == "Original") ? plan : Data.GetItem(new { Plan = opInfo.destinationTestPlan }); } } - - [CmdletController(typeof(TestPlan), Client=typeof(ITestPlanHttpClient))] - partial class GetTestPlanController - { - protected override IEnumerable Run() - { - var testPlan = Parameters.Get(nameof(GetTestPlan.TestPlan)); - var owner = Parameters.Get(nameof(GetTestPlan.Owner)); - var planDetails = !Parameters.Get(nameof(GetTestPlan.NoPlanDetails)); - var active = Parameters.Get(nameof(GetTestPlan.Active)); - - while (true) switch (testPlan) - { - case TestPlan plan: - { - yield return plan; - yield break; - } - case int i: - { - var tp = Data.GetProject(); - yield return Client.GetTestPlanByIdAsync(tp.Id, i) - .GetResult($"Error getting test plan '{i}'"); - yield break; - } - case string s: - { - var tp = Data.GetProject(); - foreach (var plan in Client.GetTestPlansAsync(tp.Id, owner, null, planDetails, active) - .GetResult($"Error getting test plans '{testPlan}'") - .Where(plan => plan.Name.IsLike(s))) - { - yield return plan; - } - yield break; - } - default: - { - throw new ArgumentException($"Invalid or non-existent test plan '{testPlan}'"); - } - } - } - } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets/Cmdlets/TestManagement/GetTestPlan.cs b/CSharp/TfsCmdlets/Cmdlets/TestManagement/GetTestPlan.cs index 875e55ba9..18fd4e198 100644 --- a/CSharp/TfsCmdlets/Cmdlets/TestManagement/GetTestPlan.cs +++ b/CSharp/TfsCmdlets/Cmdlets/TestManagement/GetTestPlan.cs @@ -35,4 +35,47 @@ partial class GetTestPlan [Parameter] public SwitchParameter Active { get; set; } } + + [CmdletController(typeof(TestPlan), Client = typeof(ITestPlanHttpClient))] + partial class GetTestPlanController + { + protected override IEnumerable Run() + { + var testPlan = Parameters.Get(nameof(GetTestPlan.TestPlan)); + var owner = Parameters.Get(nameof(GetTestPlan.Owner)); + var planDetails = !Parameters.Get(nameof(GetTestPlan.NoPlanDetails)); + var active = Parameters.Get(nameof(GetTestPlan.Active)); + + while (true) switch (testPlan) + { + case TestPlan plan: + { + yield return plan; + yield break; + } + case int i: + { + var tp = Data.GetProject(); + yield return Client.GetTestPlanByIdAsync(tp.Id, i) + .GetResult($"Error getting test plan '{i}'"); + yield break; + } + case string s: + { + var tp = Data.GetProject(); + foreach (var plan in Client.GetTestPlansAsync(tp.Id, owner, null, planDetails, active) + .GetResult($"Error getting test plans '{testPlan}'") + .Where(plan => plan.Name.IsLike(s))) + { + yield return plan; + } + yield break; + } + default: + { + throw new ArgumentException($"Invalid or non-existent test plan '{testPlan}'"); + } + } + } + } } \ No newline at end of file From 751dc1ebe66650a5534cca783e1b6dd8edb21976 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Mon, 22 Sep 2025 13:26:25 -0300 Subject: [PATCH 17/36] Optimize usings --- CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs b/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs index a33636802..21c2f6c15 100644 --- a/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs +++ b/CSharp/TfsCmdlets/Cmdlets/Identity/GetIdentity.cs @@ -1,8 +1,6 @@ using System.Management.Automation; using Microsoft.VisualStudio.Services.Identity; -using Microsoft.VisualStudio.Services.Identity.Client; using Microsoft.VisualStudio.Services.Licensing; -using IIdentityHttpClient = Microsoft.VisualStudio.Services.Identity.Client.IIdentityHttpClient; namespace TfsCmdlets.Cmdlets.Identity { From d4d0c770e3803e66a8c8bae4394111b351287824 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Mon, 22 Sep 2025 13:26:38 -0300 Subject: [PATCH 18/36] Fix property type --- CSharp/TfsCmdlets/Cmdlets/ServiceHook/GetServiceHookConsumer.cs | 2 +- CSharp/TfsCmdlets/Cmdlets/WorkItem/Query/ExportWorkItemQuery.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CSharp/TfsCmdlets/Cmdlets/ServiceHook/GetServiceHookConsumer.cs b/CSharp/TfsCmdlets/Cmdlets/ServiceHook/GetServiceHookConsumer.cs index 314d00f3f..a387c1ebd 100644 --- a/CSharp/TfsCmdlets/Cmdlets/ServiceHook/GetServiceHookConsumer.cs +++ b/CSharp/TfsCmdlets/Cmdlets/ServiceHook/GetServiceHookConsumer.cs @@ -24,7 +24,7 @@ partial class GetServiceHookConsumer [Parameter(Position = 0)] [SupportsWildcards()] [Alias("Name", "Id")] - public string Consumer { get; set; } = "*"; + public object Consumer { get; set; } = "*"; } [CmdletController(typeof(WebApiConsumer), Client=typeof(IServiceHooksPublisherHttpClient))] diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/Query/ExportWorkItemQuery.cs b/CSharp/TfsCmdlets/Cmdlets/WorkItem/Query/ExportWorkItemQuery.cs index 4d04e9b3e..0d5125b3a 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/Query/ExportWorkItemQuery.cs +++ b/CSharp/TfsCmdlets/Cmdlets/WorkItem/Query/ExportWorkItemQuery.cs @@ -13,7 +13,7 @@ namespace TfsCmdlets.Cmdlets.WorkItem.Query /// this cmdlet to generate WIQ files compatible with the format supported by Team Explorer. /// [TfsCmdlet(CmdletScope.Project, DefaultParameterSetName = "Export to output stream", SupportsShouldProcess = true, - OutputType = typeof(string))] + OutputType = typeof(string), DataType = typeof(QueryHierarchyItem))] partial class ExportWorkItemQuery { /// From 251524badd5c10bc50b794baca4c6ffceae57d11 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 00:45:13 -0300 Subject: [PATCH 19/36] Update integration tests --- .gitignore | 1 + PS/_Tests/_TestSetup.ps1 | 2 +- psake.ps1 | 9 +++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 86874abe5..bae0103ac 100644 --- a/.gitignore +++ b/.gitignore @@ -226,3 +226,4 @@ CSharp/*/Generated/** Docs/AzDO-Security-Actions.csv **/testResults.xml PS/_Tests/coverage.xml +CSharp/**/Old/** diff --git a/PS/_Tests/_TestSetup.ps1 b/PS/_Tests/_TestSetup.ps1 index 89c1ccc9f..ff56ef25c 100644 --- a/PS/_Tests/_TestSetup.ps1 +++ b/PS/_Tests/_TestSetup.ps1 @@ -42,7 +42,7 @@ BeforeAll { $conn = Get-TfsTeamProjectCollection -Current if(-not $conn -or ($conn.Uri -ne ([uri]$tfsCollectionUrl))) { - Write-Host "Connecting to $tfsCollectionUrl" + # Write-Host "Connecting to $tfsCollectionUrl" Connect-TfsTeamProjectCollection -Collection $tfsCollectionUrl -PersonalAccessToken $tfsAccessToken } diff --git a/psake.ps1 b/psake.ps1 index 86881816d..bf3ad6ef8 100644 --- a/psake.ps1 +++ b/psake.ps1 @@ -23,7 +23,7 @@ Properties { $ModuleBinDir = Join-Path $ModuleDir 'bin' # Assembly generation - $TargetFrameworks = @{Desktop = 'net471'; Core = 'netcoreapp3.1' } + $TargetFrameworks = @{Desktop = 'net472'; Core = 'netcoreapp3.1' } # Module generation $ModuleManifestPath = Join-Path $ModuleDir 'TfsCmdlets.psd1' @@ -239,15 +239,16 @@ Task AllTests -PreCondition { -not $SkipTests } { Push-Location $PSTestsDir $outputLevel =if($isCi) { "Detailed" } else { "Minimal" } - + $pesterCmd = "Import-Module Pester -MinimumVersion 5.0.0; Get-Module Pester; Invoke-Pester -CI -Output $outputLevel -ExcludeTagFilter {0}, 'Server'" + try { Write-Output ' == PowerShell Core ==' - Exec { pwsh.exe -NonInteractive -NoLogo -Command "Invoke-Pester -CI -Output $outputLevel -ExcludeTagFilter 'Desktop', 'Server'" } + Exec { pwsh.exe -NonInteractive -NoLogo -Command ($pesterCmd -f 'Desktop') } Move-Item 'testResults.xml' -Destination $OutDir/TestResults-Pester-Core.xml -Force Move-Item 'coverage.xml' -Destination $OutDir/Coverage-Pester-Core.xml -Force Write-Output ' == PowerShell Desktop ==' - Exec { powershell.exe -NonInteractive -NoLogo -Command "Invoke-Pester -CI -Output $outputLevel -ExcludeTagFilter 'Core', 'Server'" } + Exec { powershell.exe -NonInteractive -NoLogo -Command ($pesterCmd -f 'Core') } Move-Item 'testResults.xml' -Destination $OutDir/TestResults-Pester-Desktop.xml -Force Move-Item 'coverage.xml' -Destination $OutDir/Coverage-Pester-Desktop.xml -Force } From 73c72c236040f18f1f40f738063de08299033f48 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 00:45:45 -0300 Subject: [PATCH 20/36] Disable cmdlets temporarily --- .../Field/GetProcessFieldDefinition.cs | 210 ++++++------ .../Field/NewProcessFieldDefinition.cs | 308 +++++++++--------- 2 files changed, 259 insertions(+), 259 deletions(-) diff --git a/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/GetProcessFieldDefinition.cs b/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/GetProcessFieldDefinition.cs index fb92b0bce..afcba2284 100644 --- a/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/GetProcessFieldDefinition.cs +++ b/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/GetProcessFieldDefinition.cs @@ -1,115 +1,115 @@ -using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +//using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; -namespace TfsCmdlets.Cmdlets.Process.Field -{ - /// - /// Gets information from one or more organization-wide work item fields. - /// - [TfsCmdlet(CmdletScope.Collection, OutputType = typeof(WorkItemField))] - partial class GetProcessFieldDefinition - { - /// - /// Specifies the name of the field(s) to be returned. Wildcards are supported. - /// When omitted, all fields in the given organization are returned. - /// - [Parameter(Position = 0, ParameterSetName = "By Name")] - [Alias("Name")] - [SupportsWildcards()] - public object Field { get; set; } = "*"; +//namespace TfsCmdlets.Cmdlets.Process.Field +//{ +// /// +// /// Gets information from one or more organization-wide work item fields. +// /// +// [TfsCmdlet(CmdletScope.Collection, OutputType = typeof(WorkItemField))] +// partial class GetProcessFieldDefinition +// { +// /// +// /// Specifies the name of the field(s) to be returned. Wildcards are supported. +// /// When omitted, all fields in the given organization are returned. +// /// +// [Parameter(Position = 0, ParameterSetName = "By Name")] +// [Alias("Name")] +// [SupportsWildcards()] +// public object Field { get; set; } = "*"; - /// - /// Specifies the reference name of the field(s) to be returned. Wildcards are supported. - /// - [Parameter(ParameterSetName = "By Reference Name", Mandatory = true)] - public string[] ReferenceName { get; set; } +// /// +// /// Specifies the reference name of the field(s) to be returned. Wildcards are supported. +// /// +// [Parameter(ParameterSetName = "By Reference Name", Mandatory = true)] +// public string[] ReferenceName { get; set; } - /// - /// Limits the search to the specified project. - /// - [Parameter] - public object Project { get; set; } +// /// +// /// Limits the search to the specified project. +// /// +// [Parameter] +// public object Project { get; set; } - /// - /// Specifies whether to include extension fields in the result. - /// - [Parameter] - public SwitchParameter IncludeExtensionFields { get; set; } +// /// +// /// Specifies whether to include extension fields in the result. +// /// +// [Parameter] +// public SwitchParameter IncludeExtensionFields { get; set; } - /// - /// Specifies whether to include deleted fields in the result. - /// - [Parameter] - public SwitchParameter IncludeDeleted { get; set; } - } +// /// +// /// Specifies whether to include deleted fields in the result. +// /// +// [Parameter] +// public SwitchParameter IncludeDeleted { get; set; } +// } - // Controller +// // Controller - [CmdletController(typeof(WorkItemField), Client = typeof(IWorkItemTrackingHttpClient))] - partial class GetProcessFieldDefinitionController - { - protected override IEnumerable Run() - { - string tpName; +// [CmdletController(typeof(WorkItemField), Client = typeof(IWorkItemTrackingHttpClient))] +// partial class GetProcessFieldDefinitionController +// { +// protected override IEnumerable Run() +// { +// string tpName; - if (Has_Project) - { - var tp = Data.GetProject(); - tpName = tp.Name; - } +// if (Has_Project) +// { +// var tp = Data.GetProject(); +// tpName = tp.Name; +// } - var expand = GetFieldsExpand.None | - (IncludeExtensionFields ? GetFieldsExpand.ExtensionFields : GetFieldsExpand.None) | - (IncludeDeleted ? GetFieldsExpand.IncludeDeleted : GetFieldsExpand.None); +// var expand = GetFieldsExpand.None | +// (IncludeExtensionFields ? GetFieldsExpand.ExtensionFields : GetFieldsExpand.None) | +// (IncludeDeleted ? GetFieldsExpand.IncludeDeleted : GetFieldsExpand.None); - switch (ParameterSetName) - { - case "By Name": - { - foreach (var f in Field) - { - switch (f) - { - case WorkItemField wif: - { - yield return wif; - yield break; - } - case string s when s.IsWildcard(): - { - yield return Client.GetFieldsAsync(expand) - .GetResult($"Error getting fields '{s}'") - .Where(field => field.Name.IsLike(s)); - break; - } - case string s when !string.IsNullOrEmpty(s): - { - yield return Client.GetFieldAsync(fieldNameOrRefName: s) - .GetResult($"Error getting field '{s}'"); - break; - } - default: - { - throw new ArgumentException($"Invalid or non-existent field '{f}'"); - } - } - } - break; - } - case "By Reference Name": - { - foreach (var refName in ReferenceName) - { - yield return Client.GetFieldsAsync(expand) - .GetResult($"Error getting field with reference name '{ReferenceName}'") - .Where(field => field.ReferenceName.IsLike(refName)); - } - break; - } - default: - { - throw new ArgumentException($"Unknown parameter set '{ParameterSetName}'"); - } - } - } - } -} \ No newline at end of file +// switch (ParameterSetName) +// { +// case "By Name": +// { +// foreach (var f in Field) +// { +// switch (f) +// { +// case WorkItemField wif: +// { +// yield return wif; +// yield break; +// } +// case string s when s.IsWildcard(): +// { +// yield return Client.GetFieldsAsync(expand) +// .GetResult($"Error getting fields '{s}'") +// .Where(field => field.Name.IsLike(s)); +// break; +// } +// case string s when !string.IsNullOrEmpty(s): +// { +// yield return Client.GetFieldAsync(fieldNameOrRefName: s) +// .GetResult($"Error getting field '{s}'"); +// break; +// } +// default: +// { +// throw new ArgumentException($"Invalid or non-existent field '{f}'"); +// } +// } +// } +// break; +// } +// case "By Reference Name": +// { +// foreach (var refName in ReferenceName) +// { +// yield return Client.GetFieldsAsync(expand) +// .GetResult($"Error getting field with reference name '{ReferenceName}'") +// .Where(field => field.ReferenceName.IsLike(refName)); +// } +// break; +// } +// default: +// { +// throw new ArgumentException($"Unknown parameter set '{ParameterSetName}'"); +// } +// } +// } +// } +//} \ No newline at end of file diff --git a/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/NewProcessFieldDefinition.cs b/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/NewProcessFieldDefinition.cs index 8a547aaf7..ac6b2377e 100644 --- a/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/NewProcessFieldDefinition.cs +++ b/CSharp/TfsCmdlets/Cmdlets/ProcessTemplate/Field/NewProcessFieldDefinition.cs @@ -1,154 +1,154 @@ -using Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models; -using Microsoft.TeamFoundation.WorkItemTracking.WebApi; -using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; -using ProcessFieldType = Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldType; - -namespace TfsCmdlets.Cmdlets.Process.Field -{ - /// - /// Gets information from one or more process templates. - /// - [TfsCmdlet(CmdletScope.Collection, SupportsShouldProcess = true, OutputType = typeof(WorkItemField))] - partial class NewProcessFieldDefinition - { - /// - /// Specifies the name of the field. - /// - [Parameter(Position = 0, Mandatory = true)] - [Alias("Name")] - public string Field { get; set; } - - /// - /// Specifies the reference name of the field. It should contain only letters, numbers, dots and underscores. - /// - [Parameter(Position = 1, Mandatory = true)] - public string ReferenceName { get; set; } - - /// - /// Specifies the description of the field. - /// - [Parameter] - public string Description { get; set; } - - /// - /// Specifies the type of the field. - /// - [Parameter] - public ProcessFieldType Type { get; set; } = ProcessFieldType.String; - - /// - /// Specifies whether the field is read-only. - /// - [Parameter] - public bool ReadOnly { get; set; } - - /// - /// Specifies whether the field is sortable in server queries. - /// - [Parameter] - public bool CanSortBy { get; set; } - - /// - /// Specifies whether the field can be queried in the server. - /// - [Parameter] - public bool IsQueryable { get; set; } - - /// - /// Specifies whether the field is an identity field. - /// - [Parameter] - public SwitchParameter IsIdentity { get; set; } - - /// - /// Specifies the contents of the picklist. Supplying values to this parameter will automatically - /// turn the field into a picklist. - /// - [Parameter] - public object[] PicklistItems { get; set; } - - /// - /// Specifies whether the user can enter a custom value in the picklist, making it a list of suggested values instead of allowed values. - /// - [Parameter] - public SwitchParameter PicklistSuggested { get; set; } - } - - // Controller - - [CmdletController(Client = typeof(IWorkItemTrackingHttpClient))] - partial class NewProcessFieldDefinitionController - { - - [Import] - private IWorkItemTrackingProcessHttpClient ProcessClient { get; set; } - - protected override IEnumerable Run() - { - var isPicklist = (PicklistItems != null) || - Type == ProcessFieldType.PicklistString || - Type == ProcessFieldType.PicklistInteger || - Type == ProcessFieldType.PicklistDouble; - - var fieldType = Type switch - { - ProcessFieldType.String or ProcessFieldType.PicklistString => ProcessFieldType.String, - ProcessFieldType.Integer or ProcessFieldType.PicklistInteger => ProcessFieldType.Integer, - ProcessFieldType.Double or ProcessFieldType.PicklistDouble => ProcessFieldType.Double, - _ when isPicklist => throw new Exception("Picklist fields must be of type string, integer or double."), - _ => Type - }; - - PickList picklist = null; - - if (isPicklist) - { - if (!PowerShell.ShouldProcess(Collection, $"Create picklist for field {ReferenceName} with items [{string.Join(", ", PicklistItems.Select(i => i.ToString()))}]")) - { - yield break; - } - - if ((PicklistItems?.Length ?? 0) == 0) - { - throw new ArgumentException("Picklist fields must contain at least one item. Use the PicklistItems parameter to specify the items."); - } - - picklist = CreatePicklist(fieldType, PicklistItems, PicklistSuggested); - } - - if (!PowerShell.ShouldProcess(Collection, $"Create process field {ReferenceName} ('{Field}'), type {fieldType}")) - { - yield break; - } - - yield return Client.CreateFieldAsync(new WorkItemField - { - Name = Field, - ReferenceName = ReferenceName, - Description = Description, - Type = fieldType, - ReadOnly = ReadOnly, - CanSortBy = CanSortBy, - IsQueryable = IsQueryable, - IsIdentity = IsIdentity, - PicklistId = picklist?.Id - }).GetResult("Error creating field"); - } - - private PickList CreatePicklist(ProcessFieldType type, object[] picklistItems, bool picklistSuggested) - { - var fieldType = type.ToString().Substring(0, 1).ToUpper() + type.ToString().Substring(1).ToLower(); - - var picklist = ProcessClient.CreateListAsync(new PickList - { - Id = Guid.Empty, - Name = "picklist_" + Guid.NewGuid().ToString(), - Type = fieldType, - Items = PicklistItems.Select(i => i.ToString()).ToList(), - IsSuggested = PicklistSuggested - }).GetResult("Error creating picklist"); - - return picklist; - } - } -} \ No newline at end of file +//using Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models; +//using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +//using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +//using ProcessFieldType = Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldType; + +//namespace TfsCmdlets.Cmdlets.Process.Field +//{ +// /// +// /// Gets information from one or more process templates. +// /// +// [TfsCmdlet(CmdletScope.Collection, SupportsShouldProcess = true, OutputType = typeof(WorkItemField))] +// partial class NewProcessFieldDefinition +// { +// /// +// /// Specifies the name of the field. +// /// +// [Parameter(Position = 0, Mandatory = true)] +// [Alias("Name")] +// public string Field { get; set; } + +// /// +// /// Specifies the reference name of the field. It should contain only letters, numbers, dots and underscores. +// /// +// [Parameter(Position = 1, Mandatory = true)] +// public string ReferenceName { get; set; } + +// /// +// /// Specifies the description of the field. +// /// +// [Parameter] +// public string Description { get; set; } + +// /// +// /// Specifies the type of the field. +// /// +// [Parameter] +// public ProcessFieldType Type { get; set; } = ProcessFieldType.String; + +// /// +// /// Specifies whether the field is read-only. +// /// +// [Parameter] +// public bool ReadOnly { get; set; } + +// /// +// /// Specifies whether the field is sortable in server queries. +// /// +// [Parameter] +// public bool CanSortBy { get; set; } + +// /// +// /// Specifies whether the field can be queried in the server. +// /// +// [Parameter] +// public bool IsQueryable { get; set; } + +// /// +// /// Specifies whether the field is an identity field. +// /// +// [Parameter] +// public SwitchParameter IsIdentity { get; set; } + +// /// +// /// Specifies the contents of the picklist. Supplying values to this parameter will automatically +// /// turn the field into a picklist. +// /// +// [Parameter] +// public object[] PicklistItems { get; set; } + +// /// +// /// Specifies whether the user can enter a custom value in the picklist, making it a list of suggested values instead of allowed values. +// /// +// [Parameter] +// public SwitchParameter PicklistSuggested { get; set; } +// } + +// // Controller + +// [CmdletController(Client = typeof(IWorkItemTrackingHttpClient))] +// partial class NewProcessFieldDefinitionController +// { + +// [Import] +// private IWorkItemTrackingProcessHttpClient ProcessClient { get; set; } + +// protected override IEnumerable Run() +// { +// var isPicklist = (PicklistItems != null) || +// Type == ProcessFieldType.PicklistString || +// Type == ProcessFieldType.PicklistInteger || +// Type == ProcessFieldType.PicklistDouble; + +// var fieldType = Type switch +// { +// ProcessFieldType.String or ProcessFieldType.PicklistString => ProcessFieldType.String, +// ProcessFieldType.Integer or ProcessFieldType.PicklistInteger => ProcessFieldType.Integer, +// ProcessFieldType.Double or ProcessFieldType.PicklistDouble => ProcessFieldType.Double, +// _ when isPicklist => throw new Exception("Picklist fields must be of type string, integer or double."), +// _ => Type +// }; + +// PickList picklist = null; + +// if (isPicklist) +// { +// if (!PowerShell.ShouldProcess(Collection, $"Create picklist for field {ReferenceName} with items [{string.Join(", ", PicklistItems.Select(i => i.ToString()))}]")) +// { +// yield break; +// } + +// if ((PicklistItems?.Length ?? 0) == 0) +// { +// throw new ArgumentException("Picklist fields must contain at least one item. Use the PicklistItems parameter to specify the items."); +// } + +// picklist = CreatePicklist(fieldType, PicklistItems, PicklistSuggested); +// } + +// if (!PowerShell.ShouldProcess(Collection, $"Create process field {ReferenceName} ('{Field}'), type {fieldType}")) +// { +// yield break; +// } + +// yield return Client.CreateFieldAsync(new WorkItemField +// { +// Name = Field, +// ReferenceName = ReferenceName, +// Description = Description, +// Type = fieldType, +// ReadOnly = ReadOnly, +// CanSortBy = CanSortBy, +// IsQueryable = IsQueryable, +// IsIdentity = IsIdentity, +// PicklistId = picklist?.Id +// }).GetResult("Error creating field"); +// } + +// private PickList CreatePicklist(ProcessFieldType type, object[] picklistItems, bool picklistSuggested) +// { +// var fieldType = type.ToString().Substring(0, 1).ToUpper() + type.ToString().Substring(1).ToLower(); + +// var picklist = ProcessClient.CreateListAsync(new PickList +// { +// Id = Guid.Empty, +// Name = "picklist_" + Guid.NewGuid().ToString(), +// Type = fieldType, +// Items = PicklistItems.Select(i => i.ToString()).ToList(), +// IsSuggested = PicklistSuggested +// }).GetResult("Error creating picklist"); + +// return picklist; +// } +// } +//} \ No newline at end of file From 892e3a6bbb3300023518996f563a6fb836f5ef9b Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 00:46:03 -0300 Subject: [PATCH 21/36] Fix invalid cast --- CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs b/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs index adef477c6..f72e84676 100644 --- a/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs +++ b/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs @@ -61,9 +61,7 @@ private IEnumerable GetNodesRecursively(ClassificationNode n { if (node.ChildCount == 0 && _client != null) { - var client = (WorkItemTrackingHttpClient) _client; - - node = new ClassificationNode(client.GetClassificationNodeAsync(ProjectName, StructureGroup, node.RelativePath, 2) + node = new ClassificationNode(_client.GetClassificationNodeAsync(ProjectName, StructureGroup, node.RelativePath, 2) .GetResult($"Error retrieving {StructureGroup} from path '{node.RelativePath}'"), ProjectName, _client); } From a77162d92547342bd5e980735bdb99e03c156012 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 00:46:22 -0300 Subject: [PATCH 22/36] Improve directive --- CSharp/TfsCmdlets.Shared/Models/Connection.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CSharp/TfsCmdlets.Shared/Models/Connection.cs b/CSharp/TfsCmdlets.Shared/Models/Connection.cs index 7cac289aa..7509b3381 100644 --- a/CSharp/TfsCmdlets.Shared/Models/Connection.cs +++ b/CSharp/TfsCmdlets.Shared/Models/Connection.cs @@ -4,7 +4,7 @@ #if NETCOREAPP3_1_OR_GREATER using AdoConnection = Microsoft.VisualStudio.Services.WebApi.VssConnection; using Microsoft.VisualStudio.Services.WebApi.Location; -#else +#elif NET471_OR_GREATER using Microsoft.TeamFoundation.Client; using AdoConnection = Microsoft.TeamFoundation.Client.TfsConnection; #endif @@ -14,10 +14,10 @@ namespace TfsCmdlets.Models public sealed class Connection : ModelBase, ITfsServiceProvider { /// Converts Connection to AdoConnection - public static implicit operator AdoConnection(Connection c) => c?.InnerObject; + public static implicit operator AdoConnection(Connection c) => c.InnerObject; /// Converts AdoConnection to Connection - public static implicit operator Connection(AdoConnection c) => c == null? null: new Connection(c); + public static implicit operator Connection(AdoConnection c) => new Connection(c); public Connection(AdoConnection obj) : base(obj) { } From 3acbc9f306619099103a118dd50ebe376c658961 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 00:46:39 -0300 Subject: [PATCH 23/36] Remove obsolete using directive --- .../TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs b/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs index 7acb5068d..7a72eae1b 100644 --- a/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs +++ b/CSharp/TfsCmdlets/Services/Impl/InteractiveAuthenticationImpl.cs @@ -1,5 +1,5 @@ using Microsoft.Identity.Client; -using Microsoft.Identity.Client.Desktop; +// using Microsoft.Identity.Client.Desktop; using System.Reflection; using System.Threading; using System.Threading.Tasks; From 8ceed335203e30684a7145b7871dcaf3fb610190 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 00:46:49 -0300 Subject: [PATCH 24/36] Refactor source generators --- .../TfsCmdlets.SourceGenerators.UnitTests.csproj | 2 +- CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs | 4 +++- .../Generators/Controllers/ControllerInfo.cs | 4 ++-- .../Generators/HttpClients/HttpClientGenerator.cs | 1 + .../TfsCmdlets.SourceGenerators.csproj | 8 ++++++++ CSharp/TfsCmdlets/TfsCmdlets.csproj | 6 ++++-- 6 files changed, 19 insertions(+), 6 deletions(-) diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index 04c19111f..b19ac6c87 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -3,7 +3,7 @@ net8.0 enable - enable + disable false true true diff --git a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs index f1c58d0d6..c5e82ec9f 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/ClassInfo.cs @@ -1,4 +1,6 @@ -using System; +#pragma warning disable CS8632 + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs index e8398b266..ed01eace7 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Controllers/ControllerInfo.cs @@ -20,7 +20,7 @@ public record ControllerInfo : ClassInfo public string Usings { get; } private bool SkipGetProperty { get; } public string CustomCmdletName { get; } - public string CtorArgs { get; } + public string CtorArgsSignature { get; } public string Verb => CmdletInfo.Verb; public string Noun => CmdletInfo.Noun; public string ImportingBaseArgs { get; set; } @@ -53,7 +53,7 @@ internal ControllerInfo(INamedTypeSymbol controller) Client = clientName; GenericArg = (DataType == null ? string.Empty : $"<{DataType}>"); ImportingBaseArgs = GetImportingBaseArgs(); - CtorArgs = string.Join(", ", GetCtorArgs(controller).ToArray()); + CtorArgsSignature = string.Join(", ", GetCtorArgs(controller).ToArray()); // GenerateProperties(); } diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs index 0a8414f1c..f18c54869 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/HttpClients/HttpClientGenerator.cs @@ -31,6 +31,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context) private static string GenerateCode(HttpClientInfo model) { return $$""" + #pragma warning disable CS8669 using System.Composition; {{model.UsingsStatements}} diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 0b5250b3c..5bd31463b 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -36,6 +36,14 @@ C:\Users\h313059\.nuget\packages\powershellstandard.library\7.0.0-preview.1\lib\netstandard2.0\System.Management.Automation.dll + + + + + + + + \ No newline at end of file diff --git a/CSharp/TfsCmdlets/TfsCmdlets.csproj b/CSharp/TfsCmdlets/TfsCmdlets.csproj index 58d79897e..2ccd0323b 100644 --- a/CSharp/TfsCmdlets/TfsCmdlets.csproj +++ b/CSharp/TfsCmdlets/TfsCmdlets.csproj @@ -1,13 +1,15 @@  - net8.0-windows;net472 + netcoreapp3.1;net472 TfsCmdlets true 11.0 $(TargetPath)\TfsCmdlets.xml 1591 preview + true + disable @@ -22,7 +24,7 @@ - + From 191694a9fb950a42c8d6a56750d32936e6bba2a7 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 01:02:57 -0300 Subject: [PATCH 25/36] Update dependencies --- CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj | 2 +- .../TfsCmdlets.SourceGenerators.UnitTests.csproj | 2 +- .../TfsCmdlets.SourceGenerators.csproj | 11 +---------- CSharp/TfsCmdlets/TfsCmdlets.csproj | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj b/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj index c71abdd35..e0444ec6c 100644 --- a/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj +++ b/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj @@ -24,7 +24,7 @@ - + diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index b19ac6c87..16c5085cc 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -35,7 +35,7 @@ - + diff --git a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj index 5bd31463b..e1dc77e3d 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj +++ b/CSharp/TfsCmdlets.SourceGenerators/TfsCmdlets.SourceGenerators.csproj @@ -21,6 +21,7 @@ + @@ -29,16 +30,6 @@ - - - C:\Users\h313059\.nuget\packages\system.composition.attributedmodel\9.0.8\lib\netstandard2.0\System.Composition.AttributedModel.dll - - - C:\Users\h313059\.nuget\packages\powershellstandard.library\7.0.0-preview.1\lib\netstandard2.0\System.Management.Automation.dll - - - - diff --git a/CSharp/TfsCmdlets/TfsCmdlets.csproj b/CSharp/TfsCmdlets/TfsCmdlets.csproj index 2ccd0323b..4fdcd8a6c 100644 --- a/CSharp/TfsCmdlets/TfsCmdlets.csproj +++ b/CSharp/TfsCmdlets/TfsCmdlets.csproj @@ -31,7 +31,7 @@ - + From 8352038f08cb8c27c073ccb5d956ed22c509d9f4 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 01:22:29 -0300 Subject: [PATCH 26/36] Fix reference --- CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj b/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj index e0444ec6c..c73e1b59f 100644 --- a/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj +++ b/CSharp/TfsCmdlets.Legacy/TfsCmdlets.Legacy.csproj @@ -24,7 +24,7 @@ - + From a9140736b446f5c5517f7155383f6caa2971145a Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Tue, 23 Sep 2025 22:23:23 -0300 Subject: [PATCH 27/36] Add new tests --- .../Models/ClassificationNode.cs | 3 +- .../Cmdlets/Admin/AdminCmdletTests.cs | 37 ++++ .../Admin/Registry/RegistryCmdletTests.cs | 26 +++ .../Cmdlets/Artifact/ArtifactCmdletTests.cs | 48 +++++ .../Cmdlets/Can_Create_Get_Cmdlet.cs | 16 -- .../Credential/CredentialCmdletTests.cs | 15 ++ .../ExtensionManagementCmdletTests.cs | 59 ++++++ .../Git/Branch/GitBranchCmdletTests.cs | 26 +++ .../Git/Commit/GitCommitCmdletTests.cs | 15 ++ .../Cmdlets/Git/GitCmdletTests.cs | 70 ++++++++ .../Cmdlets/Git/Item/GitItemCmdletTests.cs | 15 ++ .../Git/Policy/GitPolicyCmdletTests.cs | 26 +++ .../Identity/Group/GroupCmdletTests.cs | 70 ++++++++ .../Cmdlets/Identity/IdentityCmdletTests.cs | 15 ++ .../Cmdlets/Identity/User/UserCmdletTests.cs | 37 ++++ .../Organization/OrganizationCmdletTests.cs | 37 ++++ .../Definition/BuildDefinitionCmdletTests.cs | 59 ++++++ .../Build/Folder/BuildFolderCmdletTests.cs | 37 ++++ .../Build/PipelineBuildCmdletTests.cs | 15 ++ .../ReleaseManagementCmdletTests.cs | 48 +++++ .../Field/ProcessFieldCmdletTests.cs | 37 ++++ .../ProcessTemplateCmdletTests.cs | 48 +++++ .../Cmdlets/RestApi/RestApiCmdletTests.cs | 26 +++ .../ServiceHook/ServiceHookCmdletTests.cs | 48 +++++ .../Cmdlets/Shell/ShellCmdletTests.cs | 26 +++ .../Team/Backlog/TeamBacklogCmdletTests.cs | 15 ++ .../Team/Board/TeamBoardCmdletTests.cs | 37 ++++ .../Team/TeamAdmin/TeamAdminCmdletTests.cs | 37 ++++ .../Cmdlets/Team/TeamCmdletTests.cs | 81 +++++++++ .../Team/TeamMember/TeamMemberCmdletTests.cs | 37 ++++ .../Avatar/TeamProjectAvatarCmdletTests.cs | 37 ++++ .../Member/TeamProjectMemberCmdletTests.cs | 15 ++ .../TeamProject/TeamProjectCmdletTests.cs | 92 ++++++++++ .../TeamProjectCollectionCmdletTests.cs | 59 ++++++ .../TestManagementCmdletTests.cs | 59 ++++++ .../Cmdlets/Wiki/WikiCmdletTests.cs | 37 ++++ .../AreasIterationsCmdletTests.cs | 169 ++++++++++++++++++ .../History/WorkItemHistoryCmdletTests.cs | 15 ++ .../Linking/WorkItemLinkingCmdletTests.cs | 48 +++++ .../Query/WorkItemQueryCmdletTests.cs | 103 +++++++++++ .../Tagging/WorkItemTaggingCmdletTests.cs | 70 ++++++++ .../WorkItemType/WorkItemTypeCmdletTests.cs | 37 ++++ ...rationServerConnectionString.g.verified.cs | 1 + ...ts.Admin.GetInstallationPath.g.verified.cs | 1 + ...in.Registry.GetRegistryValue.g.verified.cs | 1 + ...ets.Cmdlets.Admin.GetVersion.g.verified.cs | 1 + ...in.Registry.SetRegistryValue.g.verified.cs | 1 + Setup/guidgen.py | 15 ++ 48 files changed, 1810 insertions(+), 17 deletions(-) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs delete mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/GitCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs create mode 100644 Setup/guidgen.py diff --git a/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs b/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs index f72e84676..3db6836aa 100644 --- a/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs +++ b/CSharp/TfsCmdlets.Shared/Models/ClassificationNode.cs @@ -59,13 +59,14 @@ public IEnumerable GetChildren(string pattern = "**") => private IEnumerable GetNodesRecursively(ClassificationNode node, string pattern) { +#if !UNIT_TEST_PROJECT if (node.ChildCount == 0 && _client != null) { node = new ClassificationNode(_client.GetClassificationNodeAsync(ProjectName, StructureGroup, node.RelativePath, 2) .GetResult($"Error retrieving {StructureGroup} from path '{node.RelativePath}'"), ProjectName, _client); } - +#endif if (node.ChildCount == 0) yield break; foreach (var c in node.Children.Select(n => new ClassificationNode(n, ProjectName, _client))) diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs new file mode 100644 index 000000000..602a279b8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Admin; + +public partial class AdminCmdletTests +{ + [Fact] + public async Task CanGenerate_GetInstallationPathCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetInstallationPathCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetInstallationPath.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetVersionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetVersionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetVersion.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetConfigurationServerConnectionStringCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetConfigurationServerConnectionStringCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\GetConfigurationServerConnectionString.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs new file mode 100644 index 000000000..c799f5f2b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Admin.Registry; + +public partial class RegistryCmdletTests +{ + [Fact] + public async Task CanGenerate_GetRegistryValueCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetRegistryValueCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\Registry\\GetRegistryValue.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetRegistryValueCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetRegistryValueCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Admin\\Registry\\SetRegistryValue.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs new file mode 100644 index 000000000..971d4af51 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Artifact; + +public partial class ArtifactCmdletTests +{ + [Fact] + public async Task CanGenerate_GetArtifactCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifact.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetArtifactFeedCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactFeedCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifactFeed.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetArtifactFeedViewCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactFeedViewCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifactFeedView.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetArtifactVersionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetArtifactVersionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Artifact\\GetArtifactVersion.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs deleted file mode 100644 index 530fb9588..000000000 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Can_Create_Get_Cmdlet.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers; - -public partial class CmdletGeneratorTests -{ - [Fact] - public async Task CanGenerate_Get_Cmdlet() - { - await TestHelper.VerifyFiles( - nameof(CanGenerate_Get_Cmdlet), - new[] - { - "TfsCmdlets\\Cmdlets\\Git\\GetGitRepository.cs" - }); - } - -} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs new file mode 100644 index 000000000..18c8642e8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Credential; + +public partial class CredentialCmdletTests +{ + [Fact] + public async Task CanGenerate_NewCredentialCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewCredentialCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Credential\\NewCredential.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs new file mode 100644 index 000000000..4d3c1146b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.ExtensionManagement; + +public partial class ExtensionManagementCmdletTests +{ + [Fact] + public async Task CanGenerate_GetExtensionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetExtensionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\GetExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_InstallExtensionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_InstallExtensionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\InstallExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_UninstallExtensionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UninstallExtensionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\UninstallExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableExtensionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableExtensionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\EnableExtension.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisableExtensionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableExtensionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ExtensionManagement\\DisableExtension.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs new file mode 100644 index 000000000..c23ebb6cf --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Git.Branch; + +public partial class GitBranchCmdletTests +{ + [Fact] + public async Task CanGenerate_GetGitBranchCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitBranchCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Branch\\GetGitBranch.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGitBranchCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGitBranchCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Branch\\RemoveGitBranch.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs new file mode 100644 index 000000000..cdf921567 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Git.Commit; + +public partial class GitCommitCmdletTests +{ + [Fact] + public async Task CanGenerate_GetGitCommitCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitCommitCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Commit\\GetGitCommit.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/GitCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/GitCmdletTests.cs new file mode 100644 index 000000000..1f6405097 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/GitCmdletTests.cs @@ -0,0 +1,70 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Git; + +public partial class GitCmdletTests +{ + [Fact] + public async Task CanGenerate_GetGitRepositoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitRepositoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\GetGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewGitRepositoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewGitRepositoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\NewGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGitRepositoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGitRepositoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\RemoveGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameGitRepositoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameGitRepositoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\RenameGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableGitRepositoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableGitRepositoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\EnableGitRepository.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisableGitRepositoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableGitRepositoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\DisableGitRepository.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs new file mode 100644 index 000000000..aa06beb35 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Git.Item; + +public partial class GitItemCmdletTests +{ + [Fact] + public async Task CanGenerate_GetGitItemCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitItemCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Item\\GetGitItem.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs new file mode 100644 index 000000000..8c0f5a2da --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Git.Policy; + +public partial class GitPolicyCmdletTests +{ + [Fact] + public async Task CanGenerate_GetGitPolicyTypeCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitPolicyTypeCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Policy\\GetGitPolicyType.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetGitBranchPolicyCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGitBranchPolicyCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Git\\Policy\\GetGitBranchPolicy.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs new file mode 100644 index 000000000..b497c9cc8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs @@ -0,0 +1,70 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Identity.Group; + +public partial class GroupCmdletTests +{ + [Fact] + public async Task CanGenerate_GetGroupCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGroupCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\GetGroup.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewGroupCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewGroupCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\NewGroup.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGroupCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGroupCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\RemoveGroup.cs" + }); + } + + [Fact] + public async Task CanGenerate_AddGroupMemberCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddGroupMemberCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\AddGroupMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetGroupMemberCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetGroupMemberCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\GetGroupMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveGroupMemberCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveGroupMemberCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\Group\\RemoveGroupMember.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs new file mode 100644 index 000000000..1cec834b5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Identity; + +public partial class IdentityCmdletTests +{ + [Fact] + public async Task CanGenerate_GetIdentityCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetIdentityCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\GetIdentity.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs new file mode 100644 index 000000000..033924a53 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Identity.User; + +public partial class UserCmdletTests +{ + [Fact] + public async Task CanGenerate_GetUserCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetUserCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\User\\GetUser.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewUserCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewUserCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\User\\NewUser.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveUserCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveUserCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Identity\\User\\RemoveUser.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs new file mode 100644 index 000000000..223d4ca62 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Organization; + +public partial class OrganizationCmdletTests +{ + [Fact] + public async Task CanGenerate_ConnectOrganizationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectOrganizationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Organization\\ConnectOrganization.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectOrganizationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectOrganizationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Organization\\DisconnectOrganization.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetOrganizationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetOrganizationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Organization\\GetOrganization.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs new file mode 100644 index 000000000..ceed82c38 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Pipeline.Build.Definition; + +public partial class BuildDefinitionCmdletTests +{ + [Fact] + public async Task CanGenerate_GetBuildDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetBuildDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\GetBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisableBuildDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableBuildDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\DisableBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableBuildDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableBuildDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\EnableBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_ResumeBuildDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ResumeBuildDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\ResumeBuildDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_SuspendBuildDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SuspendBuildDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Definition\\SuspendBuildDefinition.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs new file mode 100644 index 000000000..3a19b26dc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Pipeline.Build.Folder; + +public partial class BuildFolderCmdletTests +{ + [Fact] + public async Task CanGenerate_GetBuildDefinitionFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetBuildDefinitionFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Folder\\GetBuildDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewBuildDefinitionFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewBuildDefinitionFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Folder\\NewBuildDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveBuildDefinitionFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveBuildDefinitionFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\Folder\\RemoveBuildDefinitionFolder.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs new file mode 100644 index 000000000..f9df824dd --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Pipeline.Build; + +public partial class PipelineBuildCmdletTests +{ + [Fact] + public async Task CanGenerate_StartBuildCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_StartBuildCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\Build\\StartBuild.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs new file mode 100644 index 000000000..72ad620f5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Pipeline.ReleaseManagement; + +public partial class ReleaseManagementCmdletTests +{ + [Fact] + public async Task CanGenerate_GetReleaseDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetReleaseDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\GetReleaseDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetReleaseDefinitionFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetReleaseDefinitionFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\GetReleaseDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewReleaseDefinitionFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewReleaseDefinitionFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\NewReleaseDefinitionFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveReleaseDefinitionFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveReleaseDefinitionFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Pipeline\\ReleaseManagement\\RemoveReleaseDefinitionFolder.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs new file mode 100644 index 000000000..d00322883 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.ProcessTemplate.Field; + +public partial class ProcessFieldCmdletTests +{ + [Fact] + public async Task CanGenerate_GetProcessFieldDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetProcessFieldDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\GetProcessFieldDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewProcessFieldDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewProcessFieldDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\NewProcessFieldDefinition.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveProcessFieldDefinitionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveProcessFieldDefinitionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\RemoveProcessFieldDefinition.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs new file mode 100644 index 000000000..9e941f436 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.ProcessTemplate; + +public partial class ProcessTemplateCmdletTests +{ + [Fact] + public async Task CanGenerate_GetProcessTemplateCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetProcessTemplateCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\GetProcessTemplate.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExportProcessTemplateCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportProcessTemplateCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\ExportProcessTemplate.cs" + }); + } + + [Fact] + public async Task CanGenerate_ImportProcessTemplateCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ImportProcessTemplateCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\ImportProcessTemplate.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewProcessTemplateCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewProcessTemplateCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ProcessTemplate\\NewProcessTemplate.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs new file mode 100644 index 000000000..200ef8c91 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.RestApi; + +public partial class RestApiCmdletTests +{ + [Fact] + public async Task CanGenerate_InvokeRestApiCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_InvokeRestApiCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\RestApi\\InvokeRestApi.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetRestClientCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetRestClientCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\RestApi\\GetRestClient.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs new file mode 100644 index 000000000..a234f4a32 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.ServiceHook; + +public partial class ServiceHookCmdletTests +{ + [Fact] + public async Task CanGenerate_GetServiceHookSubscriptionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookSubscriptionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookSubscription.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetServiceHookNotificationHistoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookNotificationHistoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookNotificationHistory.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetServiceHookPublisherCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookPublisherCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookPublisher.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetServiceHookConsumerCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetServiceHookConsumerCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\ServiceHook\\GetServiceHookConsumer.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs new file mode 100644 index 000000000..f2c125172 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs @@ -0,0 +1,26 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Shell; + +public partial class ShellCmdletTests +{ + [Fact] + public async Task CanGenerate_EnterShellCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnterShellCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Shell\\EnterShell.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExitShellCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExitShellCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Shell\\ExitShell.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs new file mode 100644 index 000000000..57819a561 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Team.Backlog; + +public partial class TeamBacklogCmdletTests +{ + [Fact] + public async Task CanGenerate_GetTeamBacklogLevelCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamBacklogLevelCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Backlog\\GetTeamBacklogLevel.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs new file mode 100644 index 000000000..d02c2b30d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Team.Board; + +public partial class TeamBoardCmdletTests +{ + [Fact] + public async Task CanGenerate_GetTeamBoardCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamBoardCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Board\\GetTeamBoard.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamBoardCardRuleCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamBoardCardRuleCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Board\\GetTeamBoardCardRule.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetTeamBoardCardRuleCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetTeamBoardCardRuleCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\Board\\SetTeamBoardCardRule.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs new file mode 100644 index 000000000..419b92dea --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Team.TeamAdmin; + +public partial class TeamAdminCmdletTests +{ + [Fact] + public async Task CanGenerate_AddTeamAdminCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddTeamAdminCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamAdmin\\AddTeamAdmin.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamAdminCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamAdminCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamAdmin\\GetTeamAdmin.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamAdminCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamAdminCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamAdmin\\RemoveTeamAdmin.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamCmdletTests.cs new file mode 100644 index 000000000..281e87823 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamCmdletTests.cs @@ -0,0 +1,81 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Team; + +public partial class TeamCmdletTests +{ + [Fact] + public async Task CanGenerate_ConnectTeamCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectTeamCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\ConnectTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectTeamCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectTeamCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\DisconnectTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\GetTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTeamCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTeamCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\NewTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\RemoveTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameTeamCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameTeamCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\RenameTeam.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetTeamCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetTeamCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\SetTeam.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs new file mode 100644 index 000000000..5f205b54a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Team.TeamMember; + +public partial class TeamMemberCmdletTests +{ + [Fact] + public async Task CanGenerate_AddTeamMemberCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddTeamMemberCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamMember\\AddTeamMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamMemberCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamMemberCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamMember\\GetTeamMember.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamMemberCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamMemberCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Team\\TeamMember\\RemoveTeamMember.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs new file mode 100644 index 000000000..c34bc30b6 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.TeamProject.Avatar; + +public partial class TeamProjectAvatarCmdletTests +{ + [Fact] + public async Task CanGenerate_RemoveTeamProjectAvatarCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamProjectAvatarCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Avatar\\RemoveTeamProjectAvatar.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExportTeamProjectAvatarCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportTeamProjectAvatarCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Avatar\\ExportTeamProjectAvatar.cs" + }); + } + + [Fact] + public async Task CanGenerate_ImportTeamProjectAvatarCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ImportTeamProjectAvatarCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Avatar\\ImportTeamProjectAvatar.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs new file mode 100644 index 000000000..2fbaa3bf8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.TeamProject.Member; + +public partial class TeamProjectMemberCmdletTests +{ + [Fact] + public async Task CanGenerate_GetTeamProjectMemberCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamProjectMemberCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\Member\\GetTeamProjectMember.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs new file mode 100644 index 000000000..087b4e3d0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs @@ -0,0 +1,92 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.TeamProject; + +public partial class TeamProjectCmdletTests +{ + [Fact] + public async Task CanGenerate_ConnectTeamProjectCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectTeamProjectCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\ConnectTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectTeamProjectCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectTeamProjectCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\DisconnectTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamProjectCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamProjectCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\GetTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTeamProjectCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTeamProjectCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\NewTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamProjectCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamProjectCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\RemoveTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameTeamProjectCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameTeamProjectCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\RenameTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetTeamProjectCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetTeamProjectCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\SetTeamProject.cs" + }); + } + + [Fact] + public async Task CanGenerate_UndoTeamProjectRemovalCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UndoTeamProjectRemovalCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProject\\UndoTeamProjectRemoval.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs new file mode 100644 index 000000000..11e77cace --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.TeamProjectCollection; + +public partial class TeamProjectCollectionCmdletTests +{ + [Fact] + public async Task CanGenerate_ConnectTeamProjectCollectionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ConnectTeamProjectCollectionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\ConnectTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisconnectTeamProjectCollectionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisconnectTeamProjectCollectionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\DisconnectTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetTeamProjectCollectionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTeamProjectCollectionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\GetTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTeamProjectCollectionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTeamProjectCollectionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\NewTeamProjectCollection.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTeamProjectCollectionCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTeamProjectCollectionCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TeamProjectCollection\\RemoveTeamProjectCollection.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs new file mode 100644 index 000000000..e66c0d7ad --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs @@ -0,0 +1,59 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.TestManagement; + +public partial class TestManagementCmdletTests +{ + [Fact] + public async Task CanGenerate_GetTestPlanCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetTestPlanCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\GetTestPlan.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewTestPlanCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewTestPlanCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\NewTestPlan.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveTestPlanCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveTestPlanCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\RemoveTestPlan.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameTestPlanCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameTestPlanCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\RenameTestPlan.cs" + }); + } + + [Fact] + public async Task CanGenerate_CopyTestPlanCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_CopyTestPlanCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\TestManagement\\CopyTestPlan.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs new file mode 100644 index 000000000..b49d6b411 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.Wiki; + +public partial class WikiCmdletTests +{ + [Fact] + public async Task CanGenerate_GetWikiCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWikiCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Wiki\\GetWiki.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWikiCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWikiCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Wiki\\NewWiki.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveWikiCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveWikiCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\Wiki\\RemoveWiki.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs new file mode 100644 index 000000000..e8070e84a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs @@ -0,0 +1,169 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.WorkItem.AreasIterations; + +public partial class AreasIterationsCmdletTests +{ + [Fact] + public async Task CanGenerate_GetAreaCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetAreaCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\GetArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewAreaCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewAreaCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\NewArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveAreaCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveAreaCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\RemoveArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameAreaCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameAreaCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\RenameArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_MoveAreaCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_MoveAreaCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\MoveArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_CopyAreaCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_CopyAreaCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\CopyArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_TestAreaCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_TestAreaCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\TestArea.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\GetIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\NewIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\RemoveIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\RenameIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_MoveIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_MoveIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\MoveIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_CopyIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_CopyIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\CopyIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_TestIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_TestIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\TestIteration.cs" + }); + } + + [Fact] + public async Task CanGenerate_SetIterationCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_SetIterationCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\AreasIterations\\SetIteration.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs new file mode 100644 index 000000000..39e880f3d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs @@ -0,0 +1,15 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.WorkItem.History; + +public partial class WorkItemHistoryCmdletTests +{ + [Fact] + public async Task CanGenerate_GetWorkItemHistoryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemHistoryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\History\\GetWorkItemHistory.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs new file mode 100644 index 000000000..0508d8907 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs @@ -0,0 +1,48 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.WorkItem.Linking; + +public partial class WorkItemLinkingCmdletTests +{ + [Fact] + public async Task CanGenerate_GetWorkItemLinkCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemLinkCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Linking\\GetWorkItemLink.cs" + }); + } + + [Fact] + public async Task CanGenerate_AddWorkItemLinkCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_AddWorkItemLinkCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Linking\\AddWorkItemLink.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetWorkItemLinkEndTypeCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemLinkEndTypeCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Linking\\GetWorkItemLinkEndType.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExportWorkItemAttachmentCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportWorkItemAttachmentCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Linking\\ExportWorkItemAttachment.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs new file mode 100644 index 000000000..0a16ff247 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs @@ -0,0 +1,103 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.WorkItem.Query; + +public partial class WorkItemQueryCmdletTests +{ + [Fact] + public async Task CanGenerate_GetWorkItemQueryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemQueryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\GetWorkItemQuery.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetWorkItemQueryItemControllerCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemQueryItemControllerCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\GetWorkItemQueryItemController.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWorkItemQueryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWorkItemQueryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\NewWorkItemQuery.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWorkItemQueryItemControllerCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWorkItemQueryItemControllerCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\NewWorkItemQueryItemController.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExportWorkItemQueryCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportWorkItemQueryCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\ExportWorkItemQuery.cs" + }); + } + + [Fact] + public async Task CanGenerate_UndoWorkItemQueryRemovalCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UndoWorkItemQueryRemovalCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\UndoWorkItemQueryRemoval.cs" + }); + } + + [Fact] + public async Task CanGenerate_GetWorkItemQueryFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemQueryFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\GetWorkItemQueryFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWorkItemQueryFolderCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWorkItemQueryFolderCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\NewWorkItemQueryFolder.cs" + }); + } + + [Fact] + public async Task CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Query\\UndoWorkItemQueryFolderRemoval.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs new file mode 100644 index 000000000..86cf2db78 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs @@ -0,0 +1,70 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.WorkItem.Tagging; + +public partial class WorkItemTaggingCmdletTests +{ + [Fact] + public async Task CanGenerate_GetWorkItemTagCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemTagCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\GetWorkItemTag.cs" + }); + } + + [Fact] + public async Task CanGenerate_NewWorkItemTagCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_NewWorkItemTagCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\NewWorkItemTag.cs" + }); + } + + [Fact] + public async Task CanGenerate_RemoveWorkItemTagCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RemoveWorkItemTagCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\RemoveWorkItemTag.cs" + }); + } + + [Fact] + public async Task CanGenerate_RenameWorkItemTagCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_RenameWorkItemTagCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\RenameWorkItemTag.cs" + }); + } + + [Fact] + public async Task CanGenerate_EnableWorkItemTagCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_EnableWorkItemTagCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\EnableWorkItemTag.cs" + }); + } + + [Fact] + public async Task CanGenerate_DisableWorkItemTagCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_DisableWorkItemTagCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\Tagging\\DisableWorkItemTag.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs new file mode 100644 index 000000000..662d0d2cc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs @@ -0,0 +1,37 @@ +namespace TfsCmdlets.SourceGenerators.UnitTests.Cmdlets.WorkItem.WorkItemType; + +public partial class WorkItemTypeCmdletTests +{ + [Fact] + public async Task CanGenerate_GetWorkItemTypeCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_GetWorkItemTypeCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\WorkItemType\\GetWorkItemType.cs" + }); + } + + [Fact] + public async Task CanGenerate_ExportWorkItemTypeCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ExportWorkItemTypeCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\WorkItemType\\ExportWorkItemType.cs" + }); + } + + [Fact] + public async Task CanGenerate_ImportWorkItemTypeCmdlet() + { + await TestHelper.VerifyFiles( + nameof(CanGenerate_ImportWorkItemTypeCmdlet), + new[] + { + "TfsCmdlets\\Cmdlets\\WorkItem\\WorkItemType\\ImportWorkItemType.cs" + }); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs new file mode 100644 index 000000000..5f282702b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Setup/guidgen.py b/Setup/guidgen.py new file mode 100644 index 000000000..c671ba11a --- /dev/null +++ b/Setup/guidgen.py @@ -0,0 +1,15 @@ +#! /usr/bin/python + +import uuid + +terminalNamespaceGUID = uuid.UUID("{f65ddb7e-706b-4499-8a50-40313caf510a}") +appNamespaceGUID = uuid.uuid5(terminalNamespaceGUID, "TfsCmdlets".encode("UTF-16LE").decode("ASCII")) + +profileGUID51 = uuid.uuid5(appNamespaceGUID, "Azure DevOps Shell (PS 5.1)".encode("UTF-16LE").decode("ASCII")) +profileGUID7x = uuid.uuid5(appNamespaceGUID, "Azure DevOps Shell (PS 7.x)".encode("UTF-16LE").decode("ASCII")) + +print("Windows Terminal profile GUIDs") +print("==============================") +print("") +print(f"PS 5.1: {{{profileGUID51}}}") +print(f"PS 7.x: {{{profileGUID7x}}}") From dd767fcf8cd816512e9971c847d9c49d050b0459 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 03:11:31 -0300 Subject: [PATCH 28/36] Update unit tests --- .../Can_Create_HttpClients.cs | 2 +- ...sCmdlets.SourceGenerators.UnitTests.csproj | 2 - ...dentity.Group.AddGroupMember.g.verified.cs | 19 +++++ ....Team.TeamAdmin.AddTeamAdmin.g.verified.cs | 30 ++++++++ ...eam.TeamMember.AddTeamMember.g.verified.cs | 30 ++++++++ ...Item.Linking.AddWorkItemLink.g.verified.cs | 19 +++++ ...nization.ConnectOrganization.g.verified.cs | 52 +++++++++++++ ...ets.Cmdlets.Team.ConnectTeam.g.verified.cs | 62 +++++++++++++++ ...amProject.ConnectTeamProject.g.verified.cs | 57 ++++++++++++++ ...ConnectTeamProjectCollection.g.verified.cs | 51 +++++++++++++ ...tem.AreasIterations.CopyArea.g.verified.cs | 28 +++++++ ...reasIterations.CopyIteration.g.verified.cs | 28 +++++++ ....TestManagement.CopyTestPlan.g.verified.cs | 25 +++++++ ...ition.DisableBuildDefinition.g.verified.cs | 30 ++++++++ ...nManagement.DisableExtension.g.verified.cs | 25 +++++++ ...ets.Git.DisableGitRepository.g.verified.cs | 30 ++++++++ ...m.Tagging.DisableWorkItemTag.g.verified.cs | 30 ++++++++ ...ation.DisconnectOrganization.g.verified.cs | 8 ++ ....Cmdlets.Team.DisconnectTeam.g.verified.cs | 8 ++ ...roject.DisconnectTeamProject.g.verified.cs | 8 ++ ...connectTeamProjectCollection.g.verified.cs | 8 ++ ...nition.EnableBuildDefinition.g.verified.cs | 30 ++++++++ ...onManagement.EnableExtension.g.verified.cs | 25 +++++++ ...lets.Git.EnableGitRepository.g.verified.cs | 30 ++++++++ ...em.Tagging.EnableWorkItemTag.g.verified.cs | 30 ++++++++ ...ets.Cmdlets.Shell.EnterShell.g.verified.cs | 8 ++ ...lets.Cmdlets.Shell.ExitShell.g.verified.cs | 8 ++ ...mplate.ExportProcessTemplate.g.verified.cs | 19 +++++ ...atar.ExportTeamProjectAvatar.g.verified.cs | 24 ++++++ ...ing.ExportWorkItemAttachment.g.verified.cs | 19 +++++ ...em.Query.ExportWorkItemQuery.g.verified.cs | 25 +++++++ ...kItemType.ExportWorkItemType.g.verified.cs | 25 +++++++ ...Item.AreasIterations.GetArea.g.verified.cs | 28 +++++++ ...Cmdlets.Artifact.GetArtifact.g.verified.cs | 25 +++++++ ...ets.Artifact.GetArtifactFeed.g.verified.cs | 25 +++++++ ...Artifact.GetArtifactFeedView.g.verified.cs | 25 +++++++ ....Artifact.GetArtifactVersion.g.verified.cs | 25 +++++++ ...efinition.GetBuildDefinition.g.verified.cs | 25 +++++++ ...der.GetBuildDefinitionFolder.g.verified.cs | 25 +++++++ ...rationServerConnectionString.g.verified.cs | 10 ++- ...nsionManagement.GetExtension.g.verified.cs | 20 +++++ ...lets.Git.Branch.GetGitBranch.g.verified.cs | 25 +++++++ ...it.Policy.GetGitBranchPolicy.g.verified.cs | 25 +++++++ ...lets.Git.Commit.GetGitCommit.g.verified.cs | 25 +++++++ ....Cmdlets.Git.Item.GetGitItem.g.verified.cs | 25 +++++++ ....Git.Policy.GetGitPolicyType.g.verified.cs | 25 +++++++ ...Cmdlets.Git.GetGitRepository.g.verified.cs | 25 +++++++ ...lets.Identity.Group.GetGroup.g.verified.cs | 25 +++++++ ...dentity.Group.GetGroupMember.g.verified.cs | 20 +++++ ...Cmdlets.Identity.GetIdentity.g.verified.cs | 20 +++++ ...ts.Admin.GetInstallationPath.g.verified.cs | 10 ++- ...AreasIterations.GetIteration.g.verified.cs | 28 +++++++ ...Organization.GetOrganization.g.verified.cs | 52 +++++++++++++ ...sTemplate.GetProcessTemplate.g.verified.cs | 20 +++++ ...in.Registry.GetRegistryValue.g.verified.cs | 21 +++++- ...agement.GetReleaseDefinition.g.verified.cs | 25 +++++++ ...t.GetReleaseDefinitionFolder.g.verified.cs | 25 +++++++ ...mdlets.RestApi.GetRestClient.g.verified.cs | 20 +++++ ...eHook.GetServiceHookConsumer.g.verified.cs | 20 +++++ ...rviceHookNotificationHistory.g.verified.cs | 20 +++++ ...Hook.GetServiceHookPublisher.g.verified.cs | 20 +++++ ...k.GetServiceHookSubscription.g.verified.cs | 20 +++++ ....Team.TeamAdmin.GetTeamAdmin.g.verified.cs | 30 ++++++++ ....Backlog.GetTeamBacklogLevel.g.verified.cs | 30 ++++++++ ...m.Board.GetTeamBoardCardRule.g.verified.cs | 30 ++++++++ ...lets.Team.Board.GetTeamBoard.g.verified.cs | 30 ++++++++ ...Cmdlets.Cmdlets.Team.GetTeam.g.verified.cs | 75 +++++++++++++++++++ ...eam.TeamMember.GetTeamMember.g.verified.cs | 30 ++++++++ ...s.TeamProject.GetTeamProject.g.verified.cs | 62 +++++++++++++++ ...ion.GetTeamProjectCollection.g.verified.cs | 51 +++++++++++++ ....Member.GetTeamProjectMember.g.verified.cs | 25 +++++++ ...s.TestManagement.GetTestPlan.g.verified.cs | 25 +++++++ ...mdlets.Identity.User.GetUser.g.verified.cs | 20 +++++ ...ets.Cmdlets.Admin.GetVersion.g.verified.cs | 21 +++++- ...Cmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs | 25 +++++++ ...m.History.GetWorkItemHistory.g.verified.cs | 20 +++++ ...Item.Linking.GetWorkItemLink.g.verified.cs | 20 +++++ ....Linking.GetWorkItemLinkType.g.verified.cs | 19 +++++ ...kItem.Query.GetWorkItemQuery.g.verified.cs | 25 +++++++ ...older.GetWorkItemQueryFolder.g.verified.cs | 25 +++++++ ...kItem.Tagging.GetWorkItemTag.g.verified.cs | 25 +++++++ ...WorkItemType.GetWorkItemType.g.verified.cs | 25 +++++++ ...mplate.ImportProcessTemplate.g.verified.cs | 19 +++++ ...atar.ImportTeamProjectAvatar.g.verified.cs | 24 ++++++ ...kItemType.ImportWorkItemType.g.verified.cs | 24 ++++++ ...nManagement.InstallExtension.g.verified.cs | 20 +++++ ...mdlets.RestApi.InvokeRestApi.g.verified.cs | 29 +++++++ ...tem.AreasIterations.MoveArea.g.verified.cs | 28 +++++++ ...reasIterations.MoveIteration.g.verified.cs | 28 +++++++ ...Item.AreasIterations.NewArea.g.verified.cs | 33 ++++++++ ...der.NewBuildDefinitionFolder.g.verified.cs | 30 ++++++++ ...ets.Credential.NewCredential.g.verified.cs | 43 +++++++++++ ...Cmdlets.Git.NewGitRepository.g.verified.cs | 30 ++++++++ ...lets.Identity.Group.NewGroup.g.verified.cs | 30 ++++++++ ...AreasIterations.NewIteration.g.verified.cs | 33 ++++++++ ...sTemplate.NewProcessTemplate.g.verified.cs | 25 +++++++ ...t.NewReleaseDefinitionFolder.g.verified.cs | 30 ++++++++ ...Cmdlets.Cmdlets.Team.NewTeam.g.verified.cs | 30 ++++++++ ...s.TeamProject.NewTeamProject.g.verified.cs | 25 +++++++ ...ion.NewTeamProjectCollection.g.verified.cs | 19 +++++ ...s.TestManagement.NewTestPlan.g.verified.cs | 30 ++++++++ ...mdlets.Identity.User.NewUser.g.verified.cs | 25 +++++++ ...Cmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs | 30 ++++++++ ...kItem.Query.NewWorkItemQuery.g.verified.cs | 30 ++++++++ ...older.NewWorkItemQueryFolder.g.verified.cs | 30 ++++++++ ...kItem.Tagging.NewWorkItemTag.g.verified.cs | 30 ++++++++ ...m.AreasIterations.RemoveArea.g.verified.cs | 28 +++++++ ....RemoveBuildDefinitionFolder.g.verified.cs | 25 +++++++ ...s.Git.Branch.RemoveGitBranch.g.verified.cs | 25 +++++++ ...lets.Git.RemoveGitRepository.g.verified.cs | 24 ++++++ ...s.Identity.Group.RemoveGroup.g.verified.cs | 25 +++++++ ...tity.Group.RemoveGroupMember.g.verified.cs | 19 +++++ ...asIterations.RemoveIteration.g.verified.cs | 28 +++++++ ...RemoveProcessFieldDefinition.g.verified.cs | 20 +++++ ...emoveReleaseDefinitionFolder.g.verified.cs | 25 +++++++ ...am.TeamAdmin.RemoveTeamAdmin.g.verified.cs | 30 ++++++++ ...lets.Cmdlets.Team.RemoveTeam.g.verified.cs | 25 +++++++ ....TeamMember.RemoveTeamMember.g.verified.cs | 30 ++++++++ ...atar.RemoveTeamProjectAvatar.g.verified.cs | 19 +++++ ...eamProject.RemoveTeamProject.g.verified.cs | 19 +++++ ....RemoveTeamProjectCollection.g.verified.cs | 13 ++++ ...estManagement.RemoveTestPlan.g.verified.cs | 24 ++++++ ...ets.Identity.User.RemoveUser.g.verified.cs | 20 +++++ ...lets.Cmdlets.Wiki.RemoveWiki.g.verified.cs | 24 ++++++ ...em.Tagging.RemoveWorkItemTag.g.verified.cs | 24 ++++++ ...m.AreasIterations.RenameArea.g.verified.cs | 33 ++++++++ ...lets.Git.RenameGitRepository.g.verified.cs | 30 ++++++++ ...asIterations.RenameIteration.g.verified.cs | 33 ++++++++ ...lets.Cmdlets.Team.RenameTeam.g.verified.cs | 30 ++++++++ ...eamProject.RenameTeamProject.g.verified.cs | 24 ++++++ ...estManagement.RenameTestPlan.g.verified.cs | 30 ++++++++ ...em.Tagging.RenameWorkItemTag.g.verified.cs | 30 ++++++++ ...nition.ResumeBuildDefinition.g.verified.cs | 25 +++++++ ...AreasIterations.SetIteration.g.verified.cs | 33 ++++++++ ...in.Registry.SetRegistryValue.g.verified.cs | 26 ++++++- ...m.Board.SetTeamBoardCardRule.g.verified.cs | 35 +++++++++ ...Cmdlets.Cmdlets.Team.SetTeam.g.verified.cs | 30 ++++++++ ...s.TeamProject.SetTeamProject.g.verified.cs | 25 +++++++ ...ts.Pipeline.Build.StartBuild.g.verified.cs | 25 +++++++ ...ition.SuspendBuildDefinition.g.verified.cs | 25 +++++++ ...tem.AreasIterations.TestArea.g.verified.cs | 28 +++++++ ...reasIterations.TestIteration.g.verified.cs | 28 +++++++ ...oject.UndoTeamProjectRemoval.g.verified.cs | 19 +++++ ...doWorkItemQueryFolderRemoval.g.verified.cs | 25 +++++++ ...ery.UndoWorkItemQueryRemoval.g.verified.cs | 25 +++++++ ...anagement.UninstallExtension.g.verified.cs | 20 +++++ 146 files changed, 3805 insertions(+), 8 deletions(-) rename CSharp/TfsCmdlets.SourceGeneratores.UnitTests/{HttpClientGenerator => HttpClients}/Can_Create_HttpClients.cs (99%) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_HttpClients.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs similarity index 99% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_HttpClients.cs rename to CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs index de43cd444..d6a96bfd8 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClientGenerator/Can_Create_HttpClients.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs @@ -1,4 +1,4 @@ -namespace TfsCmdlets.SourceGenerators.UnitTests.HttpClientGenerator; +namespace TfsCmdlets.SourceGenerators.UnitTests.HttpClients; public partial class HttpClientGeneratorTests { diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index 16c5085cc..da7189f2c 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -54,9 +54,7 @@ - - diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs new file mode 100644 index 000000000..10ccb413f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.cs +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + [Cmdlet("Add", "TfsGroupMember", SupportsShouldProcess = true)] + public partial class AddGroupMember: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs new file mode 100644 index 000000000..b0fbd2cae --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.cs +namespace TfsCmdlets.Cmdlets.Team.TeamAdmin +{ + [Cmdlet("Add", "TfsTeamAdmin", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class AddTeamAdmin: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter()] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs new file mode 100644 index 000000000..efa4dfdb9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.cs +namespace TfsCmdlets.Cmdlets.Team.TeamMember +{ + [Cmdlet("Add", "TfsTeamMember", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class AddTeamMember: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter()] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs new file mode 100644 index 000000000..d5d2b61d1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Linking +{ + [Cmdlet("Add", "TfsWorkItemLink", SupportsShouldProcess = true)] + public partial class AddWorkItemLink: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs new file mode 100644 index 000000000..3f2bf4f3a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.cs +namespace TfsCmdlets.Cmdlets.Organization +{ + [Cmdlet("Connect", "TfsOrganization", DefaultParameterSetName = "Prompt for credential")] + [OutputType(typeof(Microsoft.VisualStudio.Services.WebApi.VssConnection))] + public partial class ConnectOrganization: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter(ValueFromPipeline=true)] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + protected override string CommandName => "ConnectTeamProjectCollection"; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs new file mode 100644 index 000000000..e7377c535 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: TfsCmdlets.Cmdlets.Team.ConnectTeam.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + [Cmdlet("Connect", "TfsTeam", DefaultParameterSetName = "Prompt for credential")] + [OutputType(typeof(TfsCmdlets.Models.Team))] + public partial class ConnectTeam: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs new file mode 100644 index 000000000..13522328b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("Connect", "TfsTeamProject", DefaultParameterSetName = "Prompt for credential")] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject))] + public partial class ConnectTeamProject: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs new file mode 100644 index 000000000..e10396166 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.cs +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + [Cmdlet("Connect", "TfsTeamProjectCollection", DefaultParameterSetName = "Prompt for credential")] + [OutputType(typeof(Microsoft.VisualStudio.Services.WebApi.VssConnection))] + public partial class ConnectTeamProjectCollection: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter(ValueFromPipeline=true)] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs new file mode 100644 index 000000000..63e224890 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Copy", "TfsArea", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class CopyArea: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Areas; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs new file mode 100644 index 000000000..cff4b35c2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Copy", "TfsIteration", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class CopyIteration: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs new file mode 100644 index 000000000..0df7f0635 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.cs +namespace TfsCmdlets.Cmdlets.TestManagement +{ + [Cmdlet("Copy", "TfsTestPlan", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan))] + public partial class CopyTestPlan: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs new file mode 100644 index 000000000..c7f5d705d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + [Cmdlet("Disable", "TfsBuildDefinition", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference))] + public partial class DisableBuildDefinition: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs new file mode 100644 index 000000000..a6c93f9cf --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.cs +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + [Cmdlet("Disable", "TfsExtension", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension))] + public partial class DisableExtension: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs new file mode 100644 index 000000000..dd4a1f3c3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.cs +namespace TfsCmdlets.Cmdlets.Git +{ + [Cmdlet("Disable", "TfsGitRepository", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository))] + public partial class DisableGitRepository: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs new file mode 100644 index 000000000..c90dcc4e6 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + [Cmdlet("Disable", "TfsWorkItemTag", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition))] + public partial class DisableWorkItemTag: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs new file mode 100644 index 000000000..59bc04779 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs @@ -0,0 +1,8 @@ +//HintName: TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.cs +namespace TfsCmdlets.Cmdlets.Organization +{ + [Cmdlet("Disconnect", "TfsOrganization")] + public partial class DisconnectOrganization: CmdletBase + { protected override string CommandName => "DisconnectTeamProjectCollection"; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs new file mode 100644 index 000000000..aead66254 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs @@ -0,0 +1,8 @@ +//HintName: TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + [Cmdlet("Disconnect", "TfsTeam")] + public partial class DisconnectTeam: CmdletBase + { + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs new file mode 100644 index 000000000..a35f4b9ed --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs @@ -0,0 +1,8 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("Disconnect", "TfsTeamProject")] + public partial class DisconnectTeamProject: CmdletBase + { + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs new file mode 100644 index 000000000..79ccadbb1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs @@ -0,0 +1,8 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.cs +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + [Cmdlet("Disconnect", "TfsTeamProjectCollection")] + public partial class DisconnectTeamProjectCollection: CmdletBase + { + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs new file mode 100644 index 000000000..3e54eede5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + [Cmdlet("Enable", "TfsBuildDefinition", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference))] + public partial class EnableBuildDefinition: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs new file mode 100644 index 000000000..927e314f0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.cs +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + [Cmdlet("Enable", "TfsExtension", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension))] + public partial class EnableExtension: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs new file mode 100644 index 000000000..03d87f8b5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.cs +namespace TfsCmdlets.Cmdlets.Git +{ + [Cmdlet("Enable", "TfsGitRepository", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository))] + public partial class EnableGitRepository: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs new file mode 100644 index 000000000..d73bc8ded --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + [Cmdlet("Enable", "TfsWorkItemTag", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition))] + public partial class EnableWorkItemTag: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs new file mode 100644 index 000000000..bdcb784d7 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs @@ -0,0 +1,8 @@ +//HintName: TfsCmdlets.Cmdlets.Shell.EnterShell.g.cs +namespace TfsCmdlets.Cmdlets.Shell +{ + [Cmdlet("Enter", "TfsShell", SupportsShouldProcess = true)] + public partial class EnterShell: CmdletBase + { + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs new file mode 100644 index 000000000..89043bda3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs @@ -0,0 +1,8 @@ +//HintName: TfsCmdlets.Cmdlets.Shell.ExitShell.g.cs +namespace TfsCmdlets.Cmdlets.Shell +{ + [Cmdlet("Exit", "TfsShell", SupportsShouldProcess = true)] + public partial class ExitShell: CmdletBase + { + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs new file mode 100644 index 000000000..b7f8ecf68 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.cs +namespace TfsCmdlets.Cmdlets.ProcessTemplate +{ + [Cmdlet("Export", "TfsProcessTemplate", SupportsShouldProcess = true)] + public partial class ExportProcessTemplate: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs new file mode 100644 index 000000000..553753647 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject.Avatar +{ + [Cmdlet("Export", "TfsTeamProjectAvatar", SupportsShouldProcess = true)] + public partial class ExportTeamProjectAvatar: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs new file mode 100644 index 000000000..8c5d4ffea --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Linking +{ + [Cmdlet("Export", "TfsWorkItemAttachment", SupportsShouldProcess = true)] + public partial class ExportWorkItemAttachment: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs new file mode 100644 index 000000000..36f97bba6 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Query +{ + [Cmdlet("Export", "TfsWorkItemQuery", SupportsShouldProcess = true, DefaultParameterSetName = "Export to output stream")] + [OutputType(typeof(string))] + public partial class ExportWorkItemQuery: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs new file mode 100644 index 000000000..dc4407bd9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.WorkItemType +{ + [Cmdlet("Export", "TfsWorkItemType", SupportsShouldProcess = true, DefaultParameterSetName = "Export to file")] + [OutputType(typeof(string))] + public partial class ExportWorkItemType: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs new file mode 100644 index 000000000..15df5b950 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Get", "TfsArea")] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class GetArea: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Areas; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs new file mode 100644 index 000000000..f9f878351 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.cs +namespace TfsCmdlets.Cmdlets.Artifact +{ + [Cmdlet("Get", "TfsArtifact")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Feed.WebApi.Package))] + public partial class GetArtifact: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs new file mode 100644 index 000000000..7128171f2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.cs +namespace TfsCmdlets.Cmdlets.Artifact +{ + [Cmdlet("Get", "TfsArtifactFeed")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Feed.WebApi.Feed))] + public partial class GetArtifactFeed: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs new file mode 100644 index 000000000..5b56fb6ef --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.cs +namespace TfsCmdlets.Cmdlets.Artifact +{ + [Cmdlet("Get", "TfsArtifactFeedView")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView))] + public partial class GetArtifactFeedView: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs new file mode 100644 index 000000000..ec1cd40cc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.cs +namespace TfsCmdlets.Cmdlets.Artifact +{ + [Cmdlet("Get", "TfsArtifactVersion")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersion))] + public partial class GetArtifactVersion: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs new file mode 100644 index 000000000..c2414172b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + [Cmdlet("Get", "TfsBuildDefinition")] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference))] + public partial class GetBuildDefinition: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs new file mode 100644 index 000000000..d22d0a9f7 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Folder +{ + [Cmdlet("Get", "TfsBuildDefinitionFolder")] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.Folder))] + public partial class GetBuildDefinitionFolder: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs index 5f282702b..7531852fb 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs @@ -1 +1,9 @@ - \ No newline at end of file +//HintName: TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.cs +namespace TfsCmdlets.Cmdlets.Admin +{ + [Cmdlet("Get", "TfsConfigurationServerConnectionString")] + [OutputType(typeof(string))] + public partial class GetConfigurationServerConnectionString: CmdletBase + { + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs new file mode 100644 index 000000000..a9b3fbdf1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.cs +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + [Cmdlet("Get", "TfsExtension")] + [OutputType(typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension))] + public partial class GetExtension: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs new file mode 100644 index 000000000..11169901d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.cs +namespace TfsCmdlets.Cmdlets.Git.Branch +{ + [Cmdlet("Get", "TfsGitBranch", DefaultParameterSetName = "Get by name")] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats))] + public partial class GetGitBranch: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs new file mode 100644 index 000000000..7070b546f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.cs +namespace TfsCmdlets.Cmdlets.Git.Policy +{ + [Cmdlet("Get", "TfsGitBranchPolicy")] + [OutputType(typeof(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration))] + public partial class GetGitBranchPolicy: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs new file mode 100644 index 000000000..cd436b854 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.cs +namespace TfsCmdlets.Cmdlets.Git.Commit +{ + [Cmdlet("Get", "TfsGitCommit", DefaultParameterSetName = "Search commits")] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef))] + public partial class GetGitCommit: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs new file mode 100644 index 000000000..a2d66ffa0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.cs +namespace TfsCmdlets.Cmdlets.Git.Item +{ + [Cmdlet("Get", "TfsGitItem", DefaultParameterSetName = "Get by commit SHA")] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitItem))] + public partial class GetGitItem: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs new file mode 100644 index 000000000..fe4f57697 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.cs +namespace TfsCmdlets.Cmdlets.Git.Policy +{ + [Cmdlet("Get", "TfsGitPolicyType")] + [OutputType(typeof(Microsoft.TeamFoundation.Policy.WebApi.PolicyType))] + public partial class GetGitPolicyType: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs new file mode 100644 index 000000000..fa33460db --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Git.GetGitRepository.g.cs +namespace TfsCmdlets.Cmdlets.Git +{ + [Cmdlet("Get", "TfsGitRepository", DefaultParameterSetName = "Get by ID or Name")] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository))] + public partial class GetGitRepository: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs new file mode 100644 index 000000000..699506319 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.cs +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + [Cmdlet("Get", "TfsGroup")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Graph.Client.GraphGroup))] + public partial class GetGroup: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs new file mode 100644 index 000000000..4a6290f3d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.cs +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + [Cmdlet("Get", "TfsGroupMember")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class GetGroupMember: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs new file mode 100644 index 000000000..905ab327d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.GetIdentity.g.cs +namespace TfsCmdlets.Cmdlets.Identity +{ + [Cmdlet("Get", "TfsIdentity")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class GetIdentity: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs index 5f282702b..31eac0a2c 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs @@ -1 +1,9 @@ - \ No newline at end of file +//HintName: TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.cs +namespace TfsCmdlets.Cmdlets.Admin +{ + [Cmdlet("Get", "TfsInstallationPath", DefaultParameterSetName = "Use computer name")] + [OutputType(typeof(string))] + public partial class GetInstallationPath: CmdletBase + { + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs new file mode 100644 index 000000000..7013aea32 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Get", "TfsIteration")] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class GetIteration: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs new file mode 100644 index 000000000..bc4da4c3d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: TfsCmdlets.Cmdlets.Organization.GetOrganization.g.cs +namespace TfsCmdlets.Cmdlets.Organization +{ + [Cmdlet("Get", "TfsOrganization", DefaultParameterSetName = "Get by organization")] + [OutputType(typeof(Microsoft.TeamFoundation.Client.TfsTeamProjectCollection))] + public partial class GetOrganization: CmdletBase + { + /// + /// HELP_PARAM_SERVER + /// + [Parameter(ParameterSetName="Get by organization", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Cached credentials", ValueFromPipeline=true)] + [Parameter(ParameterSetName="User name and password", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Credential object", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Personal Access Token", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Prompt for credential", ValueFromPipeline=true)] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + protected override string CommandName => "GetTeamProjectCollection"; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs new file mode 100644 index 000000000..82437a56d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.cs +namespace TfsCmdlets.Cmdlets.ProcessTemplate +{ + [Cmdlet("Get", "TfsProcessTemplate")] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.Process))] + public partial class GetProcessTemplate: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs index 5f282702b..b91d03920 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs @@ -1 +1,20 @@ - \ No newline at end of file +//HintName: TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.cs +namespace TfsCmdlets.Cmdlets.Admin.Registry +{ + [Cmdlet("Get", "TfsRegistryValue")] + [OutputType(typeof(object))] + public partial class GetRegistryValue: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs new file mode 100644 index 000000000..b978b2b5d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + [Cmdlet("Get", "TfsReleaseDefinition")] + [OutputType(typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition))] + public partial class GetReleaseDefinition: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs new file mode 100644 index 000000000..507a034aa --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + [Cmdlet("Get", "TfsReleaseDefinitionFolder")] + [OutputType(typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder))] + public partial class GetReleaseDefinitionFolder: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs new file mode 100644 index 000000000..918326395 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.cs +namespace TfsCmdlets.Cmdlets.RestApi +{ + [Cmdlet("Get", "TfsRestClient", DefaultParameterSetName = "Get by collection")] + [OutputType(typeof(Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase))] + public partial class GetRestClient: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs new file mode 100644 index 000000000..e0bc0e956 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.cs +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + [Cmdlet("Get", "TfsServiceHookConsumer")] + [OutputType(typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Consumer))] + public partial class GetServiceHookConsumer: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs new file mode 100644 index 000000000..8bad59933 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.cs +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + [Cmdlet("Get", "TfsServiceHookNotificationHistory")] + [OutputType(typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Notification))] + public partial class GetServiceHookNotificationHistory: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs new file mode 100644 index 000000000..47ce83706 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.cs +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + [Cmdlet("Get", "TfsServiceHookPublisher")] + [OutputType(typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Publisher))] + public partial class GetServiceHookPublisher: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs new file mode 100644 index 000000000..5087f1930 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.cs +namespace TfsCmdlets.Cmdlets.ServiceHook +{ + [Cmdlet("Get", "TfsServiceHookSubscription")] + [OutputType(typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription))] + public partial class GetServiceHookSubscription: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs new file mode 100644 index 000000000..db57b2587 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.cs +namespace TfsCmdlets.Cmdlets.Team.TeamAdmin +{ + [Cmdlet("Get", "TfsTeamAdmin")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class GetTeamAdmin: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter(ValueFromPipeline=true)] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs new file mode 100644 index 000000000..4d1143283 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.cs +namespace TfsCmdlets.Cmdlets.Team.Backlog +{ + [Cmdlet("Get", "TfsTeamBacklogLevel")] + [OutputType(typeof(Microsoft.TeamFoundation.Work.WebApi.BacklogLevelConfiguration))] + public partial class GetTeamBacklogLevel: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter(ValueFromPipeline=true)] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs new file mode 100644 index 000000000..06c07c1e5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.cs +namespace TfsCmdlets.Cmdlets.Team.Board +{ + [Cmdlet("Get", "TfsTeamBoardCardRule")] + [OutputType(typeof(Microsoft.TeamFoundation.Work.WebApi.Rule))] + public partial class GetTeamBoardCardRule: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter()] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs new file mode 100644 index 000000000..96c421f60 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.cs +namespace TfsCmdlets.Cmdlets.Team.Board +{ + [Cmdlet("Get", "TfsTeamBoard")] + [OutputType(typeof(Microsoft.TeamFoundation.Work.WebApi.Board))] + public partial class GetTeamBoard: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter(ValueFromPipeline=true)] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs new file mode 100644 index 000000000..a99e0d810 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: TfsCmdlets.Cmdlets.Team.GetTeam.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + [Cmdlet("Get", "TfsTeam", DefaultParameterSetName = "Get by team")] + [OutputType(typeof(TfsCmdlets.Models.Team))] + public partial class GetTeam: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ParameterSetName="Get by team", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Cached credentials", ValueFromPipeline=true)] + [Parameter(ParameterSetName="User name and password", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Credential object", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Personal Access Token", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Prompt for credential", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Get default team", ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ParameterSetName="Get by team")] + [Parameter(ParameterSetName="Cached credentials")] + [Parameter(ParameterSetName="User name and password")] + [Parameter(ParameterSetName="Credential object")] + [Parameter(ParameterSetName="Personal Access Token")] + [Parameter(ParameterSetName="Prompt for credential")] + [Parameter(ParameterSetName="Get default team")] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter(ParameterSetName="Get by team")] + [Parameter(ParameterSetName="Cached credentials")] + [Parameter(ParameterSetName="User name and password")] + [Parameter(ParameterSetName="Credential object")] + [Parameter(ParameterSetName="Personal Access Token")] + [Parameter(ParameterSetName="Prompt for credential")] + [Parameter(ParameterSetName="Get default team")] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs new file mode 100644 index 000000000..0497fe8c0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.cs +namespace TfsCmdlets.Cmdlets.Team.TeamMember +{ + [Cmdlet("Get", "TfsTeamMember")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class GetTeamMember: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter(ValueFromPipeline=true)] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs new file mode 100644 index 000000000..58319667c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("Get", "TfsTeamProject", DefaultParameterSetName = "Get by project")] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject))] + public partial class GetTeamProject: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ParameterSetName="Get by project", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Cached credentials", ValueFromPipeline=true)] + [Parameter(ParameterSetName="User name and password", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Credential object", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Personal Access Token", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Prompt for credential", ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter(ParameterSetName="Get by project")] + [Parameter(ParameterSetName="Cached credentials")] + [Parameter(ParameterSetName="User name and password")] + [Parameter(ParameterSetName="Credential object")] + [Parameter(ParameterSetName="Personal Access Token")] + [Parameter(ParameterSetName="Prompt for credential")] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs new file mode 100644 index 000000000..072f0af83 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.cs +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + [Cmdlet("Get", "TfsTeamProjectCollection", DefaultParameterSetName = "Get by collection")] + [OutputType(typeof(Microsoft.TeamFoundation.Client.TfsTeamProjectCollection))] + public partial class GetTeamProjectCollection: CmdletBase + { + /// + /// HELP_PARAM_SERVER + /// + [Parameter(ParameterSetName="Get by collection", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Cached credentials", ValueFromPipeline=true)] + [Parameter(ParameterSetName="User name and password", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Credential object", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Personal Access Token", ValueFromPipeline=true)] + [Parameter(ParameterSetName="Prompt for credential", ValueFromPipeline=true)] + public object Server { get; set; } + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs new file mode 100644 index 000000000..a688197ad --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject.Member +{ + [Cmdlet("Get", "TfsTeamProjectMember")] + [OutputType(typeof(TfsCmdlets.Models.TeamProjectMember))] + public partial class GetTeamProjectMember: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs new file mode 100644 index 000000000..897ce872b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.cs +namespace TfsCmdlets.Cmdlets.TestManagement +{ + [Cmdlet("Get", "TfsTestPlan")] + [OutputType(typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan))] + public partial class GetTestPlan: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs new file mode 100644 index 000000000..8be7de083 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.User.GetUser.g.cs +namespace TfsCmdlets.Cmdlets.Identity.User +{ + [Cmdlet("Get", "TfsUser", DefaultParameterSetName = "Get by ID or Name")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Licensing.AccountEntitlement))] + public partial class GetUser: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs index 5f282702b..50327e948 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs @@ -1 +1,20 @@ - \ No newline at end of file +//HintName: TfsCmdlets.Cmdlets.Admin.GetVersion.g.cs +namespace TfsCmdlets.Cmdlets.Admin +{ + [Cmdlet("Get", "TfsVersion")] + [OutputType(typeof(TfsCmdlets.Models.ServerVersion))] + public partial class GetVersion: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs new file mode 100644 index 000000000..e49b3a723 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Wiki.GetWiki.g.cs +namespace TfsCmdlets.Cmdlets.Wiki +{ + [Cmdlet("Get", "TfsWiki", DefaultParameterSetName = "Get all wikis")] + [OutputType(typeof(Microsoft.TeamFoundation.Wiki.WebApi.WikiV2))] + public partial class GetWiki: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs new file mode 100644 index 000000000..0caa5a9c9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.History +{ + [Cmdlet("Get", "TfsWorkItemHistory")] + [OutputType(typeof(TfsCmdlets.Models.WorkItemHistoryEntry))] + public partial class GetWorkItemHistory: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs new file mode 100644 index 000000000..1a53d624d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Linking +{ + [Cmdlet("Get", "TfsWorkItemLink")] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemRelation))] + public partial class GetWorkItemLink: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs new file mode 100644 index 000000000..adbd24b46 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Linking +{ + [Cmdlet("Get", "TfsWorkItemLinkType")] + public partial class GetWorkItemLinkType: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter(ValueFromPipeline=true)] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs new file mode 100644 index 000000000..cc9e68100 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Query +{ + [Cmdlet("Get", "TfsWorkItemQuery")] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem))] + public partial class GetWorkItemQuery: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs new file mode 100644 index 000000000..81e144be5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Query.Folder +{ + [Cmdlet("Get", "TfsWorkItemQueryFolder")] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem))] + public partial class GetWorkItemQueryFolder: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs new file mode 100644 index 000000000..368724f75 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + [Cmdlet("Get", "TfsWorkItemTag")] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition))] + public partial class GetWorkItemTag: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs new file mode 100644 index 000000000..9e850e9b3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.WorkItemType +{ + [Cmdlet("Get", "TfsWorkItemType", DefaultParameterSetName = "Get by type")] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemType))] + public partial class GetWorkItemType: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter(ValueFromPipeline=true)] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs new file mode 100644 index 000000000..a9b4fe6e2 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.cs +namespace TfsCmdlets.Cmdlets.ProcessTemplate +{ + [Cmdlet("Import", "TfsProcessTemplate", SupportsShouldProcess = true)] + public partial class ImportProcessTemplate: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs new file mode 100644 index 000000000..a9edd4eb1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject.Avatar +{ + [Cmdlet("Import", "TfsTeamProjectAvatar", SupportsShouldProcess = true)] + public partial class ImportTeamProjectAvatar: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs new file mode 100644 index 000000000..c19dd87b3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.WorkItemType +{ + [Cmdlet("Import", "TfsWorkItemType", SupportsShouldProcess = true)] + public partial class ImportWorkItemType: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs new file mode 100644 index 000000000..22da0bba1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.cs +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + [Cmdlet("Install", "TfsExtension", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension))] + public partial class InstallExtension: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs new file mode 100644 index 000000000..1a5847a41 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.cs +namespace TfsCmdlets.Cmdlets.RestApi +{ + [Cmdlet("Invoke", "TfsRestApi", SupportsShouldProcess = true)] + public partial class InvokeRestApi: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter()] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs new file mode 100644 index 000000000..55a9e9dc1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Move", "TfsArea", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class MoveArea: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Areas; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs new file mode 100644 index 000000000..43844bf98 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Move", "TfsIteration", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class MoveIteration: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs new file mode 100644 index 000000000..b333bf1c7 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("New", "TfsArea", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class NewArea: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Areas; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs new file mode 100644 index 000000000..3d65e69f8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Folder +{ + [Cmdlet("New", "TfsBuildDefinitionFolder", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.Folder))] + public partial class NewBuildDefinitionFolder: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs new file mode 100644 index 000000000..9602ab1a5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: TfsCmdlets.Cmdlets.Credential.NewCredential.g.cs +namespace TfsCmdlets.Cmdlets.Credential +{ + [Cmdlet("New", "TfsCredential", SupportsShouldProcess = true, DefaultParameterSetName = "Cached credentials")] + [OutputType(typeof(Microsoft.VisualStudio.Services.Common.VssCredentials))] + public partial class NewCredential: CmdletBase + { + /// + /// HELP_PARAM_CACHED_CREDENTIAL + /// + [Parameter(ParameterSetName = "Cached credentials", Mandatory = true)] + public SwitchParameter Cached { get; set; } + /// + /// HELP_PARAM_USER_NAME + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public string UserName { get; set; } + /// + /// HELP_PARAM_PASSWORD + /// + [Parameter(ParameterSetName = "User name and password", Mandatory = true)] + public System.Security.SecureString Password { get; set; } + /// + /// HELP_PARAM_CREDENTIAL + /// + [Parameter(ParameterSetName = "Credential object", Mandatory = true)] + [ValidateNotNull()] + public object Credential { get; set; } + /// + /// HELP_PARAM_PERSONAL_ACCESS_TOKEN + /// + [Parameter(ParameterSetName = "Personal Access Token", Mandatory = true)] + [Alias("Pat")] + public string PersonalAccessToken { get; set; } + /// + /// HELP_PARAM_INTERACTIVE + /// + [Parameter(ParameterSetName = "Prompt for credential")] + public SwitchParameter Interactive { get; set; } + protected override string CommandName => "GetCredential"; + protected override bool ReturnsValue => true; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs new file mode 100644 index 000000000..eae69414d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Git.NewGitRepository.g.cs +namespace TfsCmdlets.Cmdlets.Git +{ + [Cmdlet("New", "TfsGitRepository", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository))] + public partial class NewGitRepository: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs new file mode 100644 index 000000000..8ec954700 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.cs +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + [Cmdlet("New", "TfsGroup", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Graph.Client.GraphGroup))] + public partial class NewGroup: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs new file mode 100644 index 000000000..0bc64e07f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("New", "TfsIteration", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class NewIteration: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs new file mode 100644 index 000000000..e028a4308 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.cs +namespace TfsCmdlets.Cmdlets.ProcessTemplate +{ + [Cmdlet("New", "TfsProcessTemplate", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.Process))] + public partial class NewProcessTemplate: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs new file mode 100644 index 000000000..871cb049a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + [Cmdlet("New", "TfsReleaseDefinitionFolder", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder))] + public partial class NewReleaseDefinitionFolder: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs new file mode 100644 index 000000000..1c0dd9088 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.NewTeam.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + [Cmdlet("New", "TfsTeam", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.Team))] + public partial class NewTeam: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs new file mode 100644 index 000000000..2cfabc427 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("New", "TfsTeamProject", SupportsShouldProcess = true, DefaultParameterSetName = "Get by project")] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject))] + public partial class NewTeamProject: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs new file mode 100644 index 000000000..a2f250b89 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.cs +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + [Cmdlet("New", "TfsTeamProjectCollection", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.Connection))] + public partial class NewTeamProjectCollection: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs new file mode 100644 index 000000000..8d858c48d --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.cs +namespace TfsCmdlets.Cmdlets.TestManagement +{ + [Cmdlet("New", "TfsTestPlan", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan))] + public partial class NewTestPlan: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs new file mode 100644 index 000000000..41f3ca5f1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.User.NewUser.g.cs +namespace TfsCmdlets.Cmdlets.Identity.User +{ + [Cmdlet("New", "TfsUser", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Licensing.AccountEntitlement))] + public partial class NewUser: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs new file mode 100644 index 000000000..e3e099252 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Wiki.NewWiki.g.cs +namespace TfsCmdlets.Cmdlets.Wiki +{ + [Cmdlet("New", "TfsWiki", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Wiki.WebApi.WikiV2))] + public partial class NewWiki: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs new file mode 100644 index 000000000..a3116dbe9 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Query +{ + [Cmdlet("New", "TfsWorkItemQuery", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem))] + public partial class NewWorkItemQuery: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs new file mode 100644 index 000000000..d15bb1b83 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Query.Folder +{ + [Cmdlet("New", "TfsWorkItemQueryFolder", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem))] + public partial class NewWorkItemQueryFolder: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs new file mode 100644 index 000000000..d442763a5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + [Cmdlet("New", "TfsWorkItemTag", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition))] + public partial class NewWorkItemTag: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs new file mode 100644 index 000000000..f9b301f0c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Remove", "TfsArea", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class RemoveArea: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Areas; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs new file mode 100644 index 000000000..706ee6dc7 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Folder +{ + [Cmdlet("Remove", "TfsBuildDefinitionFolder", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.Folder))] + public partial class RemoveBuildDefinitionFolder: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs new file mode 100644 index 000000000..44bcd75b3 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.cs +namespace TfsCmdlets.Cmdlets.Git.Branch +{ + [Cmdlet("Remove", "TfsGitBranch", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats))] + public partial class RemoveGitBranch: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs new file mode 100644 index 000000000..3ff48be07 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.cs +namespace TfsCmdlets.Cmdlets.Git +{ + [Cmdlet("Remove", "TfsGitRepository", SupportsShouldProcess = true)] + public partial class RemoveGitRepository: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs new file mode 100644 index 000000000..0eda5af0c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.cs +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + [Cmdlet("Remove", "TfsGroup", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Graph.Client.GraphGroup))] + public partial class RemoveGroup: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs new file mode 100644 index 000000000..9c8c08a7b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.cs +namespace TfsCmdlets.Cmdlets.Identity.Group +{ + [Cmdlet("Remove", "TfsGroupMember", SupportsShouldProcess = true)] + public partial class RemoveGroupMember: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs new file mode 100644 index 000000000..bb2d0780b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Remove", "TfsIteration", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class RemoveIteration: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs new file mode 100644 index 000000000..ad83785cb --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.cs +namespace TfsCmdlets.Cmdlets.Process.Field +{ + [Cmdlet("Remove", "TfsProcessFieldDefinition", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField))] + public partial class RemoveProcessFieldDefinition: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs new file mode 100644 index 000000000..8d338239b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement +{ + [Cmdlet("Remove", "TfsReleaseDefinitionFolder", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder))] + public partial class RemoveReleaseDefinitionFolder: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs new file mode 100644 index 000000000..6908db50a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.cs +namespace TfsCmdlets.Cmdlets.Team.TeamAdmin +{ + [Cmdlet("Remove", "TfsTeamAdmin", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class RemoveTeamAdmin: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter()] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs new file mode 100644 index 000000000..cf874aedf --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Team.RemoveTeam.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + [Cmdlet("Remove", "TfsTeam", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam))] + public partial class RemoveTeam: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs new file mode 100644 index 000000000..24bc183c8 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.cs +namespace TfsCmdlets.Cmdlets.Team.TeamMember +{ + [Cmdlet("Remove", "TfsTeamMember", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Identity.Identity))] + public partial class RemoveTeamMember: CmdletBase + { + /// + /// HELP_PARAM_TEAM + /// + [Parameter()] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs new file mode 100644 index 000000000..0ab73d80a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject.Avatar +{ + [Cmdlet("Remove", "TfsTeamProjectAvatar", SupportsShouldProcess = true)] + public partial class RemoveTeamProjectAvatar: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs new file mode 100644 index 000000000..92cd1bd18 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("Remove", "TfsTeamProject", SupportsShouldProcess = true)] + public partial class RemoveTeamProject: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs new file mode 100644 index 000000000..c82a4c3d1 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs @@ -0,0 +1,13 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.cs +namespace TfsCmdlets.Cmdlets.TeamProjectCollection +{ + [Cmdlet("Remove", "TfsTeamProjectCollection", SupportsShouldProcess = true)] + public partial class RemoveTeamProjectCollection: CmdletBase + { + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs new file mode 100644 index 000000000..026e89332 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.cs +namespace TfsCmdlets.Cmdlets.TestManagement +{ + [Cmdlet("Remove", "TfsTestPlan", SupportsShouldProcess = true)] + public partial class RemoveTestPlan: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs new file mode 100644 index 000000000..93df5fb36 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.cs +namespace TfsCmdlets.Cmdlets.Identity.User +{ + [Cmdlet("Remove", "TfsUser", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.Licensing.AccountEntitlement))] + public partial class RemoveUser: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs new file mode 100644 index 000000000..0b3cb1e3c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.cs +namespace TfsCmdlets.Cmdlets.Wiki +{ + [Cmdlet("Remove", "TfsWiki", SupportsShouldProcess = true, DefaultParameterSetName = "Remove code wiki")] + public partial class RemoveWiki: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs new file mode 100644 index 000000000..b2026c71e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + [Cmdlet("Remove", "TfsWorkItemTag", SupportsShouldProcess = true)] + public partial class RemoveWorkItemTag: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs new file mode 100644 index 000000000..30f1de84a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Rename", "TfsArea", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class RenameArea: CmdletBase + { + /// + /// HELP_PARAM_NEWNAME + /// + [Parameter(Position = 1, Mandatory = true)] + public string NewName { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Areas; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs new file mode 100644 index 000000000..cfe343ddf --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.cs +namespace TfsCmdlets.Cmdlets.Git +{ + [Cmdlet("Rename", "TfsGitRepository", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository))] + public partial class RenameGitRepository: CmdletBase + { + /// + /// HELP_PARAM_NEWNAME + /// + [Parameter(Position = 1, Mandatory = true)] + public string NewName { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs new file mode 100644 index 000000000..fd25d1e12 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Rename", "TfsIteration", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class RenameIteration: CmdletBase + { + /// + /// HELP_PARAM_NEWNAME + /// + [Parameter(Position = 1, Mandatory = true)] + public string NewName { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs new file mode 100644 index 000000000..81492eb05 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.RenameTeam.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + [Cmdlet("Rename", "TfsTeam", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam))] + public partial class RenameTeam: CmdletBase + { + /// + /// HELP_PARAM_NEWNAME + /// + [Parameter(Position = 1, Mandatory = true)] + public string NewName { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs new file mode 100644 index 000000000..d6dd2bfaa --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("Rename", "TfsTeamProject", SupportsShouldProcess = true)] + public partial class RenameTeamProject: CmdletBase + { + /// + /// HELP_PARAM_NEWNAME + /// + [Parameter(Position = 1, Mandatory = true)] + public string NewName { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs new file mode 100644 index 000000000..f363bc53e --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.cs +namespace TfsCmdlets.Cmdlets.TestManagement +{ + [Cmdlet("Rename", "TfsTestPlan", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan))] + public partial class RenameTestPlan: CmdletBase + { + /// + /// HELP_PARAM_NEWNAME + /// + [Parameter(Position = 1, Mandatory = true)] + public string NewName { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs new file mode 100644 index 000000000..a7ef3dffa --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Tagging +{ + [Cmdlet("Rename", "TfsWorkItemTag", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTagDefinition))] + public partial class RenameWorkItemTag: CmdletBase + { + /// + /// HELP_PARAM_NEWNAME + /// + [Parameter(Position = 1, Mandatory = true)] + public string NewName { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs new file mode 100644 index 000000000..373aa9db0 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + [Cmdlet("Resume", "TfsBuildDefinition", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference))] + public partial class ResumeBuildDefinition: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs new file mode 100644 index 000000000..f3b7a8e4c --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Set", "TfsIteration", SupportsShouldProcess = true)] + [OutputType(typeof(TfsCmdlets.Models.ClassificationNode))] + public partial class SetIteration: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs index 5f282702b..65fd718dc 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs @@ -1 +1,25 @@ - \ No newline at end of file +//HintName: TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.cs +namespace TfsCmdlets.Cmdlets.Admin.Registry +{ + [Cmdlet("Set", "TfsRegistryValue", SupportsShouldProcess = true)] + [OutputType(typeof(object))] + public partial class SetRegistryValue: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs new file mode 100644 index 000000000..5acf90d99 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.cs +namespace TfsCmdlets.Cmdlets.Team.Board +{ + [Cmdlet("Set", "TfsTeamBoardCardRule", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Work.WebApi.BoardCardRuleSettings))] + public partial class SetTeamBoardCardRule: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_TEAM + /// + [Parameter()] + public object Team { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs new file mode 100644 index 000000000..72cbd4051 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: TfsCmdlets.Cmdlets.Team.SetTeam.g.cs +namespace TfsCmdlets.Cmdlets.Team +{ + [Cmdlet("Set", "TfsTeam", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam))] + public partial class SetTeam: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs new file mode 100644 index 000000000..ce73cbe6f --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("Set", "TfsTeamProject", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Core.WebApi.TeamProject))] + public partial class SetTeamProject: CmdletBase + { + /// + /// HELP_PARAM_PASSTHRU + /// + [Parameter()] + public SwitchParameter Passthru { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs new file mode 100644 index 000000000..07e1dbc6b --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build +{ + [Cmdlet("Start", "TfsBuild", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference))] + public partial class StartBuild: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs new file mode 100644 index 000000000..c877f5e52 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.cs +namespace TfsCmdlets.Cmdlets.Pipeline.Build.Definition +{ + [Cmdlet("Suspend", "TfsBuildDefinition", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference))] + public partial class SuspendBuildDefinition: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs new file mode 100644 index 000000000..54a69dc55 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Test", "TfsArea")] + [OutputType(typeof(bool))] + public partial class TestArea: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Areas; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs new file mode 100644 index 000000000..f7c296cba --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.AreasIterations +{ + [Cmdlet("Test", "TfsIteration")] + [OutputType(typeof(bool))] + public partial class TestIteration: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + [Parameter] + internal Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup StructureGroup => + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup.Iterations; + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs new file mode 100644 index 000000000..8cc7a255a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.cs +namespace TfsCmdlets.Cmdlets.TeamProject +{ + [Cmdlet("Undo", "TfsTeamProjectRemoval", SupportsShouldProcess = true)] + public partial class UndoTeamProjectRemoval: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs new file mode 100644 index 000000000..be4fdee38 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Query +{ + [Cmdlet("Undo", "TfsWorkItemQueryFolderRemoval", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem))] + public partial class UndoWorkItemQueryFolderRemoval: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs new file mode 100644 index 000000000..d5b2bde36 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.cs +namespace TfsCmdlets.Cmdlets.WorkItem.Query +{ + [Cmdlet("Undo", "TfsWorkItemQueryRemoval", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem))] + public partial class UndoWorkItemQueryRemoval: CmdletBase + { + /// + /// HELP_PARAM_PROJECT + /// + [Parameter()] + public object Project { get; set; } + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs new file mode 100644 index 000000000..756668785 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.cs +namespace TfsCmdlets.Cmdlets.ExtensionManagement +{ + [Cmdlet("Uninstall", "TfsExtension", SupportsShouldProcess = true)] + [OutputType(typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension))] + public partial class UninstallExtension: CmdletBase + { + /// + /// HELP_PARAM_COLLECTION + /// + [Alias("Organization")] + [Parameter()] + public object Collection { get; set; } + /// + /// HELP_PARAM_SERVER + /// + [Parameter()] + public object Server { get; set; } + } +} \ No newline at end of file From e1ab275bc359fc9a283b4bf3ce7bf571f0afadfe Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 03:15:48 -0300 Subject: [PATCH 29/36] Remove unused methods --- .../TfsCmdlets.SourceGenerators/Extensions.cs | 154 +++++++++--------- 1 file changed, 74 insertions(+), 80 deletions(-) diff --git a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs index 454c45fea..00e7473aa 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Extensions.cs @@ -1,8 +1,6 @@ using System; using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Runtime.InteropServices; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -65,16 +63,16 @@ public static T GetAttributeNamedValue(this AttributeData attr, string argume public static string GetUsingStatements(this INamedTypeSymbol symbol) => symbol.GetDeclaringSyntax()?.FindParentOfType()?.Usings.ToString(); - public static bool HasAttributeNamedValue(this INamedTypeSymbol symbol, string attributeName, string argumentName) - => symbol.GetAttributes() - .First(a => a.AttributeClass.Name.Equals(attributeName))? - .NamedArguments.Any(a => a.Key.Equals(argumentName)) ?? false; + //public static bool HasAttributeNamedValue(this INamedTypeSymbol symbol, string attributeName, string argumentName) + // => symbol.GetAttributes() + // .First(a => a.AttributeClass.Name.Equals(attributeName))? + // .NamedArguments.Any(a => a.Key.Equals(argumentName)) ?? false; public static bool HasAttributeNamedValue(this AttributeData attr, string argumentName) => attr.NamedArguments.Any(a => a.Key.Equals(argumentName)); public static bool HasAttribute(this ISymbol symbol, string attributeName) - => symbol.GetAttributes().Any(a => a.AttributeClass.Name.Equals(attributeName)); + => symbol.GetAttributes().Any(a => a?.AttributeClass?.Name.Equals(attributeName) ?? false); public static int FindIndex(this string input, Predicate predicate, int startIndex = 0) { @@ -116,24 +114,24 @@ public static string GetImportingConstructorArguments(this INamedTypeSymbol type return string.Join(", ", parms); } - public static string GetConstructorArguments(this INamedTypeSymbol type) - { - return string.Join(", ", type - .Constructors[0] - .Parameters - .Select(parm => parm.Name)); - } + //public static string GetConstructorArguments(this INamedTypeSymbol type) + //{ + // return string.Join(", ", type + // .Constructors[0] + // .Parameters + // .Select(parm => parm.Name)); + //} - public static IEnumerable GetPropertiesWithAttribute(this INamedTypeSymbol type) - where T : Attribute - => GetPropertiesWithAttribute(type, typeof(T).Name); + //public static IEnumerable GetPropertiesWithAttribute(this INamedTypeSymbol type) + // where T : Attribute + // => GetPropertiesWithAttribute(type, typeof(T).Name); public static IEnumerable GetPropertiesWithAttribute(this INamedTypeSymbol type, string attributeName) => type .GetMembers() .OfType() .Where(p => p.GetAttributes().Any( - a => a.AttributeClass.Name.Equals(attributeName))); + a => a?.AttributeClass?.Name.Equals(attributeName) ?? false)); public static string FullName(this ITypeSymbol symbol) { @@ -149,70 +147,66 @@ public static string FullName(this INamedTypeSymbol symbol) if (symbol == null) return null; - var prefix = FullNamespace(symbol); - var suffix = ""; + var fullName = symbol.ToString(); + var suffix = string.Empty; + if (symbol.Arity > 0) { suffix = "<" + string.Join(", ", symbol.TypeArguments.Select(targ => FullName((INamedTypeSymbol)targ))) + ">"; } - if (prefix != "") - return prefix + "." + symbol.Name + suffix; - else - return symbol.Name + suffix; + return fullName + suffix; } - public static string FullName(this ClassDeclarationSyntax cds) - { - if (cds == null) - return null; + //public static string FullName(this ClassDeclarationSyntax cds) + //{ + // if (cds == null) + // return null; - var prefix = FullNamespace(cds); - var suffix = ""; - var name = cds.Identifier.ValueText; + // var prefix = FullNamespace(cds); + // var suffix = ""; + // var name = cds.Identifier.ValueText; - if (cds.Arity > 0) - { - suffix = "<" + string.Join(", ", cds.TypeParameterList.Parameters.Select(targ => targ)) + ">"; - } + // if (cds.Arity > 0) + // { + // suffix = "<" + string.Join(", ", cds.TypeParameterList.Parameters.Select(targ => targ)) + ">"; + // } - if (prefix != "") - return prefix + "." + cds.Identifier.ValueText + suffix; - else - return cds.Identifier.ValueText + suffix; - } + // if (prefix != "") + // return prefix + "." + cds.Identifier.ValueText + suffix; + // else + // return cds.Identifier.ValueText + suffix; + //} - public static string FullNamespace(this ISymbol symbol) + public static string FullNamespace(this INamedTypeSymbol symbol) { - var parts = new Stack(); - INamespaceSymbol iterator = (symbol as INamespaceSymbol) ?? symbol.ContainingNamespace; - while (iterator != null) - { - if (!string.IsNullOrEmpty(iterator.Name)) - parts.Push(iterator.Name); - iterator = iterator.ContainingNamespace; - } - return string.Join(".", parts); + var fullName = symbol.ToString(); + return fullName.Substring(0, fullName.LastIndexOf('.')); } - public static string FullNamespace(this SyntaxNode node) - { - var parts = new Stack(); - var iterator = (node as NamespaceDeclarationSyntax) ?? ((node as ClassDeclarationSyntax)?.Parent as NamespaceDeclarationSyntax); + //public static string FullNamespace(this INamespaceSymbol symbol) + //{ + // return symbol.ToString(); + //} + + //public static string FullNamespace(this SyntaxNode node) + //{ + // var parts = new Stack(); + // var iterator = (node as NamespaceDeclarationSyntax) ?? ((node as ClassDeclarationSyntax)?.Parent as NamespaceDeclarationSyntax); - while (iterator != null) - { - parts.Push(iterator.Name.ToFullString()); ; - iterator = iterator.Parent as NamespaceDeclarationSyntax; - } - return string.Join(".", parts); - } + // while (iterator != null) + // { + // parts.Push(iterator.Name.ToFullString()); ; + // iterator = iterator.Parent as NamespaceDeclarationSyntax; + // } + // return string.Join(".", parts); + //} - public static bool HasDefaultConstructor(this INamedTypeSymbol symbol) - { - return symbol.Constructors.Any(c => c.Parameters.Count() == 0); - } + //public static bool HasDefaultConstructor(this INamedTypeSymbol symbol) + //{ + // return symbol.Constructors.Any(c => c.Parameters.Count() == 0); + //} public static IMethodSymbol GetImportingConstructor(this INamedTypeSymbol symbol) { @@ -222,27 +216,27 @@ public static IMethodSymbol GetImportingConstructor(this INamedTypeSymbol symbol return ctors.FirstOrDefault(m => m.MethodKind == MethodKind.Constructor && m.GetAttributes().Any( - a => a.AttributeClass.Name == "ImportingConstructorAttribute")); + a => a?.AttributeClass?.Name == "ImportingConstructorAttribute")); } - public static IEnumerable ReadWriteScalarProperties(this INamedTypeSymbol symbol) - { - return symbol.GetMembers().OfType().Where(p => p.CanRead() && p.CanWrite() && !p.HasParameters()); - } + //public static IEnumerable ReadWriteScalarProperties(this INamedTypeSymbol symbol) + //{ + // return symbol.GetMembers().OfType().Where(p => p.CanRead() && p.CanWrite() && !p.HasParameters()); + //} - public static IEnumerable ReadableScalarProperties(this INamedTypeSymbol symbol) - { - return symbol.GetMembers().OfType().Where(p => p.CanRead() && !p.HasParameters()); - } + //public static IEnumerable ReadableScalarProperties(this INamedTypeSymbol symbol) + //{ + // return symbol.GetMembers().OfType().Where(p => p.CanRead() && !p.HasParameters()); + //} - public static IEnumerable WritableScalarProperties(this INamedTypeSymbol symbol) - { - return symbol.GetMembers().OfType().Where(p => p.CanWrite() && !p.HasParameters()); - } + //public static IEnumerable WritableScalarProperties(this INamedTypeSymbol symbol) + //{ + // return symbol.GetMembers().OfType().Where(p => p.CanWrite() && !p.HasParameters()); + //} - public static bool CanRead(this IPropertySymbol symbol) => symbol.GetMethod != null; + //public static bool CanRead(this IPropertySymbol symbol) => symbol.GetMethod != null; - public static bool CanWrite(this IPropertySymbol symbol) => symbol.SetMethod != null; + //public static bool CanWrite(this IPropertySymbol symbol) => symbol.SetMethod != null; public static bool HasParameters(this IPropertySymbol symbol) => symbol.Parameters.Any(); From 7cc999cfb683b09d1b8841826a5d7d8f6a4d2649 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 03:16:21 -0300 Subject: [PATCH 30/36] Add missing line breaks --- CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs | 2 +- .../Generators/Cmdlets/CmdletInfo.cs | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs index 1f612f365..1b5681cf2 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs @@ -111,7 +111,7 @@ internal static Task VerifyFiles(string testName, IEnumerable testFil return Verify(testName, File.ReadAllText(mainFile), additionalFiles); } - internal static Task Verify(string testName, string source, IEnumerable? additionalFiles = null) + internal static Task Verify(string testName, string source, IEnumerable additionalFiles = null) where T : IIncrementalGenerator, new() { // Parse the provided string into a C# syntax tree diff --git a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs index 0c0bac125..2b0e38891 100644 --- a/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs +++ b/CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs @@ -181,14 +181,16 @@ private void GenerateCredentialProperties(StringBuilder sb) private void GenerateCustomControllerProperty(StringBuilder sb) { - sb.Append($""" + sb.AppendLine($""" protected override string CommandName => "{CustomControllerName}"; """); } private void GenerateReturnsValueProperty(StringBuilder sb) { - sb.Append($" protected override bool ReturnsValue => {ReturnsValue.ToString().ToLower()};"); + sb.AppendLine($""" + protected override bool ReturnsValue => {ReturnsValue.ToString().ToLower()}; + """); } private void GenerateStructureGroupProperty(StringBuilder sb) From bc0f13994da44d053564e306121424b2d95a2db6 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 03:52:49 -0300 Subject: [PATCH 31/36] Disable tests for disabled cmdlets --- .../Field/FieldControllerTests.cs | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs index 738ec41f9..6582828ac 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs @@ -2,27 +2,27 @@ namespace TfsCmdlets.SourceGenerators.UnitTests.Controllers.ProcessTemplate.Fiel public partial class FieldControllerTests { - [Fact] - public async Task CanGenerate_GetProcessFieldDefinitionController() - { - await TestHelper.VerifyFiles( - nameof(CanGenerate_GetProcessFieldDefinitionController), - new[] - { - "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\GetProcessFieldDefinition.cs" - }); - } + //[Fact] + //public async Task CanGenerate_GetProcessFieldDefinitionController() + //{ + // await TestHelper.VerifyFiles( + // nameof(CanGenerate_GetProcessFieldDefinitionController), + // new[] + // { + // "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\GetProcessFieldDefinition.cs" + // }); + //} - [Fact] - public async Task CanGenerate_NewProcessFieldDefinitionController() - { - await TestHelper.VerifyFiles( - nameof(CanGenerate_NewProcessFieldDefinitionController), - new[] - { - "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\NewProcessFieldDefinition.cs" - }); - } + //[Fact] + //public async Task CanGenerate_NewProcessFieldDefinitionController() + //{ + // await TestHelper.VerifyFiles( + // nameof(CanGenerate_NewProcessFieldDefinitionController), + // new[] + // { + // "TfsCmdlets\\Cmdlets\\ProcessTemplate\\Field\\NewProcessFieldDefinition.cs" + // }); + //} [Fact] public async Task CanGenerate_RemoveProcessFieldDefinitionController() From f86b1834e7c571cb5cc22135059b64dd719696ec Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 03:53:10 -0300 Subject: [PATCH 32/36] Move to shared project --- .../WorkItem/Tagging/ToggleWorkItemTagController.cs | 9 ++++++--- CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) rename CSharp/{TfsCmdlets => TfsCmdlets.Shared}/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs (79%) diff --git a/CSharp/TfsCmdlets/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs similarity index 79% rename from CSharp/TfsCmdlets/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs rename to CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs index b8fa119f6..42a1bd765 100644 --- a/CSharp/TfsCmdlets/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs +++ b/CSharp/TfsCmdlets.Shared/Cmdlets/WorkItem/Tagging/ToggleWorkItemTagController.cs @@ -16,9 +16,12 @@ protected override IEnumerable Run() foreach (var tag in tags) { if (!PowerShell.ShouldProcess(tp, $"{(enabled? "Enable": "Disable")} work item tag '{tag.Name}'")) continue; - - yield return Client.UpdateTagAsync(tp.Id, tag.Id, tag.Name, enabled) - .GetResult($"Error renaming work item tag '{tag.Name}'"); +#if UNIT_TEST_PROJECT + yield break; +#else + yield return Client.UpdateTagAsync(tp.Id, tag.Id, tag.Name, enabled) + .GetResult($"Error renaming work item tag '{tag.Name}'"); +#endif } } diff --git a/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems index bad9e445a..88da3fa32 100644 --- a/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems +++ b/CSharp/TfsCmdlets.Shared/TfsCmdlets.Shared.projitems @@ -18,6 +18,7 @@ + From d1c04c9f61f36e6e42ca58eba83e9e202fdd84e9 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 03:53:22 -0300 Subject: [PATCH 33/36] Update unit tests --- .../HttpClients/Can_Create_HttpClients.cs | 11 - ...sCmdlets.SourceGenerators.UnitTests.csproj | 4 + ...ng.AddWorkItemLinkController.g.verified.cs | 84 + ...WorkItemAttachmentController.g.verified.cs | 65 + ...erviceHookConsumerController.g.verified.cs | 15 +- ...rkItem.GetWorkItemController.g.verified.cs | 236 ++ ...rkItem.NewWorkItemController.g.verified.cs | 157 ++ ...tem.RemoveWorkItemController.g.verified.cs | 57 + ...rkItem.SetWorkItemController.g.verified.cs | 156 ++ ....IAccountLicensingHttpClient.g.verified.cs | 35 +- ...HttpClients.IBuildHttpClient.g.verified.cs | 750 ++++- ...xtensionManagementHttpClient.g.verified.cs | 129 +- ....HttpClients.IFeedHttpClient.g.verified.cs | 474 +++- ...tpClients.IGenericHttpClient.g.verified.cs | 77 +- ...ients.IGitExtendedHttpClient.g.verified.cs | 54 +- ...s.HttpClients.IGitHttpClient.g.verified.cs | 2496 ++++++++++++++++- ...HttpClients.IGraphHttpClient.g.verified.cs | 189 +- ...pClients.IIdentityHttpClient.g.verified.cs | 1 + ...lients.IOperationsHttpClient.g.verified.cs | 63 +- ...ttpClients.IPolicyHttpClient.g.verified.cs | 144 +- ...tpClients.IProcessHttpClient.g.verified.cs | 32 +- ...tpClients.IProjectHttpClient.g.verified.cs | 96 +- ...tpClients.IReleaseHttpClient.g.verified.cs | 68 +- ...pClients.IReleaseHttpClient2.g.verified.cs | 633 ++++- ...ttpClients.ISearchHttpClient.g.verified.cs | 126 +- ...viceHooksPublisherHttpClient.g.verified.cs | 108 +- ...tpClients.ITaggingHttpClient.g.verified.cs | 72 +- ...Clients.ITeamAdminHttpClient.g.verified.cs | 90 +- ....HttpClients.ITeamHttpClient.g.verified.cs | 35 +- ...pClients.ITestPlanHttpClient.g.verified.cs | 369 ++- ....HttpClients.IWikiHttpClient.g.verified.cs | 444 ++- ....HttpClients.IWorkHttpClient.g.verified.cs | 297 +- ....IWorkItemTrackingHttpClient.g.verified.cs | 876 +++++- ...temTrackingProcessHttpClient.g.verified.cs | 32 +- 34 files changed, 8382 insertions(+), 93 deletions(-) create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs create mode 100644 CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs index d6a96bfd8..5061f8a4a 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs @@ -233,17 +233,6 @@ public async Task CanGenerate_ITestPlanHttpClient() }); } - [Fact] - public async Task CanGenerate_IVssHttpClient() - { - await TestHelper.VerifyFiles( - nameof(CanGenerate_IVssHttpClient), - new[] - { - "TfsCmdlets.Shared\\HttpClients\\IVssHttpClient.cs" - }); - } - [Fact] public async Task CanGenerate_IWikiHttpClient() { diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj index da7189f2c..3fb191258 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj @@ -42,6 +42,10 @@ + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs new file mode 100644 index 000000000..d7b944328 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.cs +using System.Management.Automation; +using Microsoft.VisualStudio.Services.WebApi.Patch; +using Microsoft.VisualStudio.Services.WebApi.Patch.Json; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +namespace TfsCmdlets.Cmdlets.WorkItem.Linking +{ + internal partial class AddWorkItemLinkController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // WorkItem + protected bool Has_WorkItem { get; set; } + protected object WorkItem { get; set; } + // TargetWorkItem + protected bool Has_TargetWorkItem { get; set; } + protected object TargetWorkItem { get; set; } + // LinkType + protected bool Has_LinkType { get; set; } + protected TfsCmdlets.WorkItemLinkType LinkType { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // BypassRules + protected bool Has_BypassRules { get; set; } + protected bool BypassRules { get; set; } + // SuppressNotifications + protected bool Has_SuppressNotifications { get; set; } + protected bool SuppressNotifications { get; set; } + // Comment + protected bool Has_Comment { get; set; } + protected string Comment { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => WorkItem switch { + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemRelation item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemRelation); + protected override void CacheParameters() + { + // WorkItem + Has_WorkItem = Parameters.HasParameter("WorkItem"); + WorkItem = Parameters.Get("WorkItem"); + // TargetWorkItem + Has_TargetWorkItem = Parameters.HasParameter("TargetWorkItem"); + TargetWorkItem = Parameters.Get("TargetWorkItem"); + // LinkType + Has_LinkType = Parameters.HasParameter("LinkType"); + LinkType = Parameters.Get("LinkType"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // BypassRules + Has_BypassRules = Parameters.HasParameter("BypassRules"); + BypassRules = Parameters.Get("BypassRules"); + // SuppressNotifications + Has_SuppressNotifications = Parameters.HasParameter("SuppressNotifications"); + SuppressNotifications = Parameters.Get("SuppressNotifications"); + // Comment + Has_Comment = Parameters.HasParameter("Comment"); + Comment = Parameters.Get("Comment"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public AddWorkItemLinkController(IKnownWorkItemLinkTypes knownLinkTypes, TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + KnownLinkTypes = knownLinkTypes; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs new file mode 100644 index 000000000..37e442f2a --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.WorkItem.Linking +{ + internal partial class ExportWorkItemAttachmentController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // Attachment + protected bool Has_Attachment { get; set; } + protected object Attachment { get; set; } + // WorkItem + protected bool Has_WorkItem { get; set; } + protected object WorkItem { get; set; } + // Destination + protected bool Has_Destination { get; set; } + protected string Destination { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Attachment switch { + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemRelation item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemRelation); + protected override void CacheParameters() + { + // Attachment + Has_Attachment = Parameters.HasParameter("Attachment"); + Attachment = Parameters.Get("Attachment", "*"); + // WorkItem + Has_WorkItem = Parameters.HasParameter("WorkItem"); + WorkItem = Parameters.Get("WorkItem"); + // Destination + Has_Destination = Parameters.HasParameter("Destination"); + Destination = Parameters.Get("Destination"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public ExportWorkItemAttachmentController(TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs index fc2be2752..65bed3dd0 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs @@ -8,8 +8,16 @@ internal partial class GetServiceHookConsumerController: ControllerBase { private TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient Client { get; } // Consumer - protected bool Has_Consumer { get; set; } - protected string Consumer { get; set; } + protected bool Has_Consumer => Parameters.HasParameter(nameof(Consumer)); + protected IEnumerable Consumer + { + get + { + var paramValue = Parameters.Get(nameof(Consumer), "*"); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } // Collection protected bool Has_Collection => Parameters.HasParameter("Collection"); protected Models.Connection Collection => Data.GetCollection(); @@ -23,9 +31,6 @@ internal partial class GetServiceHookConsumerController: ControllerBase public override Type DataType => typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Consumer); protected override void CacheParameters() { - // Consumer - Has_Consumer = Parameters.HasParameter("Consumer"); - Consumer = Parameters.Get("Consumer", "*"); // ParameterSetName Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); ParameterSetName = Parameters.Get("ParameterSetName"); diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs new file mode 100644 index 000000000..0536c89cc --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs @@ -0,0 +1,236 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.Core.WebApi.Types; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.Cmdlets.WorkItem +{ + internal partial class GetWorkItemController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // WorkItem + protected bool Has_WorkItem => Parameters.HasParameter(nameof(WorkItem)); + protected IEnumerable WorkItem + { + get + { + var paramValue = Parameters.Get(nameof(WorkItem)); + if(paramValue is ICollection col) return col; + return new[] { paramValue }; + } + } + // Title + protected bool Has_Title { get; set; } + protected string[] Title { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string[] Description { get; set; } + // AreaPath + protected bool Has_AreaPath { get; set; } + protected string AreaPath { get; set; } + // IterationPath + protected bool Has_IterationPath { get; set; } + protected string IterationPath { get; set; } + // WorkItemType + protected bool Has_WorkItemType { get; set; } + protected string[] WorkItemType { get; set; } + // State + protected bool Has_State { get; set; } + protected string[] State { get; set; } + // Reason + protected bool Has_Reason { get; set; } + protected string[] Reason { get; set; } + // ValueArea + protected bool Has_ValueArea { get; set; } + protected string[] ValueArea { get; set; } + // BoardColumn + protected bool Has_BoardColumn { get; set; } + protected string[] BoardColumn { get; set; } + // BoardColumnDone + protected bool Has_BoardColumnDone { get; set; } + protected bool BoardColumnDone { get; set; } + // CreatedBy + protected bool Has_CreatedBy { get; set; } + protected object[] CreatedBy { get; set; } + // CreatedDate + protected bool Has_CreatedDate { get; set; } + protected System.DateTime[] CreatedDate { get; set; } + // ChangedBy + protected bool Has_ChangedBy { get; set; } + protected object ChangedBy { get; set; } + // ChangedDate + protected bool Has_ChangedDate { get; set; } + protected System.DateTime[] ChangedDate { get; set; } + // StateChangeDate + protected bool Has_StateChangeDate { get; set; } + protected System.DateTime[] StateChangeDate { get; set; } + // Priority + protected bool Has_Priority { get; set; } + protected int[] Priority { get; set; } + // Tags + protected bool Has_Tags { get; set; } + protected string[] Tags { get; set; } + // Ever + protected bool Has_Ever { get; set; } + protected bool Ever { get; set; } + // Revision + protected bool Has_Revision { get; set; } + protected int Revision { get; set; } + // AsOf + protected bool Has_AsOf { get; set; } + protected System.DateTime AsOf { get; set; } + // Wiql + protected bool Has_Wiql { get; set; } + protected string Wiql { get; set; } + // SavedQuery + protected bool Has_SavedQuery { get; set; } + protected string SavedQuery { get; set; } + // QueryParameters + protected bool Has_QueryParameters { get; set; } + protected System.Collections.Hashtable QueryParameters { get; set; } + // Fields + protected bool Has_Fields { get; set; } + protected string[] Fields { get; set; } + // Where + protected bool Has_Where { get; set; } + protected string Where { get; set; } + // TimePrecision + protected bool Has_TimePrecision { get; set; } + protected bool TimePrecision { get; set; } + // ShowWindow + protected bool Has_ShowWindow { get; set; } + protected bool ShowWindow { get; set; } + // Deleted + protected bool Has_Deleted { get; set; } + protected bool Deleted { get; set; } + // IncludeLinks + protected bool Has_IncludeLinks { get; set; } + protected bool IncludeLinks { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem); + protected override void CacheParameters() + { + // Title + Has_Title = Parameters.HasParameter("Title"); + Title = Parameters.Get("Title"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // AreaPath + Has_AreaPath = Parameters.HasParameter("AreaPath"); + AreaPath = Parameters.Get("AreaPath"); + // IterationPath + Has_IterationPath = Parameters.HasParameter("IterationPath"); + IterationPath = Parameters.Get("IterationPath"); + // WorkItemType + Has_WorkItemType = Parameters.HasParameter("WorkItemType"); + WorkItemType = Parameters.Get("WorkItemType"); + // State + Has_State = Parameters.HasParameter("State"); + State = Parameters.Get("State"); + // Reason + Has_Reason = Parameters.HasParameter("Reason"); + Reason = Parameters.Get("Reason"); + // ValueArea + Has_ValueArea = Parameters.HasParameter("ValueArea"); + ValueArea = Parameters.Get("ValueArea"); + // BoardColumn + Has_BoardColumn = Parameters.HasParameter("BoardColumn"); + BoardColumn = Parameters.Get("BoardColumn"); + // BoardColumnDone + Has_BoardColumnDone = Parameters.HasParameter("BoardColumnDone"); + BoardColumnDone = Parameters.Get("BoardColumnDone"); + // CreatedBy + Has_CreatedBy = Parameters.HasParameter("CreatedBy"); + CreatedBy = Parameters.Get("CreatedBy"); + // CreatedDate + Has_CreatedDate = Parameters.HasParameter("CreatedDate"); + CreatedDate = Parameters.Get("CreatedDate"); + // ChangedBy + Has_ChangedBy = Parameters.HasParameter("ChangedBy"); + ChangedBy = Parameters.Get("ChangedBy"); + // ChangedDate + Has_ChangedDate = Parameters.HasParameter("ChangedDate"); + ChangedDate = Parameters.Get("ChangedDate"); + // StateChangeDate + Has_StateChangeDate = Parameters.HasParameter("StateChangeDate"); + StateChangeDate = Parameters.Get("StateChangeDate"); + // Priority + Has_Priority = Parameters.HasParameter("Priority"); + Priority = Parameters.Get("Priority"); + // Tags + Has_Tags = Parameters.HasParameter("Tags"); + Tags = Parameters.Get("Tags"); + // Ever + Has_Ever = Parameters.HasParameter("Ever"); + Ever = Parameters.Get("Ever"); + // Revision + Has_Revision = Parameters.HasParameter("Revision"); + Revision = Parameters.Get("Revision"); + // AsOf + Has_AsOf = Parameters.HasParameter("AsOf"); + AsOf = Parameters.Get("AsOf"); + // Wiql + Has_Wiql = Parameters.HasParameter("Wiql"); + Wiql = Parameters.Get("Wiql"); + // SavedQuery + Has_SavedQuery = Parameters.HasParameter("SavedQuery"); + SavedQuery = Parameters.Get("SavedQuery"); + // QueryParameters + Has_QueryParameters = Parameters.HasParameter("QueryParameters"); + QueryParameters = Parameters.Get("QueryParameters"); + // Fields + Has_Fields = Parameters.HasParameter("Fields"); + Fields = Parameters.Get("Fields", new[] + {"System.AreaPath", "System.TeamProject", "System.IterationPath", + "System.WorkItemType", "System.State", "System.Reason", + "System.CreatedDate", "System.CreatedBy", "System.ChangedDate", + "System.ChangedBy", "System.CommentCount", "System.Title", + "System.BoardColumn", "System.BoardColumnDone", "Microsoft.VSTS.Common.StateChangeDate", + "Microsoft.VSTS.Common.Priority", "Microsoft.VSTS.Common.ValueArea", "System.Description", + "System.Tags" }); + // Where + Has_Where = Parameters.HasParameter("Where"); + Where = Parameters.Get("Where"); + // TimePrecision + Has_TimePrecision = Parameters.HasParameter("TimePrecision"); + TimePrecision = Parameters.Get("TimePrecision"); + // ShowWindow + Has_ShowWindow = Parameters.HasParameter("ShowWindow"); + ShowWindow = Parameters.Get("ShowWindow"); + // Deleted + Has_Deleted = Parameters.HasParameter("Deleted"); + Deleted = Parameters.Get("Deleted"); + // IncludeLinks + Has_IncludeLinks = Parameters.HasParameter("IncludeLinks"); + IncludeLinks = Parameters.Get("IncludeLinks"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public GetWorkItemController(IProcessUtil processUtil, INodeUtil nodeUtil, TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + ProcessUtil = processUtil; + NodeUtil = nodeUtil; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs new file mode 100644 index 000000000..25962c2f4 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs @@ -0,0 +1,157 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.VisualStudio.Services.WebApi.Patch; +using Microsoft.VisualStudio.Services.WebApi.Patch.Json; +namespace TfsCmdlets.Cmdlets.WorkItem +{ + internal partial class NewWorkItemController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // Type + protected bool Has_Type { get; set; } + protected object Type { get; set; } + // Title + protected bool Has_Title { get; set; } + protected string Title { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // AreaPath + protected bool Has_AreaPath { get; set; } + protected string AreaPath { get; set; } + // IterationPath + protected bool Has_IterationPath { get; set; } + protected string IterationPath { get; set; } + // AssignedTo + protected bool Has_AssignedTo { get; set; } + protected object AssignedTo { get; set; } + // State + protected bool Has_State { get; set; } + protected string State { get; set; } + // Reason + protected bool Has_Reason { get; set; } + protected string Reason { get; set; } + // ValueArea + protected bool Has_ValueArea { get; set; } + protected string ValueArea { get; set; } + // BoardColumn + protected bool Has_BoardColumn { get; set; } + protected string BoardColumn { get; set; } + // BoardColumnDone + protected bool Has_BoardColumnDone { get; set; } + protected bool BoardColumnDone { get; set; } + // BoardLane + protected bool Has_BoardLane { get; set; } + protected string BoardLane { get; set; } + // Priority + protected bool Has_Priority { get; set; } + protected int Priority { get; set; } + // Tags + protected bool Has_Tags { get; set; } + protected string[] Tags { get; set; } + // Fields + protected bool Has_Fields { get; set; } + protected System.Collections.Hashtable Fields { get; set; } + // BypassRules + protected bool Has_BypassRules { get; set; } + protected bool BypassRules { get; set; } + // SuppressNotifications + protected bool Has_SuppressNotifications { get; set; } + protected bool SuppressNotifications { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Team + protected bool Has_Team => Parameters.HasParameter("Team"); + protected WebApiTeam Team => Data.GetTeam(); + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => Type switch { + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem); + protected override void CacheParameters() + { + // Type + Has_Type = Parameters.HasParameter("Type"); + Type = Parameters.Get("Type"); + // Title + Has_Title = Parameters.HasParameter("Title"); + Title = Parameters.Get("Title"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // AreaPath + Has_AreaPath = Parameters.HasParameter("AreaPath"); + AreaPath = Parameters.Get("AreaPath"); + // IterationPath + Has_IterationPath = Parameters.HasParameter("IterationPath"); + IterationPath = Parameters.Get("IterationPath"); + // AssignedTo + Has_AssignedTo = Parameters.HasParameter("AssignedTo"); + AssignedTo = Parameters.Get("AssignedTo"); + // State + Has_State = Parameters.HasParameter("State"); + State = Parameters.Get("State"); + // Reason + Has_Reason = Parameters.HasParameter("Reason"); + Reason = Parameters.Get("Reason"); + // ValueArea + Has_ValueArea = Parameters.HasParameter("ValueArea"); + ValueArea = Parameters.Get("ValueArea"); + // BoardColumn + Has_BoardColumn = Parameters.HasParameter("BoardColumn"); + BoardColumn = Parameters.Get("BoardColumn"); + // BoardColumnDone + Has_BoardColumnDone = Parameters.HasParameter("BoardColumnDone"); + BoardColumnDone = Parameters.Get("BoardColumnDone"); + // BoardLane + Has_BoardLane = Parameters.HasParameter("BoardLane"); + BoardLane = Parameters.Get("BoardLane"); + // Priority + Has_Priority = Parameters.HasParameter("Priority"); + Priority = Parameters.Get("Priority"); + // Tags + Has_Tags = Parameters.HasParameter("Tags"); + Tags = Parameters.Get("Tags"); + // Fields + Has_Fields = Parameters.HasParameter("Fields"); + Fields = Parameters.Get("Fields"); + // BypassRules + Has_BypassRules = Parameters.HasParameter("BypassRules"); + BypassRules = Parameters.Get("BypassRules"); + // SuppressNotifications + Has_SuppressNotifications = Parameters.HasParameter("SuppressNotifications"); + SuppressNotifications = Parameters.Get("SuppressNotifications"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public NewWorkItemController(IWorkItemPatchBuilder builder, TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Builder = builder; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs new file mode 100644 index 000000000..8c017b226 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +namespace TfsCmdlets.Cmdlets.WorkItem +{ + internal partial class RemoveWorkItemController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // WorkItem + protected bool Has_WorkItem { get; set; } + protected object WorkItem { get; set; } + // Destroy + protected bool Has_Destroy { get; set; } + protected bool Destroy { get; set; } + // Force + protected bool Has_Force { get; set; } + protected bool Force { get; set; } + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => WorkItem switch { + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem); + protected override void CacheParameters() + { + // WorkItem + Has_WorkItem = Parameters.HasParameter("WorkItem"); + WorkItem = Parameters.Get("WorkItem"); + // Destroy + Has_Destroy = Parameters.HasParameter("Destroy"); + Destroy = Parameters.Get("Destroy"); + // Force + Has_Force = Parameters.HasParameter("Force"); + Force = Parameters.Get("Force"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public RemoveWorkItemController(TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs new file mode 100644 index 000000000..55f59bcf5 --- /dev/null +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs @@ -0,0 +1,156 @@ +//HintName: TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.cs +using System.Management.Automation; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; +using Microsoft.TeamFoundation.Core.WebApi; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +using Microsoft.VisualStudio.Services.WebApi.Patch; +using Microsoft.VisualStudio.Services.WebApi.Patch.Json; +using TfsCmdlets.Extensions; +namespace TfsCmdlets.Cmdlets.WorkItem +{ + internal partial class SetWorkItemController: ControllerBase + { + private TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient Client { get; } + // WorkItem + protected bool Has_WorkItem { get; set; } + protected object WorkItem { get; set; } + // Title + protected bool Has_Title { get; set; } + protected string Title { get; set; } + // Description + protected bool Has_Description { get; set; } + protected string Description { get; set; } + // AreaPath + protected bool Has_AreaPath { get; set; } + protected string AreaPath { get; set; } + // IterationPath + protected bool Has_IterationPath { get; set; } + protected string IterationPath { get; set; } + // AssignedTo + protected bool Has_AssignedTo { get; set; } + protected object AssignedTo { get; set; } + // State + protected bool Has_State { get; set; } + protected string State { get; set; } + // Reason + protected bool Has_Reason { get; set; } + protected string Reason { get; set; } + // ValueArea + protected bool Has_ValueArea { get; set; } + protected string ValueArea { get; set; } + // BoardColumn + protected bool Has_BoardColumn { get; set; } + protected string BoardColumn { get; set; } + // BoardColumnDone + protected bool Has_BoardColumnDone { get; set; } + protected bool BoardColumnDone { get; set; } + // BoardLane + protected bool Has_BoardLane { get; set; } + protected string BoardLane { get; set; } + // Priority + protected bool Has_Priority { get; set; } + protected int Priority { get; set; } + // Tags + protected bool Has_Tags { get; set; } + protected string[] Tags { get; set; } + // Fields + protected bool Has_Fields { get; set; } + protected System.Collections.Hashtable Fields { get; set; } + // BypassRules + protected bool Has_BypassRules { get; set; } + protected bool BypassRules { get; set; } + // SuppressNotifications + protected bool Has_SuppressNotifications { get; set; } + protected bool SuppressNotifications { get; set; } + // Passthru + protected bool Has_Passthru { get; set; } + protected bool Passthru { get; set; } + // Project + protected bool Has_Project => Parameters.HasParameter("Project"); + protected WebApiTeamProject Project => Data.GetProject(); + // Collection + protected bool Has_Collection => Parameters.HasParameter("Collection"); + protected Models.Connection Collection => Data.GetCollection(); + // Server + protected bool Has_Server => Parameters.HasParameter("Server"); + protected Models.Connection Server => Data.GetServer(); + // ParameterSetName + protected bool Has_ParameterSetName { get; set; } + protected string ParameterSetName { get; set; } + // Items + protected IEnumerable Items => WorkItem switch { + Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem item => new[] { item }, + IEnumerable items => items, + _ => Data.GetItems() + }; + // DataType + public override Type DataType => typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem); + protected override void CacheParameters() + { + // WorkItem + Has_WorkItem = Parameters.HasParameter("WorkItem"); + WorkItem = Parameters.Get("WorkItem"); + // Title + Has_Title = Parameters.HasParameter("Title"); + Title = Parameters.Get("Title"); + // Description + Has_Description = Parameters.HasParameter("Description"); + Description = Parameters.Get("Description"); + // AreaPath + Has_AreaPath = Parameters.HasParameter("AreaPath"); + AreaPath = Parameters.Get("AreaPath"); + // IterationPath + Has_IterationPath = Parameters.HasParameter("IterationPath"); + IterationPath = Parameters.Get("IterationPath"); + // AssignedTo + Has_AssignedTo = Parameters.HasParameter("AssignedTo"); + AssignedTo = Parameters.Get("AssignedTo"); + // State + Has_State = Parameters.HasParameter("State"); + State = Parameters.Get("State"); + // Reason + Has_Reason = Parameters.HasParameter("Reason"); + Reason = Parameters.Get("Reason"); + // ValueArea + Has_ValueArea = Parameters.HasParameter("ValueArea"); + ValueArea = Parameters.Get("ValueArea"); + // BoardColumn + Has_BoardColumn = Parameters.HasParameter("BoardColumn"); + BoardColumn = Parameters.Get("BoardColumn"); + // BoardColumnDone + Has_BoardColumnDone = Parameters.HasParameter("BoardColumnDone"); + BoardColumnDone = Parameters.Get("BoardColumnDone"); + // BoardLane + Has_BoardLane = Parameters.HasParameter("BoardLane"); + BoardLane = Parameters.Get("BoardLane"); + // Priority + Has_Priority = Parameters.HasParameter("Priority"); + Priority = Parameters.Get("Priority"); + // Tags + Has_Tags = Parameters.HasParameter("Tags"); + Tags = Parameters.Get("Tags"); + // Fields + Has_Fields = Parameters.HasParameter("Fields"); + Fields = Parameters.Get("Fields"); + // BypassRules + Has_BypassRules = Parameters.HasParameter("BypassRules"); + BypassRules = Parameters.Get("BypassRules"); + // SuppressNotifications + Has_SuppressNotifications = Parameters.HasParameter("SuppressNotifications"); + SuppressNotifications = Parameters.Get("SuppressNotifications"); + // Passthru + Has_Passthru = Parameters.HasParameter("Passthru"); + Passthru = Parameters.Get("Passthru"); + // ParameterSetName + Has_ParameterSetName = Parameters.HasParameter("ParameterSetName"); + ParameterSetName = Parameters.Get("ParameterSetName"); + } + [ImportingConstructor] + public SetWorkItemController(IWorkItemPatchBuilder builder, TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient client, IPowerShellService powerShell, IDataManager data, IParameterManager parameters, ILogger logger) + : base(powerShell, data, parameters, logger) + { + Builder = builder; + Client = client; + } + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs index f61eb7f87..72168f149 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs @@ -1,8 +1,10 @@ //HintName: TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.cs +#pragma warning disable CS8669 using System.Composition; +using Microsoft.VisualStudio.Services.Licensing.Client; namespace TfsCmdlets.HttpClients { - public partial interface IAccountLicensingHttpClient: IVssHttpClient + public partial interface IAccountLicensingHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient { public System.Threading.Tasks.Task> ComputeExtensionRightsAsync(System.Collections.Generic.IEnumerable extensionIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetExtensionRightsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -10,6 +12,7 @@ public partial interface IAccountLicensingHttpClient: IVssHttpClient public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(int top, int skip = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchMemberAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetAccountEntitlementAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -20,8 +23,6 @@ public partial interface IAccountLicensingHttpClient: IVssHttpClient public System.Threading.Tasks.Task AssignAvailableEntitlementAsync(System.Guid userId, bool dontNotifyUser = false, Microsoft.VisualStudio.Services.Licensing.LicensingOrigin origin = 0, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task DeleteEntitlementAsync(System.Guid userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); - public void Dispose(); } [Export(typeof(IAccountLicensingHttpClient))] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] @@ -57,6 +58,8 @@ private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpCli => Client.GetAccountEntitlementsAsync(top, skip, userState, cancellationToken); public System.Threading.Tasks.Task SearchAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.SearchAccountEntitlementsAsync(continuation, filter, orderBy, userState, cancellationToken); + public System.Threading.Tasks.Task SearchMemberAccountEntitlementsAsync(string continuation = null, string filter = null, string orderBy = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchMemberAccountEntitlementsAsync(continuation, filter, orderBy, userState, cancellationToken); public System.Threading.Tasks.Task> GetAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.GetAccountEntitlementsAsync(userIds, userState, cancellationToken); public System.Threading.Tasks.Task> ObtainAvailableAccountEntitlementsAsync(System.Collections.Generic.IList userIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -77,9 +80,25 @@ private Microsoft.VisualStudio.Services.Licensing.Client.AccountLicensingHttpCli => Client.DeleteEntitlementAsync(userId, userState, cancellationToken); public System.Threading.Tasks.Task TransferIdentityRightsAsync(System.Collections.Generic.IEnumerable> userIdTransferMap, bool? validateOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.TransferIdentityRightsAsync(userIdTransferMap, validateOnly, userState, cancellationToken); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) - => Client.SetResourceLocations(resourceLocations); - public void Dispose() - => Client.Dispose(); - } + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs index 5f282702b..74e94a36f 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs @@ -1 +1,749 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IBuildHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.Build.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IBuildHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task CreateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, int? definitionToCloneId = default(int?), int? definitionToCloneRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), int? definitionId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, bool? retry = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildsAsync2(System.Guid project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildsAsync2(string project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildsAsync2(System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildChangesAsync2(string project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildChangesAsync2(System.Guid project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateArtifactAsync(Microsoft.TeamFoundation.Build.WebApi.BuildArtifact artifact, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateArtifactAsync(Microsoft.TeamFoundation.Build.WebApi.BuildArtifact artifact, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactAsync(string project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactAsync(System.Guid project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactContentZipAsync(string project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactContentZipAsync(System.Guid project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetArtifactsAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetArtifactsAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFileAsync(string project, int buildId, string artifactName, string fileId, string fileName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFileAsync(System.Guid project, int buildId, string artifactName, string fileId, string fileName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string project, int buildId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid project, int buildId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentAsync(string project, int buildId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentAsync(System.Guid project, int buildId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AuthorizeProjectResourcesAsync(System.Collections.Generic.IEnumerable resources, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AuthorizeProjectResourcesAsync(System.Collections.Generic.IEnumerable resources, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProjectResourcesAsync(string project, string type = null, string id = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProjectResourcesAsync(System.Guid project, string type = null, string id = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListBranchesAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListBranchesAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildBadgeAsync(string project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildBadgeAsync(System.Guid project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildBadgeDataAsync(string project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildBadgeDataAsync(System.Guid project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesForBuildAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesForBuildAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteBuildAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteBuildAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildAsync(string project, int buildId, string propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildAsync(System.Guid project, int buildId, string propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildsAsync(string project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minTime = default(System.DateTime?), System.DateTime? maxTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, string repositoryId = null, string repositoryType = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildsAsync(System.Guid project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minTime = default(System.DateTime?), System.DateTime? maxTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, string repositoryId = null, string repositoryType = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, string project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), int? definitionId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, System.Guid project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), int? definitionId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateBuildsAsync(System.Collections.Generic.IEnumerable builds, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateBuildsAsync(System.Collections.Generic.IEnumerable builds, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildChangesAsync(string project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildChangesAsync(System.Guid project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetChangesBetweenBuildsAsync(string project, int? fromBuildId = default(int?), int? toBuildId = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetChangesBetweenBuildsAsync(System.Guid project, int? fromBuildId = default(int?), int? toBuildId = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildControllerAsync(int controllerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildControllersAsync(string name = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, string project, int? definitionToCloneId = default(int?), int? definitionToCloneRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, System.Guid project, int? definitionToCloneId = default(int?), int? definitionToCloneRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteDefinitionAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionAsync(string project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionAsync(System.Guid project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDefinitionAsync(string project, int definitionId, bool deleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDefinitionAsync(System.Guid project, int definitionId, bool deleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, string project, int definitionId, int? secretsSourceDefinitionId = default(int?), int? secretsSourceDefinitionRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, System.Guid project, int definitionId, int? secretsSourceDefinitionId = default(int?), int? secretsSourceDefinitionRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFileContentsAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFileContentsAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFolderAsync(string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFolderAsync(System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFoldersAsync(string project, string path = null, Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFoldersAsync(System.Guid project, string path = null, Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildGeneralSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildGeneralSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildGeneralSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.PipelineGeneralSettings newSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildGeneralSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.PipelineGeneralSettings newSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRetentionHistoryAsync(int? daysToLookback = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLatestBuildAsync(string project, string definition, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLatestBuildAsync(System.Guid project, string definition, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddRetentionLeasesAsync(System.Collections.Generic.IReadOnlyList newLeases, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddRetentionLeasesAsync(System.Collections.Generic.IReadOnlyList newLeases, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRetentionLeasesByIdAsync(string project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRetentionLeasesByIdAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRetentionLeaseAsync(string project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRetentionLeaseAsync(System.Guid project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesByMinimalRetentionLeasesAsync(string project, System.Collections.Generic.IEnumerable leasesToFetch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesByMinimalRetentionLeasesAsync(System.Guid project, System.Collections.Generic.IEnumerable leasesToFetch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesByOwnerIdAsync(string project, string ownerId = null, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesByOwnerIdAsync(System.Guid project, string ownerId = null, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesByUserIdAsync(string project, System.Guid userOwnerId, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRetentionLeasesByUserIdAsync(System.Guid project, System.Guid userOwnerId, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRetentionLeaseAsync(Microsoft.TeamFoundation.Build.WebApi.RetentionLeaseUpdate leaseUpdate, string project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRetentionLeaseAsync(Microsoft.TeamFoundation.Build.WebApi.RetentionLeaseUpdate leaseUpdate, System.Guid project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildLogAsync(string project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildLogAsync(System.Guid project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildLogLinesAsync(string project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildLogLinesAsync(System.Guid project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildLogsAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildLogsAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildLogsZipAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildLogsZipAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildLogZipAsync(string project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildLogZipAsync(System.Guid project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProjectMetricsAsync(string project, string metricAggregationType = null, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProjectMetricsAsync(System.Guid project, string metricAggregationType = null, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionMetricsAsync(string project, int definitionId, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionMetricsAsync(System.Guid project, int definitionId, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildOptionDefinitionsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildOptionDefinitionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildOptionDefinitionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPathContentsAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPathContentsAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildPropertiesAsync(string project, int buildId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildPropertiesAsync(System.Guid project, int buildId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionPropertiesAsync(string project, int definitionId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionPropertiesAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(string project, string providerName, string pullRequestId, string repositoryId = null, System.Guid? serviceEndpointId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid project, string providerName, string pullRequestId, string repositoryId = null, System.Guid? serviceEndpointId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildReportAsync(string project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildReportAsync(System.Guid project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildReportHtmlContentAsync(string project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildReportHtmlContentAsync(System.Guid project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListRepositoriesAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, Microsoft.TeamFoundation.Build.WebApi.ResultSet? resultSet = default(Microsoft.TeamFoundation.Build.WebApi.ResultSet?), bool? pageResults = default(bool?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListRepositoriesAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, Microsoft.TeamFoundation.Build.WebApi.ResultSet? resultSet = default(Microsoft.TeamFoundation.Build.WebApi.ResultSet?), bool? pageResults = default(bool?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AuthorizeDefinitionResourcesAsync(System.Collections.Generic.IEnumerable resources, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AuthorizeDefinitionResourcesAsync(System.Collections.Generic.IEnumerable resources, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionResourcesAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionResourcesAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetResourceUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRetentionSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRetentionSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRetentionSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateProjectRetentionSettingModel updateModel, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRetentionSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateProjectRetentionSettingModel updateModel, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionRevisionsAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionRevisionsAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildSettingsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.BuildSettings settings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.BuildSettings settings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBuildSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.BuildSettings settings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListSourceProvidersAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListSourceProvidersAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateStageAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateStageParameters updateParameters, int buildId, string stageRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateStageAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateStageParameters updateParameters, string project, int buildId, string stageRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateStageAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateStageParameters updateParameters, System.Guid project, int buildId, string stageRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetStatusBadgeAsync(string project, string definition, string branchName = null, string stageName = null, string jobName = null, string configuration = null, string label = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetStatusBadgeAsync(System.Guid project, string definition, string branchName = null, string stageName = null, string jobName = null, string configuration = null, string label = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddBuildTagAsync(string project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddBuildTagAsync(System.Guid project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddBuildTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddBuildTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteBuildTagAsync(string project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteBuildTagAsync(System.Guid project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildTagsAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildTagsAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateBuildTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateBuildTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(string project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(System.Guid project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(string project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(System.Guid project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(string project, int definitionId, int? revision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(System.Guid project, int definitionId, int? revision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateDefinitionTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateDefinitionTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteTagAsync(string project, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteTagAsync(System.Guid project, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTemplateAsync(string project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTemplateAsync(System.Guid project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTemplateAsync(string project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTemplateAsync(System.Guid project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTemplatesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTemplatesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SaveTemplateAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionTemplate template, string project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SaveTemplateAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionTemplate template, System.Guid project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildTimelineAsync(string project, int buildId, System.Guid? timelineId = default(System.Guid?), int? changeId = default(int?), System.Guid? planId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBuildTimelineAsync(System.Guid project, int buildId, System.Guid? timelineId = default(System.Guid?), int? changeId = default(int?), System.Guid? planId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreWebhooksAsync(System.Collections.Generic.List triggerTypes, string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreWebhooksAsync(System.Collections.Generic.List triggerTypes, System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListWebhooksAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListWebhooksAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsAsync(string project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsAsync(System.Guid project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsFromCommitsAsync(System.Collections.Generic.IEnumerable commitIds, string project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsFromCommitsAsync(System.Collections.Generic.IEnumerable commitIds, System.Guid project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsBetweenBuildsAsync(string project, int fromBuildId, int toBuildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsBetweenBuildsAsync(System.Guid project, int fromBuildId, int toBuildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionYamlAsync(string project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionYamlAsync(System.Guid project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, System.Guid project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, bool? ignoreWarnings = default(bool?), string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, string project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildsAsync(System.Guid project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBuildsAsync(System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionAsync(string project, int definitionId, int? revision = default(int?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionAsync(System.Guid project, int definitionId, int? revision = default(int?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListBranchesAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListBranchesAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, string project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, System.Guid project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IBuildHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IBuildHttpClientImpl: IBuildHttpClient + { + private Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IBuildHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient)) as Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task CreateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, int? definitionToCloneId = default(int?), int? definitionToCloneRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDefinitionAsync(definition, definitionToCloneId, definitionToCloneRevision, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionAsync(definition, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), int? definitionId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, ignoreWarnings, checkInTicket, sourceBuildId, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, bool? retry = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildAsync(build, retry, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), bool? includeLatestBuilds = default(bool?), System.Guid? taskIdFilter = default(System.Guid?), int? processType = default(int?), string yamlFilename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, includeLatestBuilds, taskIdFilter, processType, yamlFilename, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildsAsync2(System.Guid project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildsAsync2(project, definitions, queues, buildNumber, minFinishTime, maxFinishTime, requestedFor, reasonFilter, statusFilter, resultFilter, tagFilters, properties, top, continuationToken, maxBuildsPerDefinition, deletedFilter, queryOrder, branchName, buildIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildsAsync2(string project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildsAsync2(project, definitions, queues, buildNumber, minFinishTime, maxFinishTime, requestedFor, reasonFilter, statusFilter, resultFilter, tagFilters, properties, top, continuationToken, maxBuildsPerDefinition, deletedFilter, queryOrder, branchName, buildIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildsAsync2(System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildsAsync2(definitions, queues, buildNumber, minFinishTime, maxFinishTime, requestedFor, reasonFilter, statusFilter, resultFilter, tagFilters, properties, top, continuationToken, maxBuildsPerDefinition, deletedFilter, queryOrder, branchName, buildIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildChangesAsync2(string project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildChangesAsync2(project, buildId, continuationToken, top, includeSourceChange, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildChangesAsync2(System.Guid project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildChangesAsync2(project, buildId, continuationToken, top, includeSourceChange, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionPropertiesAsync(properties, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionPropertiesAsync(properties, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildPropertiesAsync(properties, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildPropertiesAsync(properties, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveDefinitionPropertiesAsync(properties, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveDefinitionPropertiesAsync(properties, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveBuildPropertiesAsync(properties, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.PropertiesCollection properties, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveBuildPropertiesAsync(properties, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateArtifactAsync(Microsoft.TeamFoundation.Build.WebApi.BuildArtifact artifact, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateArtifactAsync(artifact, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateArtifactAsync(Microsoft.TeamFoundation.Build.WebApi.BuildArtifact artifact, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateArtifactAsync(artifact, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactAsync(string project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactAsync(project, buildId, artifactName, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactAsync(System.Guid project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactAsync(project, buildId, artifactName, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactContentZipAsync(string project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactContentZipAsync(project, buildId, artifactName, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactContentZipAsync(System.Guid project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactContentZipAsync(project, buildId, artifactName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetArtifactsAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactsAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetArtifactsAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactsAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFileAsync(string project, int buildId, string artifactName, string fileId, string fileName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileAsync(project, buildId, artifactName, fileId, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetFileAsync(System.Guid project, int buildId, string artifactName, string fileId, string fileName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileAsync(project, buildId, artifactName, fileId, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string project, int buildId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(project, buildId, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid project, int buildId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(project, buildId, type, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentAsync(string project, int buildId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentAsync(project, buildId, timelineId, recordId, type, name, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentAsync(System.Guid project, int buildId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentAsync(project, buildId, timelineId, recordId, type, name, userState, cancellationToken); + public System.Threading.Tasks.Task> AuthorizeProjectResourcesAsync(System.Collections.Generic.IEnumerable resources, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AuthorizeProjectResourcesAsync(resources, project, userState, cancellationToken); + public System.Threading.Tasks.Task> AuthorizeProjectResourcesAsync(System.Collections.Generic.IEnumerable resources, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AuthorizeProjectResourcesAsync(resources, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProjectResourcesAsync(string project, string type = null, string id = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectResourcesAsync(project, type, id, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProjectResourcesAsync(System.Guid project, string type = null, string id = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectResourcesAsync(project, type, id, userState, cancellationToken); + public System.Threading.Tasks.Task> ListBranchesAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListBranchesAsync(project, providerName, serviceEndpointId, repository, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task> ListBranchesAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListBranchesAsync(project, providerName, serviceEndpointId, repository, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildBadgeAsync(string project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildBadgeAsync(project, repoType, repoId, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildBadgeAsync(System.Guid project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildBadgeAsync(project, repoType, repoId, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildBadgeDataAsync(string project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildBadgeDataAsync(project, repoType, repoId, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildBadgeDataAsync(System.Guid project, string repoType, string repoId = null, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildBadgeDataAsync(project, repoType, repoId, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesForBuildAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesForBuildAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesForBuildAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesForBuildAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteBuildAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteBuildAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteBuildAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteBuildAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildAsync(string project, int buildId, string propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildAsync(project, buildId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildAsync(System.Guid project, int buildId, string propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildAsync(project, buildId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildsAsync(string project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minTime = default(System.DateTime?), System.DateTime? maxTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, string repositoryId = null, string repositoryType = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildsAsync(project, definitions, queues, buildNumber, minTime, maxTime, requestedFor, reasonFilter, statusFilter, resultFilter, tagFilters, properties, top, continuationToken, maxBuildsPerDefinition, deletedFilter, queryOrder, branchName, buildIds, repositoryId, repositoryType, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildsAsync(System.Guid project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minTime = default(System.DateTime?), System.DateTime? maxTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, string repositoryId = null, string repositoryType = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildsAsync(project, definitions, queues, buildNumber, minTime, maxTime, requestedFor, reasonFilter, statusFilter, resultFilter, tagFilters, properties, top, continuationToken, maxBuildsPerDefinition, deletedFilter, queryOrder, branchName, buildIds, repositoryId, repositoryType, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, string project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), int? definitionId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, project, ignoreWarnings, checkInTicket, sourceBuildId, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, System.Guid project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), int? definitionId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, project, ignoreWarnings, checkInTicket, sourceBuildId, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateBuildsAsync(System.Collections.Generic.IEnumerable builds, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildsAsync(builds, project, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateBuildsAsync(System.Collections.Generic.IEnumerable builds, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildsAsync(builds, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildChangesAsync(string project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildChangesAsync(project, buildId, continuationToken, top, includeSourceChange, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildChangesAsync(System.Guid project, int buildId, string continuationToken = null, int? top = default(int?), bool? includeSourceChange = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildChangesAsync(project, buildId, continuationToken, top, includeSourceChange, userState, cancellationToken); + public System.Threading.Tasks.Task> GetChangesBetweenBuildsAsync(string project, int? fromBuildId = default(int?), int? toBuildId = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesBetweenBuildsAsync(project, fromBuildId, toBuildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetChangesBetweenBuildsAsync(System.Guid project, int? fromBuildId = default(int?), int? toBuildId = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesBetweenBuildsAsync(project, fromBuildId, toBuildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildControllerAsync(int controllerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildControllerAsync(controllerId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildControllersAsync(string name = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildControllersAsync(name, userState, cancellationToken); + public System.Threading.Tasks.Task CreateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, string project, int? definitionToCloneId = default(int?), int? definitionToCloneRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDefinitionAsync(definition, project, definitionToCloneId, definitionToCloneRevision, userState, cancellationToken); + public System.Threading.Tasks.Task CreateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, System.Guid project, int? definitionToCloneId = default(int?), int? definitionToCloneRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDefinitionAsync(definition, project, definitionToCloneId, definitionToCloneRevision, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteDefinitionAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionAsync(string project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionAsync(project, definitionId, revision, minMetricsTime, propertyFilters, includeLatestBuilds, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionAsync(System.Guid project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionAsync(project, definitionId, revision, minMetricsTime, propertyFilters, includeLatestBuilds, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDefinitionAsync(string project, int definitionId, bool deleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDefinitionAsync(project, definitionId, deleted, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDefinitionAsync(System.Guid project, int definitionId, bool deleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDefinitionAsync(project, definitionId, deleted, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, string project, int definitionId, int? secretsSourceDefinitionId = default(int?), int? secretsSourceDefinitionRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionAsync(definition, project, definitionId, secretsSourceDefinitionId, secretsSourceDefinitionRevision, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDefinitionAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition definition, System.Guid project, int definitionId, int? secretsSourceDefinitionId = default(int?), int? secretsSourceDefinitionRevision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionAsync(definition, project, definitionId, secretsSourceDefinitionId, secretsSourceDefinitionRevision, userState, cancellationToken); + public System.Threading.Tasks.Task GetFileContentsAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileContentsAsync(project, providerName, serviceEndpointId, repository, commitOrBranch, path, userState, cancellationToken); + public System.Threading.Tasks.Task GetFileContentsAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileContentsAsync(project, providerName, serviceEndpointId, repository, commitOrBranch, path, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFolderAsync(string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFolderAsync(project, path, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFolderAsync(System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFolderAsync(project, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFoldersAsync(string project, string path = null, Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFoldersAsync(project, path, queryOrder, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFoldersAsync(System.Guid project, string path = null, Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.FolderQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFoldersAsync(project, path, queryOrder, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildGeneralSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildGeneralSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildGeneralSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildGeneralSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildGeneralSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.PipelineGeneralSettings newSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildGeneralSettingsAsync(newSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildGeneralSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.PipelineGeneralSettings newSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildGeneralSettingsAsync(newSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetRetentionHistoryAsync(int? daysToLookback = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionHistoryAsync(daysToLookback, userState, cancellationToken); + public System.Threading.Tasks.Task GetLatestBuildAsync(string project, string definition, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLatestBuildAsync(project, definition, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task GetLatestBuildAsync(System.Guid project, string definition, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLatestBuildAsync(project, definition, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task> AddRetentionLeasesAsync(System.Collections.Generic.IReadOnlyList newLeases, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddRetentionLeasesAsync(newLeases, project, userState, cancellationToken); + public System.Threading.Tasks.Task> AddRetentionLeasesAsync(System.Collections.Generic.IReadOnlyList newLeases, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddRetentionLeasesAsync(newLeases, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRetentionLeasesByIdAsync(string project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRetentionLeasesByIdAsync(project, ids, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRetentionLeasesByIdAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRetentionLeasesByIdAsync(project, ids, userState, cancellationToken); + public System.Threading.Tasks.Task GetRetentionLeaseAsync(string project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeaseAsync(project, leaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRetentionLeaseAsync(System.Guid project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeaseAsync(project, leaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesByMinimalRetentionLeasesAsync(string project, System.Collections.Generic.IEnumerable leasesToFetch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesByMinimalRetentionLeasesAsync(project, leasesToFetch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesByMinimalRetentionLeasesAsync(System.Guid project, System.Collections.Generic.IEnumerable leasesToFetch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesByMinimalRetentionLeasesAsync(project, leasesToFetch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesByOwnerIdAsync(string project, string ownerId = null, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesByOwnerIdAsync(project, ownerId, definitionId, runId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesByOwnerIdAsync(System.Guid project, string ownerId = null, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesByOwnerIdAsync(project, ownerId, definitionId, runId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesByUserIdAsync(string project, System.Guid userOwnerId, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesByUserIdAsync(project, userOwnerId, definitionId, runId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRetentionLeasesByUserIdAsync(System.Guid project, System.Guid userOwnerId, int? definitionId = default(int?), int? runId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionLeasesByUserIdAsync(project, userOwnerId, definitionId, runId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRetentionLeaseAsync(Microsoft.TeamFoundation.Build.WebApi.RetentionLeaseUpdate leaseUpdate, string project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRetentionLeaseAsync(leaseUpdate, project, leaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRetentionLeaseAsync(Microsoft.TeamFoundation.Build.WebApi.RetentionLeaseUpdate leaseUpdate, System.Guid project, int leaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRetentionLeaseAsync(leaseUpdate, project, leaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildLogAsync(string project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogAsync(project, buildId, logId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildLogAsync(System.Guid project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogAsync(project, buildId, logId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildLogLinesAsync(string project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogLinesAsync(project, buildId, logId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildLogLinesAsync(System.Guid project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogLinesAsync(project, buildId, logId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildLogsAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogsAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildLogsAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogsAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildLogsZipAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogsZipAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildLogsZipAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogsZipAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildLogZipAsync(string project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogZipAsync(project, buildId, logId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildLogZipAsync(System.Guid project, int buildId, int logId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildLogZipAsync(project, buildId, logId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProjectMetricsAsync(string project, string metricAggregationType = null, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectMetricsAsync(project, metricAggregationType, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProjectMetricsAsync(System.Guid project, string metricAggregationType = null, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectMetricsAsync(project, metricAggregationType, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionMetricsAsync(string project, int definitionId, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionMetricsAsync(project, definitionId, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionMetricsAsync(System.Guid project, int definitionId, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionMetricsAsync(project, definitionId, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildOptionDefinitionsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildOptionDefinitionsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildOptionDefinitionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildOptionDefinitionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildOptionDefinitionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildOptionDefinitionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPathContentsAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPathContentsAsync(project, providerName, serviceEndpointId, repository, commitOrBranch, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPathContentsAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, string commitOrBranch = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPathContentsAsync(project, providerName, serviceEndpointId, repository, commitOrBranch, path, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildPropertiesAsync(string project, int buildId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildPropertiesAsync(project, buildId, filter, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildPropertiesAsync(System.Guid project, int buildId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildPropertiesAsync(project, buildId, filter, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildPropertiesAsync(document, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildPropertiesAsync(document, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionPropertiesAsync(string project, int definitionId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionPropertiesAsync(project, definitionId, filter, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionPropertiesAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable filter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionPropertiesAsync(project, definitionId, filter, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionPropertiesAsync(document, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDefinitionPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionPropertiesAsync(document, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(string project, string providerName, string pullRequestId, string repositoryId = null, System.Guid? serviceEndpointId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(project, providerName, pullRequestId, repositoryId, serviceEndpointId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid project, string providerName, string pullRequestId, string repositoryId = null, System.Guid? serviceEndpointId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(project, providerName, pullRequestId, repositoryId, serviceEndpointId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildReportAsync(string project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildReportAsync(project, buildId, type, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildReportAsync(System.Guid project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildReportAsync(project, buildId, type, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildReportHtmlContentAsync(string project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildReportHtmlContentAsync(project, buildId, type, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildReportHtmlContentAsync(System.Guid project, int buildId, string type = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildReportHtmlContentAsync(project, buildId, type, userState, cancellationToken); + public System.Threading.Tasks.Task ListRepositoriesAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, Microsoft.TeamFoundation.Build.WebApi.ResultSet? resultSet = default(Microsoft.TeamFoundation.Build.WebApi.ResultSet?), bool? pageResults = default(bool?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListRepositoriesAsync(project, providerName, serviceEndpointId, repository, resultSet, pageResults, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task ListRepositoriesAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, Microsoft.TeamFoundation.Build.WebApi.ResultSet? resultSet = default(Microsoft.TeamFoundation.Build.WebApi.ResultSet?), bool? pageResults = default(bool?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListRepositoriesAsync(project, providerName, serviceEndpointId, repository, resultSet, pageResults, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> AuthorizeDefinitionResourcesAsync(System.Collections.Generic.IEnumerable resources, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AuthorizeDefinitionResourcesAsync(resources, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AuthorizeDefinitionResourcesAsync(System.Collections.Generic.IEnumerable resources, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AuthorizeDefinitionResourcesAsync(resources, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionResourcesAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionResourcesAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionResourcesAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionResourcesAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetResourceUsageAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetResourceUsageAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetRetentionSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetRetentionSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRetentionSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRetentionSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateProjectRetentionSettingModel updateModel, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRetentionSettingsAsync(updateModel, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRetentionSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateProjectRetentionSettingModel updateModel, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRetentionSettingsAsync(updateModel, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionRevisionsAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionRevisionsAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionRevisionsAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionRevisionsAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildSettingsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildSettingsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.BuildSettings settings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildSettingsAsync(settings, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.BuildSettings settings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildSettingsAsync(settings, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBuildSettingsAsync(Microsoft.TeamFoundation.Build.WebApi.BuildSettings settings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildSettingsAsync(settings, project, userState, cancellationToken); + public System.Threading.Tasks.Task> ListSourceProvidersAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListSourceProvidersAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> ListSourceProvidersAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListSourceProvidersAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateStageAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateStageParameters updateParameters, int buildId, string stageRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateStageAsync(updateParameters, buildId, stageRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateStageAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateStageParameters updateParameters, string project, int buildId, string stageRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateStageAsync(updateParameters, project, buildId, stageRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateStageAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateStageParameters updateParameters, System.Guid project, int buildId, string stageRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateStageAsync(updateParameters, project, buildId, stageRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetStatusBadgeAsync(string project, string definition, string branchName = null, string stageName = null, string jobName = null, string configuration = null, string label = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusBadgeAsync(project, definition, branchName, stageName, jobName, configuration, label, userState, cancellationToken); + public System.Threading.Tasks.Task GetStatusBadgeAsync(System.Guid project, string definition, string branchName = null, string stageName = null, string jobName = null, string configuration = null, string label = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusBadgeAsync(project, definition, branchName, stageName, jobName, configuration, label, userState, cancellationToken); + public System.Threading.Tasks.Task> AddBuildTagAsync(string project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddBuildTagAsync(project, buildId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddBuildTagAsync(System.Guid project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddBuildTagAsync(project, buildId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddBuildTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddBuildTagsAsync(tags, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddBuildTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddBuildTagsAsync(tags, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteBuildTagAsync(string project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteBuildTagAsync(project, buildId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteBuildTagAsync(System.Guid project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteBuildTagAsync(project, buildId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildTagsAsync(string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildTagsAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildTagsAsync(System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildTagsAsync(project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateBuildTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildTagsAsync(updateParameters, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateBuildTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, System.Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBuildTagsAsync(updateParameters, project, buildId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(string project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagAsync(project, definitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(System.Guid project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagAsync(project, definitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagsAsync(tags, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagsAsync(tags, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(string project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionTagAsync(project, definitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(System.Guid project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionTagAsync(project, definitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(string project, int definitionId, int? revision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionTagsAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(System.Guid project, int definitionId, int? revision = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionTagsAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateDefinitionTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionTagsAsync(updateParameters, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateDefinitionTagsAsync(Microsoft.TeamFoundation.Build.WebApi.UpdateTagParameters updateParameters, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDefinitionTagsAsync(updateParameters, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteTagAsync(string project, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTagAsync(project, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteTagAsync(System.Guid project, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTagAsync(project, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTemplateAsync(string project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTemplateAsync(System.Guid project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTemplateAsync(string project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTemplateAsync(System.Guid project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTemplatesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTemplatesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTemplatesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTemplatesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task SaveTemplateAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionTemplate template, string project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SaveTemplateAsync(template, project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task SaveTemplateAsync(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionTemplate template, System.Guid project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SaveTemplateAsync(template, project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildTimelineAsync(string project, int buildId, System.Guid? timelineId = default(System.Guid?), int? changeId = default(int?), System.Guid? planId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildTimelineAsync(project, buildId, timelineId, changeId, planId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBuildTimelineAsync(System.Guid project, int buildId, System.Guid? timelineId = default(System.Guid?), int? changeId = default(int?), System.Guid? planId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildTimelineAsync(project, buildId, timelineId, changeId, planId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreWebhooksAsync(System.Collections.Generic.List triggerTypes, string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreWebhooksAsync(triggerTypes, project, providerName, serviceEndpointId, repository, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreWebhooksAsync(System.Collections.Generic.List triggerTypes, System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreWebhooksAsync(triggerTypes, project, providerName, serviceEndpointId, repository, userState, cancellationToken); + public System.Threading.Tasks.Task> ListWebhooksAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListWebhooksAsync(project, providerName, serviceEndpointId, repository, userState, cancellationToken); + public System.Threading.Tasks.Task> ListWebhooksAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListWebhooksAsync(project, providerName, serviceEndpointId, repository, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsAsync(string project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildWorkItemsRefsAsync(project, buildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsAsync(System.Guid project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildWorkItemsRefsAsync(project, buildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsFromCommitsAsync(System.Collections.Generic.IEnumerable commitIds, string project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildWorkItemsRefsFromCommitsAsync(commitIds, project, buildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildWorkItemsRefsFromCommitsAsync(System.Collections.Generic.IEnumerable commitIds, System.Guid project, int buildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildWorkItemsRefsFromCommitsAsync(commitIds, project, buildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsBetweenBuildsAsync(string project, int fromBuildId, int toBuildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsBetweenBuildsAsync(project, fromBuildId, toBuildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsBetweenBuildsAsync(System.Guid project, int fromBuildId, int toBuildId, int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsBetweenBuildsAsync(project, fromBuildId, toBuildId, top, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionYamlAsync(string project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionYamlAsync(project, definitionId, revision, minMetricsTime, propertyFilters, includeLatestBuilds, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionYamlAsync(System.Guid project, int definitionId, int? revision = default(int?), System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeLatestBuilds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionYamlAsync(project, definitionId, revision, minMetricsTime, propertyFilters, includeLatestBuilds, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, System.Guid project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, project, ignoreWarnings, checkInTicket, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, bool? ignoreWarnings = default(bool?), string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, ignoreWarnings, checkInTicket, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, string project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, project, ignoreWarnings, checkInTicket, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildsAsync(System.Guid project, System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildsAsync(project, definitions, queues, buildNumber, minFinishTime, maxFinishTime, requestedFor, reasonFilter, statusFilter, resultFilter, tagFilters, properties, top, continuationToken, maxBuildsPerDefinition, deletedFilter, queryOrder, branchName, buildIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBuildsAsync(System.Collections.Generic.IEnumerable definitions = null, System.Collections.Generic.IEnumerable queues = null, string buildNumber = null, System.DateTime? minFinishTime = default(System.DateTime?), System.DateTime? maxFinishTime = default(System.DateTime?), string requestedFor = null, Microsoft.TeamFoundation.Build.WebApi.BuildReason? reasonFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildReason?), Microsoft.TeamFoundation.Build.WebApi.BuildStatus? statusFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildStatus?), Microsoft.TeamFoundation.Build.WebApi.BuildResult? resultFilter = default(Microsoft.TeamFoundation.Build.WebApi.BuildResult?), System.Collections.Generic.IEnumerable tagFilters = null, System.Collections.Generic.IEnumerable properties = null, int? top = default(int?), string continuationToken = null, int? maxBuildsPerDefinition = default(int?), Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption? deletedFilter = default(Microsoft.TeamFoundation.Build.WebApi.QueryDeletedOption?), Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.BuildQueryOrder?), string branchName = null, System.Collections.Generic.IEnumerable buildIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBuildsAsync(definitions, queues, buildNumber, minFinishTime, maxFinishTime, requestedFor, reasonFilter, statusFilter, resultFilter, tagFilters, properties, top, continuationToken, maxBuildsPerDefinition, deletedFilter, queryOrder, branchName, buildIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionAsync(string project, int definitionId, int? revision = default(int?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionAsync(project, definitionId, revision, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionAsync(System.Guid project, int definitionId, int? revision = default(int?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionAsync(project, definitionId, revision, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTime, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTime = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTime, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(string project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFullDefinitionsAsync2(System.Guid project, string name = null, string repositoryId = null, string repositoryType = null, Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder? queryOrder = default(Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder?), int? top = default(int?), string continuationToken = null, System.DateTime? minMetricsTimeInUtc = default(System.DateTime?), System.Collections.Generic.IEnumerable definitionIds = null, string path = null, System.DateTime? builtAfter = default(System.DateTime?), System.DateTime? notBuiltAfter = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFullDefinitionsAsync2(project, name, repositoryId, repositoryType, queryOrder, top, continuationToken, minMetricsTimeInUtc, definitionIds, path, builtAfter, notBuiltAfter, userState, cancellationToken); + public System.Threading.Tasks.Task> ListBranchesAsync(string project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListBranchesAsync(project, providerName, serviceEndpointId, repository, userState, cancellationToken); + public System.Threading.Tasks.Task> ListBranchesAsync(System.Guid project, string providerName, System.Guid? serviceEndpointId = default(System.Guid?), string repository = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListBranchesAsync(project, providerName, serviceEndpointId, repository, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, string project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, project, ignoreWarnings, checkInTicket, sourceBuildId, userState, cancellationToken); + public System.Threading.Tasks.Task QueueBuildAsync(Microsoft.TeamFoundation.Build.WebApi.Build build, System.Guid project, bool? ignoreWarnings = default(bool?), string checkInTicket = null, int? sourceBuildId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueueBuildAsync(build, project, ignoreWarnings, checkInTicket, sourceBuildId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs index 5f282702b..880ee6e2f 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs @@ -1 +1,128 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.ExtensionManagement.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IExtensionManagementHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task GetAcquisitionOptionsAsync(string itemId, bool? testCommerce = default(bool?), bool? isFreeOrTrialInstall = default(bool?), bool? isAccountOwner = default(bool?), bool? isLinked = default(bool?), bool? isConnectedServer = default(bool?), bool? isBuyOperationValid = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RequestAcquisitionAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.AcquisitionRequest.ExtensionAcquisitionRequest acquisitionRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAuditLogAsync(string publisherName, string extensionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RegisterAuthorizationAsync(string publisherName, string extensionName, System.Guid registrationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateDocumentByNameAsync(Newtonsoft.Json.Linq.JObject doc, string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteDocumentByNameAsync(string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, string documentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDocumentByNameAsync(string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, string documentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDocumentsByNameAsync(string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetDocumentByNameAsync(Newtonsoft.Json.Linq.JObject doc, string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateDocumentByNameAsync(Newtonsoft.Json.Linq.JObject doc, string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryCollectionsByNameAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionDataCollectionQuery collectionQuery, string publisherName, string extensionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStatesAsync(bool? includeDisabled = default(bool?), bool? includeErrors = default(bool?), bool? includeInstallationIssues = default(bool?), bool? forceRefresh = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryExtensionsAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtensionQuery query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetInstalledExtensionsAsync(bool? includeDisabledExtensions = default(bool?), bool? includeErrors = default(bool?), System.Collections.Generic.IEnumerable assetTypes = null, bool? includeInstallationIssues = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateInstalledExtensionAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension extension, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetInstalledExtensionByNameAsync(string publisherName, string extensionName, System.Collections.Generic.IEnumerable assetTypes = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task InstallExtensionByNameAsync(string publisherName, string extensionName, string version = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UninstallExtensionByNameAsync(string publisherName, string extensionName, string reason = null, string reasonCode = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPoliciesAsync(string userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ResolveRequestAsync(string rejectMessage, string publisherName, string extensionName, string requesterId, Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionRequestState state, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRequestsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ResolveAllRequestsAsync(string rejectMessage, string publisherName, string extensionName, Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionRequestState state, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRequestAsync(string publisherName, string extensionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RequestExtensionAsync(string publisherName, string extensionName, string requestMessage, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTokenAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IExtensionManagementHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IExtensionManagementHttpClientImpl: IExtensionManagementHttpClient + { + private Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionManagementHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IExtensionManagementHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionManagementHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionManagementHttpClient)) as Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionManagementHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task GetAcquisitionOptionsAsync(string itemId, bool? testCommerce = default(bool?), bool? isFreeOrTrialInstall = default(bool?), bool? isAccountOwner = default(bool?), bool? isLinked = default(bool?), bool? isConnectedServer = default(bool?), bool? isBuyOperationValid = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAcquisitionOptionsAsync(itemId, testCommerce, isFreeOrTrialInstall, isAccountOwner, isLinked, isConnectedServer, isBuyOperationValid, userState, cancellationToken); + public System.Threading.Tasks.Task RequestAcquisitionAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.AcquisitionRequest.ExtensionAcquisitionRequest acquisitionRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RequestAcquisitionAsync(acquisitionRequest, userState, cancellationToken); + public System.Threading.Tasks.Task GetAuditLogAsync(string publisherName, string extensionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAuditLogAsync(publisherName, extensionName, userState, cancellationToken); + public System.Threading.Tasks.Task RegisterAuthorizationAsync(string publisherName, string extensionName, System.Guid registrationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RegisterAuthorizationAsync(publisherName, extensionName, registrationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateDocumentByNameAsync(Newtonsoft.Json.Linq.JObject doc, string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDocumentByNameAsync(doc, publisherName, extensionName, scopeType, scopeValue, collectionName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteDocumentByNameAsync(string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, string documentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDocumentByNameAsync(publisherName, extensionName, scopeType, scopeValue, collectionName, documentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDocumentByNameAsync(string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, string documentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDocumentByNameAsync(publisherName, extensionName, scopeType, scopeValue, collectionName, documentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDocumentsByNameAsync(string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDocumentsByNameAsync(publisherName, extensionName, scopeType, scopeValue, collectionName, userState, cancellationToken); + public System.Threading.Tasks.Task SetDocumentByNameAsync(Newtonsoft.Json.Linq.JObject doc, string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetDocumentByNameAsync(doc, publisherName, extensionName, scopeType, scopeValue, collectionName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateDocumentByNameAsync(Newtonsoft.Json.Linq.JObject doc, string publisherName, string extensionName, string scopeType, string scopeValue, string collectionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateDocumentByNameAsync(doc, publisherName, extensionName, scopeType, scopeValue, collectionName, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryCollectionsByNameAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionDataCollectionQuery collectionQuery, string publisherName, string extensionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryCollectionsByNameAsync(collectionQuery, publisherName, extensionName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStatesAsync(bool? includeDisabled = default(bool?), bool? includeErrors = default(bool?), bool? includeInstallationIssues = default(bool?), bool? forceRefresh = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatesAsync(includeDisabled, includeErrors, includeInstallationIssues, forceRefresh, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryExtensionsAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtensionQuery query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryExtensionsAsync(query, userState, cancellationToken); + public System.Threading.Tasks.Task> GetInstalledExtensionsAsync(bool? includeDisabledExtensions = default(bool?), bool? includeErrors = default(bool?), System.Collections.Generic.IEnumerable assetTypes = null, bool? includeInstallationIssues = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetInstalledExtensionsAsync(includeDisabledExtensions, includeErrors, assetTypes, includeInstallationIssues, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateInstalledExtensionAsync(Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.InstalledExtension extension, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateInstalledExtensionAsync(extension, userState, cancellationToken); + public System.Threading.Tasks.Task GetInstalledExtensionByNameAsync(string publisherName, string extensionName, System.Collections.Generic.IEnumerable assetTypes = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetInstalledExtensionByNameAsync(publisherName, extensionName, assetTypes, userState, cancellationToken); + public System.Threading.Tasks.Task InstallExtensionByNameAsync(string publisherName, string extensionName, string version = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.InstallExtensionByNameAsync(publisherName, extensionName, version, userState, cancellationToken); + public System.Threading.Tasks.Task UninstallExtensionByNameAsync(string publisherName, string extensionName, string reason = null, string reasonCode = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UninstallExtensionByNameAsync(publisherName, extensionName, reason, reasonCode, userState, cancellationToken); + public System.Threading.Tasks.Task GetPoliciesAsync(string userId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPoliciesAsync(userId, userState, cancellationToken); + public System.Threading.Tasks.Task ResolveRequestAsync(string rejectMessage, string publisherName, string extensionName, string requesterId, Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionRequestState state, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ResolveRequestAsync(rejectMessage, publisherName, extensionName, requesterId, state, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRequestsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRequestsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task ResolveAllRequestsAsync(string rejectMessage, string publisherName, string extensionName, Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionRequestState state, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ResolveAllRequestsAsync(rejectMessage, publisherName, extensionName, state, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRequestAsync(string publisherName, string extensionName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRequestAsync(publisherName, extensionName, userState, cancellationToken); + public System.Threading.Tasks.Task RequestExtensionAsync(string publisherName, string extensionName, string requestMessage, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RequestExtensionAsync(publisherName, extensionName, requestMessage, userState, cancellationToken); + public System.Threading.Tasks.Task GetTokenAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTokenAsync(userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs index 5f282702b..19ce56c37 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs @@ -1 +1,473 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IFeedHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.Feed.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IFeedHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task GetFeedAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole, bool? includeDeletedUpstreams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsAsync(string project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole, bool? includeDeletedUpstreams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsAsync(System.Guid project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole, bool? includeDeletedUpstreams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(string feedId, bool? includeIds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageIdAsync(string project, string feedId, string protocolType, string normalizedPackageName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageAsync(string project, string feedId, string protocolType, string normalizedPackageName, bool includeAllVersions = false, bool includeUrls = true, bool? isListed = default(bool?), bool? isRelease = default(bool?), bool includeDeleted = false, bool includeDescription = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageVersionAsync(string project, string feedId, string protocolType, string normalizedPackageName, string packageVersionId, bool includeUrls = true, bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(string project, string feedId, string protocolType, string normalizedPackageName, bool includeUrls = true, bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, string? project, System.Collections.Generic.IEnumerable auxiliaryAuthHeaderValues, object? userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBadgeAsync(string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBadgeAsync(string project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBadgeAsync(System.Guid project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCapabilitiesAsync(System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCapabilitiesAsync(string project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCapabilitiesAsync(System.Guid project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCapabilityAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedCapabilities capabilities, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCapabilityAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedCapabilities capabilities, string project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCapabilityAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedCapabilities capabilities, System.Guid project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RunBatchAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedBatchData data, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RunBatchAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedBatchData data, string project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RunBatchAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedBatchData data, System.Guid project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedChangeAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedChangeAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedChangeAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedChangesAsync(string project, bool? includeDeleted = default(bool?), long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedChangesAsync(System.Guid project, bool? includeDeleted = default(bool?), long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedChangesAsync(bool? includeDeleted = default(bool?), long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedIdsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedIdsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedIdsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsFromRecycleBinAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsFromRecycleBinAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsFromRecycleBinAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task PermanentDeleteFeedAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task PermanentDeleteFeedAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task PermanentDeleteFeedAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDeletedFeedAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDeletedFeedAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDeletedFeedAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedAsync(string project, string feedId, bool? includeDeletedUpstreams = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedAsync(System.Guid project, string feedId, bool? includeDeletedUpstreams = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedAsync(string feedId, bool? includeDeletedUpstreams = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsAsync(string project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), bool? includeDeletedUpstreams = default(bool?), bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsAsync(System.Guid project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), bool? includeDeletedUpstreams = default(bool?), bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), bool? includeDeletedUpstreams = default(bool?), bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedUpdate feed, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedUpdate feed, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedUpdate feed, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetGlobalPermissionsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetGlobalPermissionsAsync(bool includeIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> SetGlobalPermissionsAsync(System.Collections.Generic.IEnumerable globalPermissions, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageChangesAsync(string project, string feedId, long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageChangesAsync(System.Guid project, string feedId, long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageChangesAsync(string feedId, long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryPackageMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageMetricsQuery packageIdQuery, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryPackageMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageMetricsQuery packageIdQuery, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryPackageMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageMetricsQuery packageIdQuery, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageAsync(string project, string feedId, string packageId, bool? includeAllVersions = default(bool?), bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isRelease = default(bool?), bool? includeDeleted = default(bool?), bool? includeDescription = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageAsync(System.Guid project, string feedId, string packageId, bool? includeAllVersions = default(bool?), bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isRelease = default(bool?), bool? includeDeleted = default(bool?), bool? includeDescription = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageAsync(string feedId, string packageId, bool? includeAllVersions = default(bool?), bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isRelease = default(bool?), bool? includeDeleted = default(bool?), bool? includeDescription = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPackagesAsync(string project, string feedId, string protocolType = null, string packageNameQuery = null, string normalizedPackageName = null, bool? includeUrls = default(bool?), bool? includeAllVersions = default(bool?), bool? isListed = default(bool?), bool? getTopPackageVersions = default(bool?), bool? isRelease = default(bool?), bool? includeDescription = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeDeleted = default(bool?), bool? isCached = default(bool?), System.Guid? directUpstreamId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPackagesAsync(System.Guid project, string feedId, string protocolType = null, string packageNameQuery = null, string normalizedPackageName = null, bool? includeUrls = default(bool?), bool? includeAllVersions = default(bool?), bool? isListed = default(bool?), bool? getTopPackageVersions = default(bool?), bool? isRelease = default(bool?), bool? includeDescription = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeDeleted = default(bool?), bool? isCached = default(bool?), System.Guid? directUpstreamId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPackagesAsync(string feedId, string protocolType = null, string packageNameQuery = null, string normalizedPackageName = null, bool? includeUrls = default(bool?), bool? includeAllVersions = default(bool?), bool? isListed = default(bool?), bool? getTopPackageVersions = default(bool?), bool? isRelease = default(bool?), bool? includeDescription = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeDeleted = default(bool?), bool? isCached = default(bool?), System.Guid? directUpstreamId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(string project, string feedId, bool? includeIds = default(bool?), bool? excludeInheritedPermissions = default(bool?), string identityDescriptor = null, bool? includeDeletedFeeds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(System.Guid project, string feedId, bool? includeIds = default(bool?), bool? excludeInheritedPermissions = default(bool?), string identityDescriptor = null, bool? includeDeletedFeeds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(string feedId, bool? includeIds = default(bool?), bool? excludeInheritedPermissions = default(bool?), string identityDescriptor = null, bool? includeDeletedFeeds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> SetFeedPermissionsAsync(System.Collections.Generic.IEnumerable feedPermission, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> SetFeedPermissionsAsync(System.Collections.Generic.IEnumerable feedPermission, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> SetFeedPermissionsAsync(System.Collections.Generic.IEnumerable feedPermission, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageVersionProvenanceAsync(string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageVersionProvenanceAsync(string project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageVersionProvenanceAsync(System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task EmptyRecycleBinAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task EmptyRecycleBinAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task EmptyRecycleBinAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRecycleBinPackageAsync(string project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRecycleBinPackageAsync(System.Guid project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRecycleBinPackageAsync(string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinPackagesAsync(string project, string feedId, string protocolType = null, string packageNameQuery = null, bool? includeUrls = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeAllVersions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinPackagesAsync(System.Guid project, string feedId, string protocolType = null, string packageNameQuery = null, bool? includeUrls = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeAllVersions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinPackagesAsync(string feedId, string protocolType = null, string packageNameQuery = null, bool? includeUrls = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeAllVersions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRecycleBinPackageVersionAsync(string project, string feedId, System.Guid packageId, System.Guid packageVersionId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRecycleBinPackageVersionAsync(System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRecycleBinPackageVersionAsync(string feedId, System.Guid packageId, System.Guid packageVersionId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinPackageVersionsAsync(string project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinPackageVersionsAsync(System.Guid project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinPackageVersionsAsync(string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task PermanentlyDeletePackageVersionAsync(string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task PermanentlyDeletePackageVersionAsync(string project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task PermanentlyDeletePackageVersionAsync(System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRecycleBinPackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRecycleBinPackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRecycleBinPackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedRetentionPoliciesAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedRetentionPoliciesAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedRetentionPoliciesAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedRetentionPoliciesAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedRetentionPoliciesAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedRetentionPoliciesAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetFeedRetentionPoliciesAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRetentionPolicy policy, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetFeedRetentionPoliciesAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRetentionPolicy policy, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetFeedRetentionPoliciesAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRetentionPolicy policy, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryPackageVersionMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersionMetricsQuery packageVersionIdQuery, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryPackageVersionMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersionMetricsQuery packageVersionIdQuery, string project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryPackageVersionMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersionMetricsQuery packageVersionIdQuery, System.Guid project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePackageVersionAsync(string project, string feedId, string packageId, string packageVersionId, System.DateTime deletedDate, System.DateTime scheduledPermanentDeleteDate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePackageVersionAsync(System.Guid project, string feedId, string packageId, string packageVersionId, System.DateTime deletedDate, System.DateTime scheduledPermanentDeleteDate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePackageVersionAsync(string feedId, string packageId, string packageVersionId, System.DateTime deletedDate, System.DateTime scheduledPermanentDeleteDate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageVersionAsync(string project, string feedId, string packageId, string packageVersionId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageVersionAsync(System.Guid project, string feedId, string packageId, string packageVersionId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPackageVersionAsync(string feedId, string packageId, string packageVersionId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(string project, string feedId, string packageId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(System.Guid project, string feedId, string packageId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(string feedId, string packageId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string feedId, string packageId, string packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string project, string feedId, string packageId, string packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, System.Guid project, string feedId, string packageId, string packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedViewAsync(string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedViewAsync(string project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFeedViewAsync(System.Guid project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedViewAsync(string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedViewAsync(string project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFeedViewAsync(System.Guid project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedViewsAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedViewsAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFeedViewsAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, System.Guid project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IFeedHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IFeedHttpClientImpl: IFeedHttpClient + { + private Microsoft.VisualStudio.Services.Feed.WebApi.FeedHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IFeedHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.Feed.WebApi.FeedHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Feed.WebApi.FeedHttpClient)) as Microsoft.VisualStudio.Services.Feed.WebApi.FeedHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task GetFeedAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsAsync(feedRole, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole, bool? includeDeletedUpstreams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsAsync(feedRole, includeDeletedUpstreams, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsAsync(string project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole, bool? includeDeletedUpstreams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsAsync(project, feedRole, includeDeletedUpstreams, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsAsync(System.Guid project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole, bool? includeDeletedUpstreams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsAsync(project, feedRole, includeDeletedUpstreams, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(string feedId, bool? includeIds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedPermissionsAsync(feedId, includeIds, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageIdAsync(string project, string feedId, string protocolType, string normalizedPackageName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageIdAsync(project, feedId, protocolType, normalizedPackageName, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageAsync(string project, string feedId, string protocolType, string normalizedPackageName, bool includeAllVersions = false, bool includeUrls = true, bool? isListed = default(bool?), bool? isRelease = default(bool?), bool includeDeleted = false, bool includeDescription = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageAsync(project, feedId, protocolType, normalizedPackageName, includeAllVersions, includeUrls, isListed, isRelease, includeDeleted, includeDescription, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageVersionAsync(string project, string feedId, string protocolType, string normalizedPackageName, string packageVersionId, bool includeUrls = true, bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionAsync(project, feedId, protocolType, normalizedPackageName, packageVersionId, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(string project, string feedId, string protocolType, string normalizedPackageName, bool includeUrls = true, bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionsAsync(project, feedId, protocolType, normalizedPackageName, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, string? project, System.Collections.Generic.IEnumerable auxiliaryAuthHeaderValues, object? userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFeedAsync(feed, project, auxiliaryAuthHeaderValues, userState, cancellationToken); + public System.Threading.Tasks.Task GetBadgeAsync(string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBadgeAsync(feedId, packageId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBadgeAsync(string project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBadgeAsync(project, feedId, packageId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBadgeAsync(System.Guid project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBadgeAsync(project, feedId, packageId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCapabilitiesAsync(System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapabilitiesAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCapabilitiesAsync(string project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapabilitiesAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCapabilitiesAsync(System.Guid project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapabilitiesAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCapabilityAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedCapabilities capabilities, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCapabilityAsync(capabilities, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCapabilityAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedCapabilities capabilities, string project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCapabilityAsync(capabilities, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCapabilityAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedCapabilities capabilities, System.Guid project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCapabilityAsync(capabilities, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task RunBatchAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedBatchData data, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RunBatchAsync(data, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task RunBatchAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedBatchData data, string project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RunBatchAsync(data, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task RunBatchAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedBatchData data, System.Guid project, System.Guid feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RunBatchAsync(data, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedChangeAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedChangeAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedChangeAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedChangeAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedChangeAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedChangeAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedChangesAsync(string project, bool? includeDeleted = default(bool?), long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedChangesAsync(project, includeDeleted, continuationToken, batchSize, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedChangesAsync(System.Guid project, bool? includeDeleted = default(bool?), long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedChangesAsync(project, includeDeleted, continuationToken, batchSize, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedChangesAsync(bool? includeDeleted = default(bool?), long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedChangesAsync(includeDeleted, continuationToken, batchSize, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedIdsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedIdsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedIdsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedIdsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedIdsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedIdsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsFromRecycleBinAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsFromRecycleBinAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsFromRecycleBinAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsFromRecycleBinAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsFromRecycleBinAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsFromRecycleBinAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task PermanentDeleteFeedAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.PermanentDeleteFeedAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task PermanentDeleteFeedAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.PermanentDeleteFeedAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task PermanentDeleteFeedAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.PermanentDeleteFeedAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDeletedFeedAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDeletedFeedAsync(patchJson, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDeletedFeedAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDeletedFeedAsync(patchJson, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDeletedFeedAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDeletedFeedAsync(patchJson, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFeedAsync(feed, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFeedAsync(feed, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.Feed feed, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFeedAsync(feed, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedAsync(string project, string feedId, bool? includeDeletedUpstreams = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedAsync(project, feedId, includeDeletedUpstreams, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedAsync(System.Guid project, string feedId, bool? includeDeletedUpstreams = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedAsync(project, feedId, includeDeletedUpstreams, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedAsync(string feedId, bool? includeDeletedUpstreams = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedAsync(feedId, includeDeletedUpstreams, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsAsync(string project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), bool? includeDeletedUpstreams = default(bool?), bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsAsync(project, feedRole, includeDeletedUpstreams, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsAsync(System.Guid project, Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), bool? includeDeletedUpstreams = default(bool?), bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsAsync(project, feedRole, includeDeletedUpstreams, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole? feedRole = default(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRole?), bool? includeDeletedUpstreams = default(bool?), bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedsAsync(feedRole, includeDeletedUpstreams, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedUpdate feed, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFeedAsync(feed, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedUpdate feed, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFeedAsync(feed, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFeedAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedUpdate feed, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFeedAsync(feed, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetGlobalPermissionsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGlobalPermissionsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetGlobalPermissionsAsync(bool includeIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGlobalPermissionsAsync(includeIds, userState, cancellationToken); + public System.Threading.Tasks.Task> SetGlobalPermissionsAsync(System.Collections.Generic.IEnumerable globalPermissions, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetGlobalPermissionsAsync(globalPermissions, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageChangesAsync(string project, string feedId, long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageChangesAsync(project, feedId, continuationToken, batchSize, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageChangesAsync(System.Guid project, string feedId, long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageChangesAsync(project, feedId, continuationToken, batchSize, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageChangesAsync(string feedId, long? continuationToken = default(long?), int? batchSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageChangesAsync(feedId, continuationToken, batchSize, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryPackageMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageMetricsQuery packageIdQuery, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryPackageMetricsAsync(packageIdQuery, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryPackageMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageMetricsQuery packageIdQuery, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryPackageMetricsAsync(packageIdQuery, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryPackageMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageMetricsQuery packageIdQuery, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryPackageMetricsAsync(packageIdQuery, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageAsync(string project, string feedId, string packageId, bool? includeAllVersions = default(bool?), bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isRelease = default(bool?), bool? includeDeleted = default(bool?), bool? includeDescription = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageAsync(project, feedId, packageId, includeAllVersions, includeUrls, isListed, isRelease, includeDeleted, includeDescription, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageAsync(System.Guid project, string feedId, string packageId, bool? includeAllVersions = default(bool?), bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isRelease = default(bool?), bool? includeDeleted = default(bool?), bool? includeDescription = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageAsync(project, feedId, packageId, includeAllVersions, includeUrls, isListed, isRelease, includeDeleted, includeDescription, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageAsync(string feedId, string packageId, bool? includeAllVersions = default(bool?), bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isRelease = default(bool?), bool? includeDeleted = default(bool?), bool? includeDescription = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageAsync(feedId, packageId, includeAllVersions, includeUrls, isListed, isRelease, includeDeleted, includeDescription, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPackagesAsync(string project, string feedId, string protocolType = null, string packageNameQuery = null, string normalizedPackageName = null, bool? includeUrls = default(bool?), bool? includeAllVersions = default(bool?), bool? isListed = default(bool?), bool? getTopPackageVersions = default(bool?), bool? isRelease = default(bool?), bool? includeDescription = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeDeleted = default(bool?), bool? isCached = default(bool?), System.Guid? directUpstreamId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackagesAsync(project, feedId, protocolType, packageNameQuery, normalizedPackageName, includeUrls, includeAllVersions, isListed, getTopPackageVersions, isRelease, includeDescription, top, skip, includeDeleted, isCached, directUpstreamId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPackagesAsync(System.Guid project, string feedId, string protocolType = null, string packageNameQuery = null, string normalizedPackageName = null, bool? includeUrls = default(bool?), bool? includeAllVersions = default(bool?), bool? isListed = default(bool?), bool? getTopPackageVersions = default(bool?), bool? isRelease = default(bool?), bool? includeDescription = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeDeleted = default(bool?), bool? isCached = default(bool?), System.Guid? directUpstreamId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackagesAsync(project, feedId, protocolType, packageNameQuery, normalizedPackageName, includeUrls, includeAllVersions, isListed, getTopPackageVersions, isRelease, includeDescription, top, skip, includeDeleted, isCached, directUpstreamId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPackagesAsync(string feedId, string protocolType = null, string packageNameQuery = null, string normalizedPackageName = null, bool? includeUrls = default(bool?), bool? includeAllVersions = default(bool?), bool? isListed = default(bool?), bool? getTopPackageVersions = default(bool?), bool? isRelease = default(bool?), bool? includeDescription = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeDeleted = default(bool?), bool? isCached = default(bool?), System.Guid? directUpstreamId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackagesAsync(feedId, protocolType, packageNameQuery, normalizedPackageName, includeUrls, includeAllVersions, isListed, getTopPackageVersions, isRelease, includeDescription, top, skip, includeDeleted, isCached, directUpstreamId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(string project, string feedId, bool? includeIds = default(bool?), bool? excludeInheritedPermissions = default(bool?), string identityDescriptor = null, bool? includeDeletedFeeds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedPermissionsAsync(project, feedId, includeIds, excludeInheritedPermissions, identityDescriptor, includeDeletedFeeds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(System.Guid project, string feedId, bool? includeIds = default(bool?), bool? excludeInheritedPermissions = default(bool?), string identityDescriptor = null, bool? includeDeletedFeeds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedPermissionsAsync(project, feedId, includeIds, excludeInheritedPermissions, identityDescriptor, includeDeletedFeeds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedPermissionsAsync(string feedId, bool? includeIds = default(bool?), bool? excludeInheritedPermissions = default(bool?), string identityDescriptor = null, bool? includeDeletedFeeds = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedPermissionsAsync(feedId, includeIds, excludeInheritedPermissions, identityDescriptor, includeDeletedFeeds, userState, cancellationToken); + public System.Threading.Tasks.Task> SetFeedPermissionsAsync(System.Collections.Generic.IEnumerable feedPermission, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetFeedPermissionsAsync(feedPermission, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> SetFeedPermissionsAsync(System.Collections.Generic.IEnumerable feedPermission, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetFeedPermissionsAsync(feedPermission, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> SetFeedPermissionsAsync(System.Collections.Generic.IEnumerable feedPermission, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetFeedPermissionsAsync(feedPermission, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageVersionProvenanceAsync(string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionProvenanceAsync(feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageVersionProvenanceAsync(string project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionProvenanceAsync(project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageVersionProvenanceAsync(System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionProvenanceAsync(project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task EmptyRecycleBinAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.EmptyRecycleBinAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task EmptyRecycleBinAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.EmptyRecycleBinAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task EmptyRecycleBinAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.EmptyRecycleBinAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRecycleBinPackageAsync(string project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageAsync(project, feedId, packageId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task GetRecycleBinPackageAsync(System.Guid project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageAsync(project, feedId, packageId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task GetRecycleBinPackageAsync(string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageAsync(feedId, packageId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinPackagesAsync(string project, string feedId, string protocolType = null, string packageNameQuery = null, bool? includeUrls = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeAllVersions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackagesAsync(project, feedId, protocolType, packageNameQuery, includeUrls, top, skip, includeAllVersions, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinPackagesAsync(System.Guid project, string feedId, string protocolType = null, string packageNameQuery = null, bool? includeUrls = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeAllVersions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackagesAsync(project, feedId, protocolType, packageNameQuery, includeUrls, top, skip, includeAllVersions, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinPackagesAsync(string feedId, string protocolType = null, string packageNameQuery = null, bool? includeUrls = default(bool?), int? top = default(int?), int? skip = default(int?), bool? includeAllVersions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackagesAsync(feedId, protocolType, packageNameQuery, includeUrls, top, skip, includeAllVersions, userState, cancellationToken); + public System.Threading.Tasks.Task GetRecycleBinPackageVersionAsync(string project, string feedId, System.Guid packageId, System.Guid packageVersionId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageVersionAsync(project, feedId, packageId, packageVersionId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task GetRecycleBinPackageVersionAsync(System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageVersionAsync(project, feedId, packageId, packageVersionId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task GetRecycleBinPackageVersionAsync(string feedId, System.Guid packageId, System.Guid packageVersionId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageVersionAsync(feedId, packageId, packageVersionId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinPackageVersionsAsync(string project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageVersionsAsync(project, feedId, packageId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinPackageVersionsAsync(System.Guid project, string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageVersionsAsync(project, feedId, packageId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinPackageVersionsAsync(string feedId, System.Guid packageId, bool? includeUrls = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinPackageVersionsAsync(feedId, packageId, includeUrls, userState, cancellationToken); + public System.Threading.Tasks.Task PermanentlyDeletePackageVersionAsync(string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.PermanentlyDeletePackageVersionAsync(feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task PermanentlyDeletePackageVersionAsync(string project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.PermanentlyDeletePackageVersionAsync(project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task PermanentlyDeletePackageVersionAsync(System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.PermanentlyDeletePackageVersionAsync(project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRecycleBinPackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRecycleBinPackageVersionAsync(patchJson, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRecycleBinPackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRecycleBinPackageVersionAsync(patchJson, project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRecycleBinPackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, System.Guid project, string feedId, System.Guid packageId, System.Guid packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRecycleBinPackageVersionAsync(patchJson, project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedRetentionPoliciesAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedRetentionPoliciesAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedRetentionPoliciesAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedRetentionPoliciesAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedRetentionPoliciesAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedRetentionPoliciesAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedRetentionPoliciesAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedRetentionPoliciesAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedRetentionPoliciesAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedRetentionPoliciesAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedRetentionPoliciesAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedRetentionPoliciesAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task SetFeedRetentionPoliciesAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRetentionPolicy policy, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetFeedRetentionPoliciesAsync(policy, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task SetFeedRetentionPoliciesAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRetentionPolicy policy, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetFeedRetentionPoliciesAsync(policy, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task SetFeedRetentionPoliciesAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedRetentionPolicy policy, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetFeedRetentionPoliciesAsync(policy, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryPackageVersionMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersionMetricsQuery packageVersionIdQuery, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryPackageVersionMetricsAsync(packageVersionIdQuery, feedId, packageId, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryPackageVersionMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersionMetricsQuery packageVersionIdQuery, string project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryPackageVersionMetricsAsync(packageVersionIdQuery, project, feedId, packageId, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryPackageVersionMetricsAsync(Microsoft.VisualStudio.Services.Feed.WebApi.PackageVersionMetricsQuery packageVersionIdQuery, System.Guid project, string feedId, System.Guid packageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryPackageVersionMetricsAsync(packageVersionIdQuery, project, feedId, packageId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePackageVersionAsync(string project, string feedId, string packageId, string packageVersionId, System.DateTime deletedDate, System.DateTime scheduledPermanentDeleteDate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePackageVersionAsync(project, feedId, packageId, packageVersionId, deletedDate, scheduledPermanentDeleteDate, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePackageVersionAsync(System.Guid project, string feedId, string packageId, string packageVersionId, System.DateTime deletedDate, System.DateTime scheduledPermanentDeleteDate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePackageVersionAsync(project, feedId, packageId, packageVersionId, deletedDate, scheduledPermanentDeleteDate, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePackageVersionAsync(string feedId, string packageId, string packageVersionId, System.DateTime deletedDate, System.DateTime scheduledPermanentDeleteDate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePackageVersionAsync(feedId, packageId, packageVersionId, deletedDate, scheduledPermanentDeleteDate, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageVersionAsync(string project, string feedId, string packageId, string packageVersionId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionAsync(project, feedId, packageId, packageVersionId, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageVersionAsync(System.Guid project, string feedId, string packageId, string packageVersionId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionAsync(project, feedId, packageId, packageVersionId, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task GetPackageVersionAsync(string feedId, string packageId, string packageVersionId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionAsync(feedId, packageId, packageVersionId, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(string project, string feedId, string packageId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionsAsync(project, feedId, packageId, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(System.Guid project, string feedId, string packageId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionsAsync(project, feedId, packageId, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPackageVersionsAsync(string feedId, string packageId, bool? includeUrls = default(bool?), bool? isListed = default(bool?), bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPackageVersionsAsync(feedId, packageId, includeUrls, isListed, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string feedId, string packageId, string packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePackageVersionAsync(patchJson, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, string project, string feedId, string packageId, string packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePackageVersionAsync(patchJson, project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePackageVersionAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchJson, System.Guid project, string feedId, string packageId, string packageVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePackageVersionAsync(patchJson, project, feedId, packageId, packageVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFeedViewAsync(view, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFeedViewAsync(view, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFeedViewAsync(view, project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedViewAsync(string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedViewAsync(feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedViewAsync(string project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedViewAsync(project, feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFeedViewAsync(System.Guid project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFeedViewAsync(project, feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedViewAsync(string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedViewAsync(feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedViewAsync(string project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedViewAsync(project, feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFeedViewAsync(System.Guid project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedViewAsync(project, feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedViewsAsync(string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedViewsAsync(feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedViewsAsync(string project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedViewsAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFeedViewsAsync(System.Guid project, string feedId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFeedViewsAsync(project, feedId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFeedViewAsync(view, feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, string project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFeedViewAsync(view, project, feedId, viewId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFeedViewAsync(Microsoft.VisualStudio.Services.Feed.WebApi.FeedView view, System.Guid project, string feedId, string viewId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFeedViewAsync(view, project, feedId, viewId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs index 5f282702b..248ff9c56 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs @@ -1 +1,76 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IGenericHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +namespace TfsCmdlets.HttpClients +{ + public partial interface IGenericHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Uri GetUri(); + public T Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public System.Net.Http.HttpResponseMessage Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public TResult Post(string apiPath, T value, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public System.Net.Http.HttpResponseMessage Post(string apiPath, System.Net.Http.HttpContent content, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null); + public T PostForm(string formPath, System.Collections.Generic.Dictionary formData, bool sendVerificationToken = false, string tokenRequestPath = null, System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string responseMediaType = "text/html", object userState = null); + } + [Export(typeof(IGenericHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IGenericHttpClientImpl: IGenericHttpClient + { + private TfsCmdlets.HttpClients.GenericHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IGenericHttpClientImpl(IDataManager data) + { + Data = data; + } + private TfsCmdlets.HttpClients.GenericHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(TfsCmdlets.HttpClients.GenericHttpClient)) as TfsCmdlets.HttpClients.GenericHttpClient; + } + return _client; + } + } + public System.Uri GetUri() + => Client.GetUri(); + public T Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Get(apiPath, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public System.Net.Http.HttpResponseMessage Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Get(apiPath, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public TResult Post(string apiPath, T value, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Post(apiPath, value, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public System.Net.Http.HttpResponseMessage Post(string apiPath, System.Net.Http.HttpContent content, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Post(apiPath, content, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null) + => Client.InvokeAsync(method, apiPath, content, requestMediaType, responseMediaType, additionalHeaders, queryParameters, apiVersion, userState); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null) + => Client.InvokeAsync(method, apiPath, content, requestMediaType, responseMediaType, additionalHeaders, queryParameters, apiVersion, userState); + public T PostForm(string formPath, System.Collections.Generic.Dictionary formData, bool sendVerificationToken = false, string tokenRequestPath = null, System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string responseMediaType = "text/html", object userState = null) + => Client.PostForm(formPath, formData, sendVerificationToken, tokenRequestPath, additionalHeaders, queryParameters, responseMediaType, userState); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs index 5f282702b..af018e7d2 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs @@ -1 +1,53 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IGitExtendedHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + } + [Export(typeof(IGitExtendedHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IGitExtendedHttpClientImpl: IGitExtendedHttpClient + { + private TfsCmdlets.HttpClients.GitExtendedHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IGitExtendedHttpClientImpl(IDataManager data) + { + Data = data; + } + private TfsCmdlets.HttpClients.GitExtendedHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(TfsCmdlets.HttpClients.GitExtendedHttpClient)) as TfsCmdlets.HttpClients.GitExtendedHttpClient; + } + return _client; + } + } + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs index 5f282702b..1f6ab9f24 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs @@ -1 +1,2495 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IGitHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.SourceControl.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IGitHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task> GetBranchRefsAsync(System.Guid repositoryId, object userState = null); + public System.Threading.Tasks.Task> GetTagRefsAsync(System.Guid repositoryId, object userState = null); + public System.Threading.Tasks.Task RenameRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository repositoryToRename, string newName, object userState = null); + public System.Threading.Tasks.Task> GetItemsPagedAsync(string project, string repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsPagedAsync(string project, System.Guid repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsPagedAsync(System.Guid project, string repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsPagedAsync(System.Guid project, System.Guid repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(string project, string repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(System.Guid project, string repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(string project, System.Guid repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteEnablementStatusAsync(bool allProjects, bool? includeBillableCommitters = default(bool?), System.Collections.Generic.IEnumerable projectIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEnablementStatusAsync(System.Collections.Generic.IEnumerable projectIds = null, System.DateTime? billingDate = default(System.DateTime?), int? skip = default(int?), int? take = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetEnableOnCreateHostAsync(bool enableOnCreateHost, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetEnableOnCreateProjectAsync(System.Guid enableOnCreateProjectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetEnableOnCreateHostAsync(bool enableOnCreateHost, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetEnableOnCreateProjectAsync(System.Guid enableOnCreateProjectId, bool enableOnStatus, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateEnablementStatusAsync(System.Collections.Generic.IEnumerable enablementUpdates, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEstimatedBillablePushersOrgAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEstimatedBillablePushersProjectAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEstimatedBillablePushersProjectAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPermissionAsync(string projectName = null, string repositoryId = null, string permission = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(string project, string repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(string project, System.Guid repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(System.Guid project, string repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(System.Guid project, System.Guid repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBillableCommittersAsync(string project, System.DateTime? billingDate = default(System.DateTime?), int? skip = default(int?), int? take = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBillableCommittersAsync(System.Guid project, System.DateTime? billingDate = default(System.DateTime?), int? skip = default(int?), int? take = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBillableCommittersDetailAsync(string project, string includeDetails, System.DateTime? billingDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBillableCommittersDetailAsync(System.Guid project, string includeDetails, System.DateTime? billingDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobAsync(string project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobAsync(string project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobAsync(System.Guid project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobAsync(System.Guid project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobAsync(string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobAsync(System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobContentAsync(string project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobContentAsync(string project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobContentAsync(System.Guid project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobContentAsync(System.Guid project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobContentAsync(string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobContentAsync(System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, System.Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, string project, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, string project, System.Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, System.Guid project, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, System.Guid project, System.Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobZipAsync(string project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobZipAsync(string project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobZipAsync(System.Guid project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobZipAsync(System.Guid project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobZipAsync(string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBlobZipAsync(System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBranchAsync(string project, string repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBranchAsync(string project, System.Guid repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBranchAsync(System.Guid project, string repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBranchAsync(System.Guid project, System.Guid repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBranchAsync(string repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBranchAsync(System.Guid repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchesAsync(string project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchesAsync(string project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchesAsync(System.Guid project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchesAsync(System.Guid project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchesAsync(string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchesAsync(System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetChangesAsync(string project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetChangesAsync(string project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetChangesAsync(System.Guid project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetChangesAsync(System.Guid project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetChangesAsync(string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetChangesAsync(string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(string project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(string project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(System.Guid project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(System.Guid project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(string project, string repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(string project, System.Guid repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(System.Guid project, string repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(System.Guid project, System.Guid repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(string repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(System.Guid repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, string repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, System.Guid repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, string repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, System.Guid repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(string project, string repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(string project, System.Guid repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(System.Guid project, string repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(System.Guid project, System.Guid repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(string repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(System.Guid repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickAsync(string project, int cherryPickId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickAsync(string project, int cherryPickId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickAsync(System.Guid project, int cherryPickId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickAsync(System.Guid project, int cherryPickId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(string project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(string project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(System.Guid project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(System.Guid project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitDiffsAsync(string project, string repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitDiffsAsync(string project, System.Guid repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitDiffsAsync(System.Guid project, string repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitDiffsAsync(System.Guid project, System.Guid repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitDiffsAsync(string repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitDiffsAsync(System.Guid repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitAsync(string project, string commitId, string repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitAsync(string project, string commitId, System.Guid repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitAsync(System.Guid project, string commitId, string repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitAsync(System.Guid project, string commitId, System.Guid repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitAsync(string commitId, string repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommitAsync(string commitId, System.Guid repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsAsync(string project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsAsync(string project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsAsync(System.Guid project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsAsync(System.Guid project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsAsync(string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsAsync(System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushCommitsAsync(string project, string repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushCommitsAsync(string project, System.Guid repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushCommitsAsync(System.Guid project, string repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushCommitsAsync(System.Guid project, System.Guid repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushCommitsAsync(string repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushCommitsAsync(System.Guid repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, string repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, string project, string repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, string project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, System.Guid project, string repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, System.Guid project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedRepositoriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedRepositoriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFilePathsAsync(string project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFilePathsAsync(string project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFilePathsAsync(System.Guid project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFilePathsAsync(System.Guid project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForksAsync(string project, string repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForksAsync(string project, System.Guid repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForksAsync(System.Guid project, string repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForksAsync(System.Guid project, System.Guid repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForksAsync(string repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForksAsync(System.Guid repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, string project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, string project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, System.Guid project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, System.Guid project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(string project, string repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(string project, System.Guid repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(System.Guid project, string repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(System.Guid project, System.Guid repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(string repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(System.Guid repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(string project, string repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(string project, System.Guid repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(System.Guid project, string repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(System.Guid project, System.Guid repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(string repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(System.Guid repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemContentAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemContentAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemContentAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemContentAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemContentAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemContentAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetHfsItemsAsync(string project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetHfsItemsAsync(string project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetHfsItemsAsync(System.Guid project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetHfsItemsAsync(System.Guid project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetHfsItemsAsync(string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetHfsItemsAsync(System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemTextAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemTextAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemTextAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemTextAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemTextAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemTextAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemZipAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemZipAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemZipAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemZipAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemZipAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetHfsItemZipAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetImportRequestAsync(string project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetImportRequestAsync(string project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetImportRequestAsync(System.Guid project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetImportRequestAsync(System.Guid project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(string project, string repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(string project, System.Guid repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(System.Guid project, string repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(System.Guid project, System.Guid repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, string project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, string project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, System.Guid project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, System.Guid project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemContentAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemContentAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemContentAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemContentAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemContentAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemContentAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsAsync(string project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsAsync(string project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsAsync(System.Guid project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsAsync(System.Guid project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsAsync(string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetItemsAsync(System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemTextAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemTextAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemTextAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemTextAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemTextAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemTextAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemZipAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemZipAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemZipAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemZipAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemZipAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetItemZipAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMergeBasesAsync(string project, string repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMergeBasesAsync(string project, System.Guid repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMergeBasesAsync(System.Guid project, string repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMergeBasesAsync(System.Guid project, System.Guid repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMergeBasesAsync(string repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMergeBasesAsync(System.Guid repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, string project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, string project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, System.Guid project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, System.Guid project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMergeRequestAsync(string project, string repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMergeRequestAsync(string project, System.Guid repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMergeRequestAsync(System.Guid project, string repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMergeRequestAsync(System.Guid project, System.Guid repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyConfigurationsAsync(string project, System.Guid? repositoryId = default(System.Guid?), string refName = null, System.Guid? policyType = default(System.Guid?), int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyConfigurationsAsync(System.Guid project, System.Guid? repositoryId = default(System.Guid?), string refName = null, System.Guid? policyType = default(System.Guid?), int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateLikeAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateLikeAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateLikeAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateLikeAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateLikeAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateLikeAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteLikeAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteLikeAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteLikeAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteLikeAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteLikeAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteLikeAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetLikesAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetLikesAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetLikesAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetLikesAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetLikesAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetLikesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(string project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(string project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(string project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(System.Guid project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(string project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(string project, string repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(string project, System.Guid repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(System.Guid project, string repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(string repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(System.Guid repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(string project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(string project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, string project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, string project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, System.Guid project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, System.Guid project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(System.Guid project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(string project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(string project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(System.Guid project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(string project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(string project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(System.Guid project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestByIdAsync(int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestByIdAsync(string project, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestByIdAsync(System.Guid project, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsByProjectAsync(string project, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsByProjectAsync(System.Guid project, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, string repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, System.Guid repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, string project, string repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, string project, System.Guid repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, System.Guid project, string repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, System.Guid project, System.Guid repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(string project, string repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(string project, System.Guid repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid project, string repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(string repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsAsync(string project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsAsync(string project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsAsync(System.Guid project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsAsync(System.Guid project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsAsync(string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestsAsync(System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(string project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(string project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentsAsync(string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentsAsync(System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentsAsync(string project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentsAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentsAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(string project, string repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(string repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(System.Guid repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetThreadsAsync(string project, string repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetThreadsAsync(string project, System.Guid repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetThreadsAsync(System.Guid project, string repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetThreadsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetThreadsAsync(string repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetThreadsAsync(System.Guid repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPushAsync(string project, string repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPushAsync(string project, System.Guid repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPushAsync(System.Guid project, string repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPushAsync(System.Guid project, System.Guid repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPushAsync(string repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPushAsync(System.Guid repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushesAsync(string project, string repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushesAsync(string project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushesAsync(System.Guid project, string repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushesAsync(System.Guid project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushesAsync(string repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPushesAsync(System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRepositoryFromRecycleBinAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRepositoryFromRecycleBinAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinRepositoriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecycleBinRepositoriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreRepositoryFromRecycleBinAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRecycleBinRepositoryDetails repositoryDetails, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreRepositoryFromRecycleBinAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRecycleBinRepositoryDetails repositoryDetails, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(string project, string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(string project, System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid project, string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid project, System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, string project, string repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, string project, System.Guid repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, System.Guid project, string repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, System.Guid project, System.Guid repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, string repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, System.Guid repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, string repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, System.Guid repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, string project, string repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, string project, System.Guid repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, System.Guid project, string repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, System.Guid project, System.Guid repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFavoriteAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefFavorite favorite, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFavoriteAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefFavorite favorite, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRefFavoriteAsync(string project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRefFavoriteAsync(System.Guid project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRefFavoriteAsync(string project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRefFavoriteAsync(System.Guid project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefFavoritesAsync(string project, string repositoryId = null, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefFavoritesAsync(System.Guid project, string repositoryId = null, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefFavoritesForProjectAsync(string project, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefFavoritesForProjectAsync(System.Guid project, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepositoryCreateOptions gitRepositoryToCreate, string sourceRef = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepositoryCreateOptions gitRepositoryToCreate, string project, string sourceRef = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepositoryCreateOptions gitRepositoryToCreate, System.Guid project, string sourceRef = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRepositoryAsync(System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRepositoryAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteRepositoryAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRepositoriesAsync(string project, bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRepositoriesAsync(System.Guid project, bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRepositoriesAsync(bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(string project, string repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(string project, System.Guid repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(System.Guid project, string repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(System.Guid project, System.Guid repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(string repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(System.Guid repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository newRepositoryInfo, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository newRepositoryInfo, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository newRepositoryInfo, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRepositoriesPagedAsync(string projectId, bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertConflictAsync(string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertConflictAsync(System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertConflictAsync(string project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertConflictAsync(string project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertConflictAsync(System.Guid project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertConflictAsync(System.Guid project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(string project, string repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(string project, System.Guid repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(System.Guid project, string repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(System.Guid project, System.Guid repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(string repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(System.Guid repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, string repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, System.Guid repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, string repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, System.Guid repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertAsync(string project, int revertId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertAsync(string project, int revertId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertAsync(System.Guid project, int revertId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertAsync(System.Guid project, int revertId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(string project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(string project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(System.Guid project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(System.Guid project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string commitId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string commitId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string project, string commitId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string project, string commitId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, System.Guid project, string commitId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, System.Guid project, string commitId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStatusesAsync(string project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStatusesAsync(string project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStatusesAsync(System.Guid project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStatusesAsync(System.Guid project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStatusesAsync(string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetStatusesAsync(string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, string repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, System.Guid repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, string repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, System.Guid repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeDiffsAsync(string project, string repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeDiffsAsync(string project, System.Guid repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeDiffsAsync(System.Guid project, string repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeDiffsAsync(System.Guid project, System.Guid repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeAsync(string project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeAsync(string project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeAsync(System.Guid project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeAsync(System.Guid project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeAsync(string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeAsync(System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeZipAsync(string project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeZipAsync(string project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeZipAsync(System.Guid project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeZipAsync(System.Guid project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeZipAsync(string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTreeZipAsync(System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRepositoriesAsync(string project, bool? includeLinks, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(string project, bool? includeLinks, object userState); + public System.Threading.Tasks.Task> GetRepositoriesAsync(System.Guid project, bool? includeLinks, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(System.Guid project, bool? includeLinks, object userState); + public System.Threading.Tasks.Task> GetRepositoriesAsync(bool? includeLinks, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(bool? includeLinks, object userState); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, string repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, System.Guid repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, string repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, System.Guid repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(string repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository gitRepositoryToCreate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository gitRepositoryToCreate, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository gitRepositoryToCreate, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(string project, System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? latestStatusesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid project, string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? latestStatusesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? latestStatusesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IGitHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IGitHttpClientImpl: IGitHttpClient + { + private Microsoft.TeamFoundation.SourceControl.WebApi.GitHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IGitHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.SourceControl.WebApi.GitHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitHttpClient)) as Microsoft.TeamFoundation.SourceControl.WebApi.GitHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task> GetBranchRefsAsync(System.Guid repositoryId, object userState = null) + => Client.GetBranchRefsAsync(repositoryId, userState); + public System.Threading.Tasks.Task> GetTagRefsAsync(System.Guid repositoryId, object userState = null) + => Client.GetTagRefsAsync(repositoryId, userState); + public System.Threading.Tasks.Task RenameRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository repositoryToRename, string newName, object userState = null) + => Client.RenameRepositoryAsync(repositoryToRename, newName, userState); + public System.Threading.Tasks.Task> GetItemsPagedAsync(string project, string repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsPagedAsync(project, repositoryId, scopePath, top, continuationToken, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsPagedAsync(string project, System.Guid repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsPagedAsync(project, repositoryId, scopePath, top, continuationToken, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsPagedAsync(System.Guid project, string repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsPagedAsync(project, repositoryId, scopePath, top, continuationToken, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsPagedAsync(System.Guid project, System.Guid repositoryId, string scopePath, int? top = default(int?), string continuationToken = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsPagedAsync(project, repositoryId, scopePath, top, continuationToken, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(string project, string repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsPagedAsync(project, repositoryId, pullRequestId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(System.Guid project, string repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsPagedAsync(project, repositoryId, pullRequestId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(string project, System.Guid repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsPagedAsync(project, repositoryId, pullRequestId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsPagedAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsPagedAsync(project, repositoryId, pullRequestId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteEnablementStatusAsync(bool allProjects, bool? includeBillableCommitters = default(bool?), System.Collections.Generic.IEnumerable projectIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteEnablementStatusAsync(allProjects, includeBillableCommitters, projectIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEnablementStatusAsync(System.Collections.Generic.IEnumerable projectIds = null, System.DateTime? billingDate = default(System.DateTime?), int? skip = default(int?), int? take = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEnablementStatusAsync(projectIds, billingDate, skip, take, userState, cancellationToken); + public System.Threading.Tasks.Task GetEnableOnCreateHostAsync(bool enableOnCreateHost, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEnableOnCreateHostAsync(enableOnCreateHost, userState, cancellationToken); + public System.Threading.Tasks.Task GetEnableOnCreateProjectAsync(System.Guid enableOnCreateProjectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEnableOnCreateProjectAsync(enableOnCreateProjectId, userState, cancellationToken); + public System.Threading.Tasks.Task SetEnableOnCreateHostAsync(bool enableOnCreateHost, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetEnableOnCreateHostAsync(enableOnCreateHost, userState, cancellationToken); + public System.Threading.Tasks.Task SetEnableOnCreateProjectAsync(System.Guid enableOnCreateProjectId, bool enableOnStatus, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetEnableOnCreateProjectAsync(enableOnCreateProjectId, enableOnStatus, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateEnablementStatusAsync(System.Collections.Generic.IEnumerable enablementUpdates, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateEnablementStatusAsync(enablementUpdates, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEstimatedBillablePushersOrgAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEstimatedBillablePushersOrgAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetEstimatedBillablePushersProjectAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEstimatedBillablePushersProjectAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEstimatedBillablePushersProjectAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEstimatedBillablePushersProjectAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEstimatedBillableCommittersRepoAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEstimatedBillableCommittersRepoAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEstimatedBillableCommittersRepoAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEstimatedBillableCommittersRepoAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEstimatedBillableCommittersRepoAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPermissionAsync(string projectName = null, string repositoryId = null, string permission = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPermissionAsync(projectName, repositoryId, permission, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAnnotatedTagAsync(tagObject, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAnnotatedTagAsync(tagObject, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAnnotatedTagAsync(tagObject, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAnnotatedTagAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag tagObject, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAnnotatedTagAsync(tagObject, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(string project, string repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAnnotatedTagAsync(project, repositoryId, objectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(string project, System.Guid repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAnnotatedTagAsync(project, repositoryId, objectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(System.Guid project, string repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAnnotatedTagAsync(project, repositoryId, objectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAnnotatedTagAsync(System.Guid project, System.Guid repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAnnotatedTagAsync(project, repositoryId, objectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBillableCommittersAsync(string project, System.DateTime? billingDate = default(System.DateTime?), int? skip = default(int?), int? take = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBillableCommittersAsync(project, billingDate, skip, take, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBillableCommittersAsync(System.Guid project, System.DateTime? billingDate = default(System.DateTime?), int? skip = default(int?), int? take = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBillableCommittersAsync(project, billingDate, skip, take, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBillableCommittersDetailAsync(string project, string includeDetails, System.DateTime? billingDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBillableCommittersDetailAsync(project, includeDetails, billingDate, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBillableCommittersDetailAsync(System.Guid project, string includeDetails, System.DateTime? billingDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBillableCommittersDetailAsync(project, includeDetails, billingDate, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobAsync(string project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobAsync(string project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobAsync(System.Guid project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobAsync(System.Guid project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobAsync(string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobAsync(repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobAsync(System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobAsync(repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobContentAsync(string project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobContentAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobContentAsync(string project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobContentAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobContentAsync(System.Guid project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobContentAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobContentAsync(System.Guid project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobContentAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobContentAsync(string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobContentAsync(repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobContentAsync(System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobContentAsync(repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobsZipAsync(blobIds, repositoryId, filename, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, System.Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobsZipAsync(blobIds, repositoryId, filename, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, string project, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobsZipAsync(blobIds, project, repositoryId, filename, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, string project, System.Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobsZipAsync(blobIds, project, repositoryId, filename, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, System.Guid project, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobsZipAsync(blobIds, project, repositoryId, filename, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobsZipAsync(System.Collections.Generic.IEnumerable blobIds, System.Guid project, System.Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobsZipAsync(blobIds, project, repositoryId, filename, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobZipAsync(string project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobZipAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobZipAsync(string project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobZipAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobZipAsync(System.Guid project, string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobZipAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobZipAsync(System.Guid project, System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobZipAsync(project, repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobZipAsync(string repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobZipAsync(repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBlobZipAsync(System.Guid repositoryId, string sha1, bool? download = default(bool?), string fileName = null, bool? resolveLfs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBlobZipAsync(repositoryId, sha1, download, fileName, resolveLfs, userState, cancellationToken); + public System.Threading.Tasks.Task GetBranchAsync(string project, string repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchAsync(project, repositoryId, name, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetBranchAsync(string project, System.Guid repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchAsync(project, repositoryId, name, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetBranchAsync(System.Guid project, string repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchAsync(project, repositoryId, name, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetBranchAsync(System.Guid project, System.Guid repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchAsync(project, repositoryId, name, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetBranchAsync(string repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchAsync(repositoryId, name, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetBranchAsync(System.Guid repositoryId, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchAsync(repositoryId, name, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchesAsync(string project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchesAsync(project, repositoryId, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchesAsync(string project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchesAsync(project, repositoryId, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchesAsync(System.Guid project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchesAsync(project, repositoryId, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchesAsync(System.Guid project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchesAsync(project, repositoryId, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchesAsync(string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchesAsync(repositoryId, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchesAsync(System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor baseVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchesAsync(repositoryId, baseVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchStatsBatchAsync(searchCriteria, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchStatsBatchAsync(searchCriteria, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchStatsBatchAsync(searchCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchStatsBatchAsync(searchCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchStatsBatchAsync(searchCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBranchStatsBatchAsync(searchCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetChangesAsync(string project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesAsync(project, commitId, repositoryId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetChangesAsync(string project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesAsync(project, commitId, repositoryId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetChangesAsync(System.Guid project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesAsync(project, commitId, repositoryId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetChangesAsync(System.Guid project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesAsync(project, commitId, repositoryId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetChangesAsync(string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesAsync(commitId, repositoryId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetChangesAsync(string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetChangesAsync(commitId, repositoryId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictAsync(repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictAsync(repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(string project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictAsync(project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(string project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictAsync(project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(System.Guid project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictAsync(project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickConflictAsync(System.Guid project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictAsync(project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(string project, string repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictsAsync(project, repositoryId, cherryPickId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(string project, System.Guid repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictsAsync(project, repositoryId, cherryPickId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(System.Guid project, string repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictsAsync(project, repositoryId, cherryPickId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(System.Guid project, System.Guid repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictsAsync(project, repositoryId, cherryPickId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(string repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictsAsync(repositoryId, cherryPickId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickConflictsAsync(System.Guid repositoryId, int cherryPickId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickConflictsAsync(repositoryId, cherryPickId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictAsync(conflict, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictAsync(conflict, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictAsync(conflict, project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictAsync(conflict, project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, string repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictAsync(conflict, project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCherryPickConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, System.Guid repositoryId, int cherryPickId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictAsync(conflict, project, repositoryId, cherryPickId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictsAsync(conflictUpdates, repositoryId, cherryPickId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictsAsync(conflictUpdates, repositoryId, cherryPickId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, string repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictsAsync(conflictUpdates, project, repositoryId, cherryPickId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, System.Guid repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictsAsync(conflictUpdates, project, repositoryId, cherryPickId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, string repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictsAsync(conflictUpdates, project, repositoryId, cherryPickId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateCherryPickConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, System.Guid repositoryId, int cherryPickId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCherryPickConflictsAsync(conflictUpdates, project, repositoryId, cherryPickId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(string project, string repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickRelationshipsAsync(project, repositoryNameOrId, commitId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(string project, System.Guid repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickRelationshipsAsync(project, repositoryNameOrId, commitId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(System.Guid project, string repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickRelationshipsAsync(project, repositoryNameOrId, commitId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(System.Guid project, System.Guid repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickRelationshipsAsync(project, repositoryNameOrId, commitId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(string repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickRelationshipsAsync(repositoryNameOrId, commitId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCherryPickRelationshipsAsync(System.Guid repositoryNameOrId, string commitId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickRelationshipsAsync(repositoryNameOrId, commitId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCherryPickAsync(cherryPickToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCherryPickAsync(cherryPickToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCherryPickAsync(cherryPickToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCherryPickAsync(cherryPickToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickAsync(string project, int cherryPickId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickAsync(project, cherryPickId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickAsync(string project, int cherryPickId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickAsync(project, cherryPickId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickAsync(System.Guid project, int cherryPickId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickAsync(project, cherryPickId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickAsync(System.Guid project, int cherryPickId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickAsync(project, cherryPickId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(string project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(string project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(System.Guid project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task GetCherryPickForRefNameAsync(System.Guid project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCherryPickForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitDiffsAsync(string project, string repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitDiffsAsync(project, repositoryId, diffCommonCommit, top, skip, baseVersionDescriptor, targetVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitDiffsAsync(string project, System.Guid repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitDiffsAsync(project, repositoryId, diffCommonCommit, top, skip, baseVersionDescriptor, targetVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitDiffsAsync(System.Guid project, string repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitDiffsAsync(project, repositoryId, diffCommonCommit, top, skip, baseVersionDescriptor, targetVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitDiffsAsync(System.Guid project, System.Guid repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitDiffsAsync(project, repositoryId, diffCommonCommit, top, skip, baseVersionDescriptor, targetVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitDiffsAsync(string repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitDiffsAsync(repositoryId, diffCommonCommit, top, skip, baseVersionDescriptor, targetVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitDiffsAsync(System.Guid repositoryId, bool? diffCommonCommit = default(bool?), int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor baseVersionDescriptor = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor targetVersionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitDiffsAsync(repositoryId, diffCommonCommit, top, skip, baseVersionDescriptor, targetVersionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitAsync(string project, string commitId, string repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitAsync(project, commitId, repositoryId, changeCount, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitAsync(string project, string commitId, System.Guid repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitAsync(project, commitId, repositoryId, changeCount, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitAsync(System.Guid project, string commitId, string repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitAsync(project, commitId, repositoryId, changeCount, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitAsync(System.Guid project, string commitId, System.Guid repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitAsync(project, commitId, repositoryId, changeCount, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitAsync(string commitId, string repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitAsync(commitId, repositoryId, changeCount, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommitAsync(string commitId, System.Guid repositoryId, int? changeCount = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitAsync(commitId, repositoryId, changeCount, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsAsync(string project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsAsync(project, repositoryId, searchCriteria, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsAsync(string project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsAsync(project, repositoryId, searchCriteria, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsAsync(System.Guid project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsAsync(project, repositoryId, searchCriteria, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsAsync(System.Guid project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsAsync(project, repositoryId, searchCriteria, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsAsync(string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsAsync(repositoryId, searchCriteria, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsAsync(System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsAsync(repositoryId, searchCriteria, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushCommitsAsync(string project, string repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushCommitsAsync(project, repositoryId, pushId, top, skip, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushCommitsAsync(string project, System.Guid repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushCommitsAsync(project, repositoryId, pushId, top, skip, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushCommitsAsync(System.Guid project, string repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushCommitsAsync(project, repositoryId, pushId, top, skip, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushCommitsAsync(System.Guid project, System.Guid repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushCommitsAsync(project, repositoryId, pushId, top, skip, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushCommitsAsync(string repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushCommitsAsync(repositoryId, pushId, top, skip, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushCommitsAsync(System.Guid repositoryId, int pushId, int? top = default(int?), int? skip = default(int?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushCommitsAsync(repositoryId, pushId, top, skip, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, string repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsBatchAsync(searchCriteria, repositoryId, skip, top, includeStatuses, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsBatchAsync(searchCriteria, repositoryId, skip, top, includeStatuses, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, string project, string repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsBatchAsync(searchCriteria, project, repositoryId, skip, top, includeStatuses, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, string project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsBatchAsync(searchCriteria, project, repositoryId, skip, top, includeStatuses, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, System.Guid project, string repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsBatchAsync(searchCriteria, project, repositoryId, skip, top, includeStatuses, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommitsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria searchCriteria, System.Guid project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), bool? includeStatuses = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommitsBatchAsync(searchCriteria, project, repositoryId, skip, top, includeStatuses, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedRepositoriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedRepositoriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedRepositoriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedRepositoriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileDiffsAsync(fileDiffsCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileDiffsAsync(fileDiffsCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileDiffsAsync(fileDiffsCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFileDiffsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.FileDiffsCriteria fileDiffsCriteria, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFileDiffsAsync(fileDiffsCriteria, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetFilePathsAsync(string project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFilePathsAsync(project, repositoryId, scopePath, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetFilePathsAsync(string project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFilePathsAsync(project, repositoryId, scopePath, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetFilePathsAsync(System.Guid project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFilePathsAsync(project, repositoryId, scopePath, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetFilePathsAsync(System.Guid project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFilePathsAsync(project, repositoryId, scopePath, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForksAsync(string project, string repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForksAsync(project, repositoryNameOrId, collectionId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForksAsync(string project, System.Guid repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForksAsync(project, repositoryNameOrId, collectionId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForksAsync(System.Guid project, string repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForksAsync(project, repositoryNameOrId, collectionId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForksAsync(System.Guid project, System.Guid repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForksAsync(project, repositoryNameOrId, collectionId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForksAsync(string repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForksAsync(repositoryNameOrId, collectionId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForksAsync(System.Guid repositoryNameOrId, System.Guid collectionId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForksAsync(repositoryNameOrId, collectionId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateForkSyncRequestAsync(syncParams, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateForkSyncRequestAsync(syncParams, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, string project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateForkSyncRequestAsync(syncParams, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, string project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateForkSyncRequestAsync(syncParams, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, System.Guid project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateForkSyncRequestAsync(syncParams, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateForkSyncRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitForkSyncRequestParameters syncParams, System.Guid project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateForkSyncRequestAsync(syncParams, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(string project, string repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestAsync(project, repositoryNameOrId, forkSyncOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(string project, System.Guid repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestAsync(project, repositoryNameOrId, forkSyncOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(System.Guid project, string repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestAsync(project, repositoryNameOrId, forkSyncOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(System.Guid project, System.Guid repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestAsync(project, repositoryNameOrId, forkSyncOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(string repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestAsync(repositoryNameOrId, forkSyncOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetForkSyncRequestAsync(System.Guid repositoryNameOrId, int forkSyncOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestAsync(repositoryNameOrId, forkSyncOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(string project, string repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestsAsync(project, repositoryNameOrId, includeAbandoned, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(string project, System.Guid repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestsAsync(project, repositoryNameOrId, includeAbandoned, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(System.Guid project, string repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestsAsync(project, repositoryNameOrId, includeAbandoned, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(System.Guid project, System.Guid repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestsAsync(project, repositoryNameOrId, includeAbandoned, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(string repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestsAsync(repositoryNameOrId, includeAbandoned, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetForkSyncRequestsAsync(System.Guid repositoryNameOrId, bool? includeAbandoned = default(bool?), bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetForkSyncRequestsAsync(repositoryNameOrId, includeAbandoned, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemContentAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemContentAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemContentAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemContentAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemContentAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemContentAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemContentAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemContentAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task> GetHfsItemsAsync(string project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetHfsItemsAsync(string project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetHfsItemsAsync(System.Guid project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetHfsItemsAsync(System.Guid project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetHfsItemsAsync(string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemsAsync(repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetHfsItemsAsync(System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemsAsync(repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemTextAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemTextAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemTextAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemTextAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemTextAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemTextAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemTextAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemTextAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemZipAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemZipAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemZipAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemZipAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemZipAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemZipAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetHfsItemZipAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveHfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetHfsItemZipAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveHfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateImportRequestAsync(importRequest, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateImportRequestAsync(importRequest, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateImportRequestAsync(importRequest, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequest, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateImportRequestAsync(importRequest, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetImportRequestAsync(string project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetImportRequestAsync(project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetImportRequestAsync(string project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetImportRequestAsync(project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetImportRequestAsync(System.Guid project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetImportRequestAsync(project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetImportRequestAsync(System.Guid project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetImportRequestAsync(project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(string project, string repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryImportRequestsAsync(project, repositoryId, includeAbandoned, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(string project, System.Guid repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryImportRequestsAsync(project, repositoryId, includeAbandoned, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(System.Guid project, string repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryImportRequestsAsync(project, repositoryId, includeAbandoned, userState, cancellationToken); + public System.Threading.Tasks.Task> QueryImportRequestsAsync(System.Guid project, System.Guid repositoryId, bool? includeAbandoned = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryImportRequestsAsync(project, repositoryId, includeAbandoned, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, string project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateImportRequestAsync(importRequestToUpdate, project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, string project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateImportRequestAsync(importRequestToUpdate, project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, System.Guid project, string repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateImportRequestAsync(importRequestToUpdate, project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateImportRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitImportRequest importRequestToUpdate, System.Guid project, System.Guid repositoryId, int importRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateImportRequestAsync(importRequestToUpdate, project, repositoryId, importRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemContentAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemContentAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemContentAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemContentAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemContentAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemContentAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemContentAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemContentAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemContentAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsAsync(string project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsAsync(string project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsAsync(System.Guid project, string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsAsync(System.Guid project, System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsAsync(project, repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsAsync(string repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsAsync(repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task> GetItemsAsync(System.Guid repositoryId, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), bool? includeLinks = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? zipForUnix = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsAsync(repositoryId, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, includeLinks, versionDescriptor, zipForUnix, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemTextAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemTextAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemTextAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemTextAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemTextAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemTextAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemTextAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemTextAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemTextAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemZipAsync(string project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemZipAsync(string project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemZipAsync(System.Guid project, string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemZipAsync(System.Guid project, System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemZipAsync(project, repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemZipAsync(string repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemZipAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task GetItemZipAsync(System.Guid repositoryId, string path, string scopePath = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContentMetadata = default(bool?), bool? latestProcessedChange = default(bool?), bool? download = default(bool?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), bool? resolveLfs = default(bool?), bool? sanitize = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemZipAsync(repositoryId, path, scopePath, recursionLevel, includeContentMetadata, latestProcessedChange, download, versionDescriptor, includeContent, resolveLfs, sanitize, userState, cancellationToken); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsBatchAsync(requestData, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsBatchAsync(requestData, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsBatchAsync(requestData, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsBatchAsync(requestData, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsBatchAsync(requestData, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetItemsBatchAsync(requestData, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMergeBasesAsync(string project, string repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeBasesAsync(project, repositoryNameOrId, commitId, otherCommitId, otherCollectionId, otherRepositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMergeBasesAsync(string project, System.Guid repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeBasesAsync(project, repositoryNameOrId, commitId, otherCommitId, otherCollectionId, otherRepositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMergeBasesAsync(System.Guid project, string repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeBasesAsync(project, repositoryNameOrId, commitId, otherCommitId, otherCollectionId, otherRepositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMergeBasesAsync(System.Guid project, System.Guid repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeBasesAsync(project, repositoryNameOrId, commitId, otherCommitId, otherCollectionId, otherRepositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMergeBasesAsync(string repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeBasesAsync(repositoryNameOrId, commitId, otherCommitId, otherCollectionId, otherRepositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMergeBasesAsync(System.Guid repositoryNameOrId, string commitId, string otherCommitId, System.Guid? otherCollectionId = default(System.Guid?), System.Guid? otherRepositoryId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeBasesAsync(repositoryNameOrId, commitId, otherCommitId, otherCollectionId, otherRepositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, string project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateMergeRequestAsync(mergeParameters, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, string project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateMergeRequestAsync(mergeParameters, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, System.Guid project, string repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateMergeRequestAsync(mergeParameters, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task CreateMergeRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitMergeParameters mergeParameters, System.Guid project, System.Guid repositoryNameOrId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateMergeRequestAsync(mergeParameters, project, repositoryNameOrId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetMergeRequestAsync(string project, string repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeRequestAsync(project, repositoryNameOrId, mergeOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetMergeRequestAsync(string project, System.Guid repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeRequestAsync(project, repositoryNameOrId, mergeOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetMergeRequestAsync(System.Guid project, string repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeRequestAsync(project, repositoryNameOrId, mergeOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetMergeRequestAsync(System.Guid project, System.Guid repositoryNameOrId, int mergeOperationId, bool? includeLinks = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMergeRequestAsync(project, repositoryNameOrId, mergeOperationId, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyConfigurationsAsync(string project, System.Guid? repositoryId = default(System.Guid?), string refName = null, System.Guid? policyType = default(System.Guid?), int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, repositoryId, refName, policyType, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyConfigurationsAsync(System.Guid project, System.Guid? repositoryId = default(System.Guid?), string refName = null, System.Guid? policyType = default(System.Guid?), int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, repositoryId, refName, policyType, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAttachmentsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid project, string fileName, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid project, string fileName, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(project, fileName, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateLikeAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateLikeAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateLikeAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateLikeAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateLikeAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateLikeAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateLikeAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateLikeAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteLikeAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteLikeAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteLikeAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteLikeAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteLikeAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteLikeAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteLikeAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteLikeAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteLikeAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetLikesAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLikesAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetLikesAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLikesAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetLikesAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLikesAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetLikesAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLikesAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetLikesAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLikesAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetLikesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLikesAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(string project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationCommitsAsync(project, repositoryId, pullRequestId, iterationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationCommitsAsync(project, repositoryId, pullRequestId, iterationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationCommitsAsync(project, repositoryId, pullRequestId, iterationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationCommitsAsync(project, repositoryId, pullRequestId, iterationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationCommitsAsync(repositoryId, pullRequestId, iterationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationCommitsAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationCommitsAsync(repositoryId, pullRequestId, iterationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestCommitsAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestCommitsAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictAsync(repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictAsync(repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(string project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictAsync(project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(string project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictAsync(project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(System.Guid project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictAsync(project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestConflictAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictAsync(project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, excludeResolved, onlyResolved, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, excludeResolved, onlyResolved, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, excludeResolved, onlyResolved, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, excludeResolved, onlyResolved, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(repositoryId, pullRequestId, skip, top, includeObsolete, excludeResolved, onlyResolved, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(repositoryId, pullRequestId, skip, top, includeObsolete, excludeResolved, onlyResolved, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictAsync(conflict, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictAsync(conflict, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictAsync(conflict, project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictAsync(conflict, project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, string repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictAsync(conflict, project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, System.Guid repositoryId, int pullRequestId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictAsync(conflict, project, repositoryId, pullRequestId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictsAsync(conflictUpdates, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictsAsync(conflictUpdates, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictsAsync(conflictUpdates, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictsAsync(conflictUpdates, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictsAsync(conflictUpdates, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdatePullRequestConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestConflictsAsync(conflictUpdates, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(string project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationChangesAsync(project, repositoryId, pullRequestId, iterationId, top, skip, compareTo, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationChangesAsync(project, repositoryId, pullRequestId, iterationId, top, skip, compareTo, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationChangesAsync(project, repositoryId, pullRequestId, iterationId, top, skip, compareTo, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationChangesAsync(project, repositoryId, pullRequestId, iterationId, top, skip, compareTo, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(string repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationChangesAsync(repositoryId, pullRequestId, iterationId, top, skip, compareTo, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationChangesAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int? top = default(int?), int? skip = default(int?), int? compareTo = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationChangesAsync(repositoryId, pullRequestId, iterationId, top, skip, compareTo, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationAsync(repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationAsync(repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(string project, string repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationsAsync(project, repositoryId, pullRequestId, includeCommits, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(string project, System.Guid repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationsAsync(project, repositoryId, pullRequestId, includeCommits, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(System.Guid project, string repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationsAsync(project, repositoryId, pullRequestId, includeCommits, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationsAsync(project, repositoryId, pullRequestId, includeCommits, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(string repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationsAsync(repositoryId, pullRequestId, includeCommits, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationsAsync(System.Guid repositoryId, int pullRequestId, bool? includeCommits = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationsAsync(repositoryId, pullRequestId, includeCommits, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestIterationStatusAsync(status, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestIterationStatusAsync(status, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestIterationStatusAsync(status, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestIterationStatusAsync(status, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestIterationStatusAsync(status, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestIterationStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestIterationStatusAsync(status, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestIterationStatusAsync(repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestIterationStatusAsync(repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(string project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestIterationStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusAsync(repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusAsync(repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(string project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestIterationStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusAsync(project, repositoryId, pullRequestId, iterationId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusesAsync(repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusesAsync(repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusesAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusesAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusesAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestIterationStatusesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestIterationStatusesAsync(project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestIterationStatusesAsync(patchDocument, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestIterationStatusesAsync(patchDocument, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestIterationStatusesAsync(patchDocument, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestIterationStatusesAsync(patchDocument, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestIterationStatusesAsync(patchDocument, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, System.Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestIterationStatusesAsync(patchDocument, project, repositoryId, pullRequestId, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestLabelAsync(label, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestLabelAsync(label, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, string project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestLabelAsync(label, project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, string project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestLabelAsync(label, project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, System.Guid project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestLabelAsync(label, project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestLabelAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiCreateTagRequestData label, System.Guid project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestLabelAsync(label, project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestLabelsAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestLabelsAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(System.Guid project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestLabelsAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestLabelsAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestLabelsAsync(repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestLabelsAsync(System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestLabelsAsync(repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(string project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(string project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(System.Guid project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelAsync(project, repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelAsync(repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestLabelAsync(System.Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelAsync(repositoryId, pullRequestId, labelIdOrName, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(string project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelsAsync(project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(string project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelsAsync(project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(System.Guid project, string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelsAsync(project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelsAsync(project, repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(string repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelsAsync(repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestLabelsAsync(System.Guid repositoryId, int pullRequestId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestLabelsAsync(repositoryId, pullRequestId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestPropertiesAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestPropertiesAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestPropertiesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestPropertiesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestPropertiesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestPropertiesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestPropertiesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestPropertiesAsync(patchDocument, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestPropertiesAsync(patchDocument, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestPropertiesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestPropertiesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestPropertiesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestPropertiesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestPropertiesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestQueryAsync(queries, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestQueryAsync(queries, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestQueryAsync(queries, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestQueryAsync(queries, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestQueryAsync(queries, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestQueryAsync(queries, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewerAsync(reviewer, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewerAsync(reviewer, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewersAsync(reviewers, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewersAsync(reviewers, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewersAsync(reviewers, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewersAsync(reviewers, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewersAsync(reviewers, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreatePullRequestReviewersAsync(Microsoft.VisualStudio.Services.WebApi.IdentityRef[] reviewers, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestReviewersAsync(reviewers, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateUnmaterializedPullRequestReviewerAsync(reviewer, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateUnmaterializedPullRequestReviewerAsync(reviewer, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateUnmaterializedPullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateUnmaterializedPullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateUnmaterializedPullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateUnmaterializedPullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateUnmaterializedPullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestReviewerAsync(repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestReviewerAsync(repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestReviewerAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewerAsync(repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewerAsync(repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestReviewerAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewerAsync(project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewersAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewersAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewersAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewersAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewersAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestReviewersAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestReviewersAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewerAsync(reviewer, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewerAsync(reviewer, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, string project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewerAsync(Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote reviewer, System.Guid project, System.Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewerAsync(reviewer, project, repositoryId, pullRequestId, reviewerId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewersAsync(patchVotes, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewersAsync(patchVotes, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewersAsync(patchVotes, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewersAsync(patchVotes, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewersAsync(patchVotes, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestReviewersAsync(System.Collections.Generic.IEnumerable patchVotes, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestReviewersAsync(patchVotes, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestByIdAsync(int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestByIdAsync(pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestByIdAsync(string project, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestByIdAsync(project, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestByIdAsync(System.Guid project, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestByIdAsync(project, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsByProjectAsync(string project, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsByProjectAsync(project, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsByProjectAsync(System.Guid project, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsByProjectAsync(project, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, string repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestAsync(gitPullRequestToCreate, repositoryId, supportsIterations, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, System.Guid repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestAsync(gitPullRequestToCreate, repositoryId, supportsIterations, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, string project, string repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestAsync(gitPullRequestToCreate, project, repositoryId, supportsIterations, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, string project, System.Guid repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestAsync(gitPullRequestToCreate, project, repositoryId, supportsIterations, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, System.Guid project, string repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestAsync(gitPullRequestToCreate, project, repositoryId, supportsIterations, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToCreate, System.Guid project, System.Guid repositoryId, bool? supportsIterations = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestAsync(gitPullRequestToCreate, project, repositoryId, supportsIterations, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(string project, string repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(project, repositoryId, pullRequestId, maxCommentLength, skip, top, includeCommits, includeWorkItemRefs, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(string project, System.Guid repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(project, repositoryId, pullRequestId, maxCommentLength, skip, top, includeCommits, includeWorkItemRefs, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid project, string repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(project, repositoryId, pullRequestId, maxCommentLength, skip, top, includeCommits, includeWorkItemRefs, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(project, repositoryId, pullRequestId, maxCommentLength, skip, top, includeCommits, includeWorkItemRefs, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(string repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(repositoryId, pullRequestId, maxCommentLength, skip, top, includeCommits, includeWorkItemRefs, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestAsync(System.Guid repositoryId, int pullRequestId, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), bool? includeCommits = default(bool?), bool? includeWorkItemRefs = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestAsync(repositoryId, pullRequestId, maxCommentLength, skip, top, includeCommits, includeWorkItemRefs, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsAsync(string project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsAsync(project, repositoryId, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsAsync(string project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsAsync(project, repositoryId, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsAsync(System.Guid project, string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsAsync(project, repositoryId, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsAsync(System.Guid project, System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsAsync(project, repositoryId, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsAsync(string repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsAsync(repositoryId, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestsAsync(System.Guid repositoryId, Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestSearchCriteria searchCriteria, int? maxCommentLength = default(int?), int? skip = default(int?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestsAsync(repositoryId, searchCriteria, maxCommentLength, skip, top, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestAsync(gitPullRequestToUpdate, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestAsync(gitPullRequestToUpdate, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestAsync(gitPullRequestToUpdate, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestAsync(gitPullRequestToUpdate, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestAsync(gitPullRequestToUpdate, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequest gitPullRequestToUpdate, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestAsync(gitPullRequestToUpdate, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SharePullRequestAsync(userMessage, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SharePullRequestAsync(userMessage, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SharePullRequestAsync(userMessage, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SharePullRequestAsync(userMessage, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SharePullRequestAsync(userMessage, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SharePullRequestAsync(userMessage, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestStatusAsync(status, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestStatusAsync(status, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestStatusAsync(status, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestStatusAsync(status, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestStatusAsync(status, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePullRequestStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus status, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePullRequestStatusAsync(status, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestStatusAsync(repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestStatusAsync(repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(string project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePullRequestStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusAsync(repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusAsync(repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(string project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(string project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(System.Guid project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestStatusAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusAsync(project, repositoryId, pullRequestId, statusId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusesAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusesAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestStatusesAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestStatusesAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestStatusesAsync(patchDocument, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestStatusesAsync(patchDocument, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestStatusesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestStatusesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestStatusesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePullRequestStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePullRequestStatusesAsync(patchDocument, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAsync(comment, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAsync(comment, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentsAsync(string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentsAsync(System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentsAsync(string project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentsAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentsAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, string project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, string repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.SourceControl.WebApi.Comment comment, System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, repositoryId, pullRequestId, threadId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateThreadAsync(commentThread, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateThreadAsync(commentThread, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateThreadAsync(commentThread, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateThreadAsync(commentThread, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateThreadAsync(commentThread, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateThreadAsync(commentThread, project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(string project, string repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestThreadAsync(project, repositoryId, pullRequestId, threadId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(string project, System.Guid repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestThreadAsync(project, repositoryId, pullRequestId, threadId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(System.Guid project, string repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestThreadAsync(project, repositoryId, pullRequestId, threadId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestThreadAsync(project, repositoryId, pullRequestId, threadId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(string repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestThreadAsync(repositoryId, pullRequestId, threadId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task GetPullRequestThreadAsync(System.Guid repositoryId, int pullRequestId, int threadId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestThreadAsync(repositoryId, pullRequestId, threadId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task> GetThreadsAsync(string project, string repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetThreadsAsync(project, repositoryId, pullRequestId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task> GetThreadsAsync(string project, System.Guid repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetThreadsAsync(project, repositoryId, pullRequestId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task> GetThreadsAsync(System.Guid project, string repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetThreadsAsync(project, repositoryId, pullRequestId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task> GetThreadsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetThreadsAsync(project, repositoryId, pullRequestId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task> GetThreadsAsync(string repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetThreadsAsync(repositoryId, pullRequestId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task> GetThreadsAsync(System.Guid repositoryId, int pullRequestId, int? iteration = default(int?), int? baseIteration = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetThreadsAsync(repositoryId, pullRequestId, iteration, baseIteration, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateThreadAsync(commentThread, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateThreadAsync(commentThread, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateThreadAsync(commentThread, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, string project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateThreadAsync(commentThread, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, string repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateThreadAsync(commentThread, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateThreadAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread commentThread, System.Guid project, System.Guid repositoryId, int pullRequestId, int threadId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateThreadAsync(commentThread, project, repositoryId, pullRequestId, threadId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestWorkItemRefsAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestWorkItemRefsAsync(repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestWorkItemRefsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(string project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestWorkItemRefsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(System.Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestWorkItemRefsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestWorkItemRefsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestWorkItemRefsAsync(project, repositoryId, pullRequestId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePushAsync(push, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePushAsync(push, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePushAsync(push, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePushAsync(push, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePushAsync(push, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePushAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPush push, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePushAsync(push, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPushAsync(string project, string repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushAsync(project, repositoryId, pushId, includeCommits, includeRefUpdates, userState, cancellationToken); + public System.Threading.Tasks.Task GetPushAsync(string project, System.Guid repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushAsync(project, repositoryId, pushId, includeCommits, includeRefUpdates, userState, cancellationToken); + public System.Threading.Tasks.Task GetPushAsync(System.Guid project, string repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushAsync(project, repositoryId, pushId, includeCommits, includeRefUpdates, userState, cancellationToken); + public System.Threading.Tasks.Task GetPushAsync(System.Guid project, System.Guid repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushAsync(project, repositoryId, pushId, includeCommits, includeRefUpdates, userState, cancellationToken); + public System.Threading.Tasks.Task GetPushAsync(string repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushAsync(repositoryId, pushId, includeCommits, includeRefUpdates, userState, cancellationToken); + public System.Threading.Tasks.Task GetPushAsync(System.Guid repositoryId, int pushId, int? includeCommits = default(int?), bool? includeRefUpdates = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushAsync(repositoryId, pushId, includeCommits, includeRefUpdates, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushesAsync(string project, string repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushesAsync(project, repositoryId, skip, top, searchCriteria, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushesAsync(string project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushesAsync(project, repositoryId, skip, top, searchCriteria, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushesAsync(System.Guid project, string repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushesAsync(project, repositoryId, skip, top, searchCriteria, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushesAsync(System.Guid project, System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushesAsync(project, repositoryId, skip, top, searchCriteria, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushesAsync(string repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushesAsync(repositoryId, skip, top, searchCriteria, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPushesAsync(System.Guid repositoryId, int? skip = default(int?), int? top = default(int?), Microsoft.TeamFoundation.SourceControl.WebApi.GitPushSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPushesAsync(repositoryId, skip, top, searchCriteria, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRepositoryFromRecycleBinAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRepositoryFromRecycleBinAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRepositoryFromRecycleBinAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRepositoryFromRecycleBinAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinRepositoriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinRepositoriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecycleBinRepositoriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecycleBinRepositoriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreRepositoryFromRecycleBinAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRecycleBinRepositoryDetails repositoryDetails, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreRepositoryFromRecycleBinAsync(repositoryDetails, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreRepositoryFromRecycleBinAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRecycleBinRepositoryDetails repositoryDetails, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreRepositoryFromRecycleBinAsync(repositoryDetails, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(string project, string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(project, repositoryId, filter, includeLinks, includeStatuses, includeMyBranches, latestStatusesOnly, peelTags, filterContains, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(string project, System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(project, repositoryId, filter, includeLinks, includeStatuses, includeMyBranches, latestStatusesOnly, peelTags, filterContains, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid project, string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(project, repositoryId, filter, includeLinks, includeStatuses, includeMyBranches, latestStatusesOnly, peelTags, filterContains, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid project, System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(project, repositoryId, filter, includeLinks, includeStatuses, includeMyBranches, latestStatusesOnly, peelTags, filterContains, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(repositoryId, filter, includeLinks, includeStatuses, includeMyBranches, latestStatusesOnly, peelTags, filterContains, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? includeStatuses = default(bool?), bool? includeMyBranches = default(bool?), bool? latestStatusesOnly = default(bool?), bool? peelTags = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(repositoryId, filter, includeLinks, includeStatuses, includeMyBranches, latestStatusesOnly, peelTags, filterContains, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, string project, string repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefAsync(newRefInfo, project, repositoryId, filter, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, string project, System.Guid repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefAsync(newRefInfo, project, repositoryId, filter, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, System.Guid project, string repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefAsync(newRefInfo, project, repositoryId, filter, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, System.Guid project, System.Guid repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefAsync(newRefInfo, project, repositoryId, filter, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, string repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefAsync(newRefInfo, repositoryId, filter, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRefAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefUpdate newRefInfo, System.Guid repositoryId, string filter, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefAsync(newRefInfo, repositoryId, filter, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, string repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefsAsync(refUpdates, repositoryId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, System.Guid repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefsAsync(refUpdates, repositoryId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, string project, string repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefsAsync(refUpdates, project, repositoryId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, string project, System.Guid repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefsAsync(refUpdates, project, repositoryId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, System.Guid project, string repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefsAsync(refUpdates, project, repositoryId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRefsAsync(System.Collections.Generic.IEnumerable refUpdates, System.Guid project, System.Guid repositoryId, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRefsAsync(refUpdates, project, repositoryId, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFavoriteAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefFavorite favorite, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFavoriteAsync(favorite, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFavoriteAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRefFavorite favorite, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFavoriteAsync(favorite, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRefFavoriteAsync(string project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRefFavoriteAsync(project, favoriteId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRefFavoriteAsync(System.Guid project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRefFavoriteAsync(project, favoriteId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRefFavoriteAsync(string project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefFavoriteAsync(project, favoriteId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRefFavoriteAsync(System.Guid project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefFavoriteAsync(project, favoriteId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefFavoritesAsync(string project, string repositoryId = null, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefFavoritesAsync(project, repositoryId, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefFavoritesAsync(System.Guid project, string repositoryId = null, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefFavoritesAsync(project, repositoryId, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefFavoritesForProjectAsync(string project, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefFavoritesForProjectAsync(project, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefFavoritesForProjectAsync(System.Guid project, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefFavoritesForProjectAsync(project, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepositoryCreateOptions gitRepositoryToCreate, string sourceRef = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRepositoryAsync(gitRepositoryToCreate, sourceRef, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepositoryCreateOptions gitRepositoryToCreate, string project, string sourceRef = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRepositoryAsync(gitRepositoryToCreate, project, sourceRef, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepositoryCreateOptions gitRepositoryToCreate, System.Guid project, string sourceRef = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRepositoryAsync(gitRepositoryToCreate, project, sourceRef, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRepositoryAsync(System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRepositoryAsync(repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRepositoryAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRepositoryAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteRepositoryAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteRepositoryAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(string project, bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoriesAsync(project, includeLinks, includeAllUrls, includeHidden, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(System.Guid project, bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoriesAsync(project, includeLinks, includeAllUrls, includeHidden, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoriesAsync(includeLinks, includeAllUrls, includeHidden, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(string project, string repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryWithParentAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(string project, System.Guid repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryWithParentAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(System.Guid project, string repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryWithParentAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(System.Guid project, System.Guid repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryWithParentAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(string repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryWithParentAsync(repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryWithParentAsync(System.Guid repositoryId, bool includeParent, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryWithParentAsync(repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository newRepositoryInfo, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRepositoryAsync(newRepositoryInfo, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository newRepositoryInfo, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRepositoryAsync(newRepositoryInfo, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository newRepositoryInfo, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRepositoryAsync(newRepositoryInfo, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesPagedAsync(string projectId, bool? includeLinks = default(bool?), bool? includeAllUrls = default(bool?), bool? includeHidden = default(bool?), string filterContains = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoriesPagedAsync(projectId, includeLinks, includeAllUrls, includeHidden, filterContains, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertConflictAsync(string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictAsync(repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertConflictAsync(System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictAsync(repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertConflictAsync(string project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictAsync(project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertConflictAsync(string project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictAsync(project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertConflictAsync(System.Guid project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictAsync(project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertConflictAsync(System.Guid project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictAsync(project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(string project, string repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictsAsync(project, repositoryId, revertId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(string project, System.Guid repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictsAsync(project, repositoryId, revertId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(System.Guid project, string repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictsAsync(project, repositoryId, revertId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(System.Guid project, System.Guid repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictsAsync(project, repositoryId, revertId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(string repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictsAsync(repositoryId, revertId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevertConflictsAsync(System.Guid repositoryId, int revertId, string continuationToken = null, int? top = default(int?), bool? excludeResolved = default(bool?), bool? onlyResolved = default(bool?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertConflictsAsync(repositoryId, revertId, continuationToken, top, excludeResolved, onlyResolved, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictAsync(conflict, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictAsync(conflict, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictAsync(conflict, project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, string project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictAsync(conflict, project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, string repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictAsync(conflict, project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateRevertConflictAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitConflict conflict, System.Guid project, System.Guid repositoryId, int revertId, int conflictId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictAsync(conflict, project, repositoryId, revertId, conflictId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictsAsync(conflictUpdates, repositoryId, revertId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictsAsync(conflictUpdates, repositoryId, revertId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, string repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictsAsync(conflictUpdates, project, repositoryId, revertId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, string project, System.Guid repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictsAsync(conflictUpdates, project, repositoryId, revertId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, string repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictsAsync(conflictUpdates, project, repositoryId, revertId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRevertConflictsAsync(System.Collections.Generic.IEnumerable conflictUpdates, System.Guid project, System.Guid repositoryId, int revertId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRevertConflictsAsync(conflictUpdates, project, repositoryId, revertId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRevertAsync(revertToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRevertAsync(revertToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRevertAsync(revertToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRevertAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters revertToCreate, System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRevertAsync(revertToCreate, project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertAsync(string project, int revertId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertAsync(project, revertId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertAsync(string project, int revertId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertAsync(project, revertId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertAsync(System.Guid project, int revertId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertAsync(project, revertId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertAsync(System.Guid project, int revertId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertAsync(project, revertId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(string project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(string project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(System.Guid project, string repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevertForRefNameAsync(System.Guid project, System.Guid repositoryId, string refName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevertForRefNameAsync(project, repositoryId, refName, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string commitId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommitStatusAsync(gitCommitStatusToCreate, commitId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string commitId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommitStatusAsync(gitCommitStatusToCreate, commitId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string project, string commitId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommitStatusAsync(gitCommitStatusToCreate, project, commitId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, string project, string commitId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommitStatusAsync(gitCommitStatusToCreate, project, commitId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, System.Guid project, string commitId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommitStatusAsync(gitCommitStatusToCreate, project, commitId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommitStatusAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus gitCommitStatusToCreate, System.Guid project, string commitId, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommitStatusAsync(gitCommitStatusToCreate, project, commitId, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStatusesAsync(string project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusesAsync(project, commitId, repositoryId, top, skip, latestOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStatusesAsync(string project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusesAsync(project, commitId, repositoryId, top, skip, latestOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStatusesAsync(System.Guid project, string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusesAsync(project, commitId, repositoryId, top, skip, latestOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStatusesAsync(System.Guid project, string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusesAsync(project, commitId, repositoryId, top, skip, latestOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStatusesAsync(string commitId, string repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusesAsync(commitId, repositoryId, top, skip, latestOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetStatusesAsync(string commitId, System.Guid repositoryId, int? top = default(int?), int? skip = default(int?), bool? latestOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStatusesAsync(commitId, repositoryId, top, skip, latestOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, string repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, preferCompareBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, System.Guid repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, preferCompareBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, string repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, preferCompareBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, System.Guid repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, preferCompareBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(repositoryId, preferCompareBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid repositoryId, bool? preferCompareBranch = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(repositoryId, preferCompareBranch, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeDiffsAsync(string project, string repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeDiffsAsync(project, repositoryId, baseId, targetId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeDiffsAsync(string project, System.Guid repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeDiffsAsync(project, repositoryId, baseId, targetId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeDiffsAsync(System.Guid project, string repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeDiffsAsync(project, repositoryId, baseId, targetId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeDiffsAsync(System.Guid project, System.Guid repositoryId, string baseId = null, string targetId = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeDiffsAsync(project, repositoryId, baseId, targetId, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeAsync(string project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeAsync(string project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeAsync(System.Guid project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeAsync(System.Guid project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeAsync(string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeAsync(repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeAsync(System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeAsync(repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeZipAsync(string project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeZipAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeZipAsync(string project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeZipAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeZipAsync(System.Guid project, string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeZipAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeZipAsync(System.Guid project, System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeZipAsync(project, repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeZipAsync(string repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeZipAsync(repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTreeZipAsync(System.Guid repositoryId, string sha1, string projectId = null, bool? recursive = default(bool?), string fileName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTreeZipAsync(repositoryId, sha1, projectId, recursive, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(string project, bool? includeLinks, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetRepositoriesAsync(project, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(string project, bool? includeLinks, object userState) + => Client.GetRepositoriesAsync(project, includeLinks, userState); + public System.Threading.Tasks.Task> GetRepositoriesAsync(System.Guid project, bool? includeLinks, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetRepositoriesAsync(project, includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(System.Guid project, bool? includeLinks, object userState) + => Client.GetRepositoriesAsync(project, includeLinks, userState); + public System.Threading.Tasks.Task> GetRepositoriesAsync(bool? includeLinks, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetRepositoriesAsync(includeLinks, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRepositoriesAsync(bool? includeLinks, object userState) + => Client.GetRepositoriesAsync(includeLinks, userState); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, string repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(string project, System.Guid repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, string repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid project, System.Guid repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(project, repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(string repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryAsync(System.Guid repositoryId, bool? includeParent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryAsync(repositoryId, includeParent, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository gitRepositoryToCreate, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRepositoryAsync(gitRepositoryToCreate, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository gitRepositoryToCreate, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRepositoryAsync(gitRepositoryToCreate, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateRepositoryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository gitRepositoryToCreate, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateRepositoryAsync(gitRepositoryToCreate, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid project, System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(project, repositoryId, pullRequestId, skip, top, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(string repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(repositoryId, pullRequestId, skip, top, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPullRequestConflictsAsync(System.Guid repositoryId, int pullRequestId, int? skip = default(int?), int? top = default(int?), bool? includeObsolete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPullRequestConflictsAsync(repositoryId, pullRequestId, skip, top, includeObsolete, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(string project, System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? latestStatusesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(project, repositoryId, filter, includeLinks, latestStatusesOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid project, string repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? latestStatusesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(project, repositoryId, filter, includeLinks, latestStatusesOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRefsAsync(System.Guid repositoryId, string filter = null, bool? includeLinks = default(bool?), bool? latestStatusesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRefsAsync(repositoryId, filter, includeLinks, latestStatusesOnly, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(string project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuggestionsAsync(System.Guid project, System.Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuggestionsAsync(project, repositoryId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs index 5f282702b..c345b90c0 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs @@ -1 +1,188 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IGraphHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.Graph.Client; +namespace TfsCmdlets.HttpClients +{ + public partial interface IGraphHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task DeleteAvatarAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAvatarAsync(string subjectDescriptor, Microsoft.VisualStudio.Services.Profile.AvatarSize? size = default(Microsoft.VisualStudio.Services.Profile.AvatarSize?), string format = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetAvatarAsync(Microsoft.VisualStudio.Services.Profile.Avatar avatar, string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCachePoliciesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDescriptorAsync(System.Guid storageKey, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetFederatedProviderDataAsync(Microsoft.VisualStudio.Services.Common.SubjectDescriptor subjectDescriptor, string providerName, long? versionHint = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateGroupAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphGroupCreationContext creationContext, string scopeDescriptor = null, System.Collections.Generic.IEnumerable groupDescriptors = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteGroupAsync(string groupDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetGroupAsync(string groupDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListGroupsAsync(string scopeDescriptor = null, System.Collections.Generic.IEnumerable subjectTypes = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateGroupAsync(string groupDescriptor, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task TranslateAsync(string masterId = null, string localId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> LookupMembersAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectLookup memberLookup, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListMembersAsync(string continuationToken = null, System.Collections.Generic.IEnumerable subjectTypes = null, System.Collections.Generic.IEnumerable subjectKinds = null, System.Collections.Generic.IEnumerable metaTypes = null, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMemberByDescriptorAsync(string memberDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddMembershipAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CheckMembershipExistenceAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMembershipAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveMembershipAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListMembershipsAsync(string subjectDescriptor, Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection? direction = default(Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection?), int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetMembershipStateAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> LookupMembershipTraversalsAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectLookup membershipTraversalLookup, Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection? direction = default(Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection?), int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task TraverseMembershipsAsync(string subjectDescriptor, Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection? direction = default(Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection?), int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetProviderInfoAsync(string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RequestAccessAsync(Newtonsoft.Json.Linq.JToken jsondocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ResolveAsync(Microsoft.VisualStudio.Services.Graph.Client.IdentityMappings mappings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateScopeAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphScopeCreationContext creationContext, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteScopeAsync(string scopeDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetScopeAsync(string scopeDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateScopeAsync(string scopeDescriptor, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateServicePrincipalAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphServicePrincipalCreationContext creationContext, System.Collections.Generic.IEnumerable groupDescriptors = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteServicePrincipalAsync(string servicePrincipalDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetServicePrincipalAsync(string servicePrincipalDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListServicePrincipalsAsync(string continuationToken = null, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateServicePrincipalAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphServicePrincipalUpdateContext updateContext, string servicePrincipalDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetStorageKeyAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> LookupSubjectsAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectLookup subjectLookup, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> QuerySubjectsAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectQuery subjectQuery, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetSubjectAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateUserAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphUserCreationContext creationContext, System.Collections.Generic.IEnumerable groupDescriptors = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteUserAsync(string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetUserAsync(string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListUsersAsync(System.Collections.Generic.IEnumerable subjectTypes = null, string continuationToken = null, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateUserAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphUserUpdateContext updateContext, string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListUsersAsync(System.Collections.Generic.IEnumerable subjectTypes = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IGraphHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IGraphHttpClientImpl: IGraphHttpClient + { + private Microsoft.VisualStudio.Services.Graph.Client.GraphHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IGraphHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.Graph.Client.GraphHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Graph.Client.GraphHttpClient)) as Microsoft.VisualStudio.Services.Graph.Client.GraphHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task DeleteAvatarAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAvatarAsync(subjectDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetAvatarAsync(string subjectDescriptor, Microsoft.VisualStudio.Services.Profile.AvatarSize? size = default(Microsoft.VisualStudio.Services.Profile.AvatarSize?), string format = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAvatarAsync(subjectDescriptor, size, format, userState, cancellationToken); + public System.Threading.Tasks.Task SetAvatarAsync(Microsoft.VisualStudio.Services.Profile.Avatar avatar, string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetAvatarAsync(avatar, subjectDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetCachePoliciesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCachePoliciesAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetDescriptorAsync(System.Guid storageKey, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDescriptorAsync(storageKey, userState, cancellationToken); + public System.Threading.Tasks.Task GetFederatedProviderDataAsync(Microsoft.VisualStudio.Services.Common.SubjectDescriptor subjectDescriptor, string providerName, long? versionHint = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFederatedProviderDataAsync(subjectDescriptor, providerName, versionHint, userState, cancellationToken); + public System.Threading.Tasks.Task CreateGroupAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphGroupCreationContext creationContext, string scopeDescriptor = null, System.Collections.Generic.IEnumerable groupDescriptors = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateGroupAsync(creationContext, scopeDescriptor, groupDescriptors, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteGroupAsync(string groupDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteGroupAsync(groupDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetGroupAsync(string groupDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGroupAsync(groupDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task ListGroupsAsync(string scopeDescriptor = null, System.Collections.Generic.IEnumerable subjectTypes = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListGroupsAsync(scopeDescriptor, subjectTypes, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateGroupAsync(string groupDescriptor, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGroupAsync(groupDescriptor, patchDocument, userState, cancellationToken); + public System.Threading.Tasks.Task TranslateAsync(string masterId = null, string localId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.TranslateAsync(masterId, localId, userState, cancellationToken); + public System.Threading.Tasks.Task> LookupMembersAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectLookup memberLookup, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.LookupMembersAsync(memberLookup, userState, cancellationToken); + public System.Threading.Tasks.Task ListMembersAsync(string continuationToken = null, System.Collections.Generic.IEnumerable subjectTypes = null, System.Collections.Generic.IEnumerable subjectKinds = null, System.Collections.Generic.IEnumerable metaTypes = null, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListMembersAsync(continuationToken, subjectTypes, subjectKinds, metaTypes, scopeDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetMemberByDescriptorAsync(string memberDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMemberByDescriptorAsync(memberDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task AddMembershipAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddMembershipAsync(subjectDescriptor, containerDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CheckMembershipExistenceAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CheckMembershipExistenceAsync(subjectDescriptor, containerDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetMembershipAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMembershipAsync(subjectDescriptor, containerDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveMembershipAsync(string subjectDescriptor, string containerDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveMembershipAsync(subjectDescriptor, containerDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> ListMembershipsAsync(string subjectDescriptor, Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection? direction = default(Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection?), int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListMembershipsAsync(subjectDescriptor, direction, depth, userState, cancellationToken); + public System.Threading.Tasks.Task GetMembershipStateAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMembershipStateAsync(subjectDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> LookupMembershipTraversalsAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectLookup membershipTraversalLookup, Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection? direction = default(Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection?), int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.LookupMembershipTraversalsAsync(membershipTraversalLookup, direction, depth, userState, cancellationToken); + public System.Threading.Tasks.Task TraverseMembershipsAsync(string subjectDescriptor, Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection? direction = default(Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection?), int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.TraverseMembershipsAsync(subjectDescriptor, direction, depth, userState, cancellationToken); + public System.Threading.Tasks.Task GetProviderInfoAsync(string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProviderInfoAsync(userDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task RequestAccessAsync(Newtonsoft.Json.Linq.JToken jsondocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RequestAccessAsync(jsondocument, userState, cancellationToken); + public System.Threading.Tasks.Task ResolveAsync(Microsoft.VisualStudio.Services.Graph.Client.IdentityMappings mappings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ResolveAsync(mappings, userState, cancellationToken); + public System.Threading.Tasks.Task CreateScopeAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphScopeCreationContext creationContext, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateScopeAsync(creationContext, scopeDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteScopeAsync(string scopeDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteScopeAsync(scopeDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetScopeAsync(string scopeDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetScopeAsync(scopeDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateScopeAsync(string scopeDescriptor, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateScopeAsync(scopeDescriptor, patchDocument, userState, cancellationToken); + public System.Threading.Tasks.Task CreateServicePrincipalAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphServicePrincipalCreationContext creationContext, System.Collections.Generic.IEnumerable groupDescriptors = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateServicePrincipalAsync(creationContext, groupDescriptors, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteServicePrincipalAsync(string servicePrincipalDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteServicePrincipalAsync(servicePrincipalDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetServicePrincipalAsync(string servicePrincipalDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetServicePrincipalAsync(servicePrincipalDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task ListServicePrincipalsAsync(string continuationToken = null, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListServicePrincipalsAsync(continuationToken, scopeDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateServicePrincipalAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphServicePrincipalUpdateContext updateContext, string servicePrincipalDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateServicePrincipalAsync(updateContext, servicePrincipalDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetStorageKeyAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetStorageKeyAsync(subjectDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> LookupSubjectsAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectLookup subjectLookup, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.LookupSubjectsAsync(subjectLookup, userState, cancellationToken); + public System.Threading.Tasks.Task> QuerySubjectsAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphSubjectQuery subjectQuery, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QuerySubjectsAsync(subjectQuery, userState, cancellationToken); + public System.Threading.Tasks.Task GetSubjectAsync(string subjectDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSubjectAsync(subjectDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateUserAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphUserCreationContext creationContext, System.Collections.Generic.IEnumerable groupDescriptors = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateUserAsync(creationContext, groupDescriptors, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteUserAsync(string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteUserAsync(userDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetUserAsync(string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUserAsync(userDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task ListUsersAsync(System.Collections.Generic.IEnumerable subjectTypes = null, string continuationToken = null, string scopeDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListUsersAsync(subjectTypes, continuationToken, scopeDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateUserAsync(Microsoft.VisualStudio.Services.Graph.Client.GraphUserUpdateContext updateContext, string userDescriptor, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateUserAsync(updateContext, userDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task ListUsersAsync(System.Collections.Generic.IEnumerable subjectTypes = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListUsersAsync(subjectTypes, continuationToken, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs index c667d1a57..358e0b668 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs @@ -1,4 +1,5 @@ //HintName: TfsCmdlets.HttpClients.IIdentityHttpClient.g.cs +#pragma warning disable CS8669 using System.Composition; using Microsoft.VisualStudio.Services.Identity.Client; namespace TfsCmdlets.HttpClients diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs index 5f282702b..0826bc367 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs @@ -1 +1,62 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IOperationsHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.Operations; +namespace TfsCmdlets.HttpClients +{ + public partial interface IOperationsHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task GetOperation(System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetOperationAsync(Microsoft.VisualStudio.Services.Operations.OperationReference operationReference, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetOperationAsync(System.Guid operationId, System.Guid? pluginId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IOperationsHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IOperationsHttpClientImpl: IOperationsHttpClient + { + private Microsoft.VisualStudio.Services.Operations.OperationsHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IOperationsHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.Operations.OperationsHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Operations.OperationsHttpClient)) as Microsoft.VisualStudio.Services.Operations.OperationsHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task GetOperation(System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetOperation(id, userState, cancellationToken); + public System.Threading.Tasks.Task GetOperationAsync(Microsoft.VisualStudio.Services.Operations.OperationReference operationReference, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetOperationAsync(operationReference, userState, cancellationToken); + public System.Threading.Tasks.Task GetOperationAsync(System.Guid operationId, System.Guid? pluginId = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetOperationAsync(operationId, pluginId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs index 5f282702b..7f4004f8c 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs @@ -1 +1,143 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IPolicyHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.Policy.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IPolicyHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePolicyConfigurationAsync(string project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePolicyConfigurationAsync(System.Guid project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyConfigurationAsync(string project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyConfigurationAsync(System.Guid project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(string project, string scope = null, System.Guid? policyType = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(System.Guid project, string scope = null, System.Guid? policyType = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, string project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, System.Guid project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyEvaluationAsync(string project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyEvaluationAsync(System.Guid project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RequeuePolicyEvaluationAsync(string project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RequeuePolicyEvaluationAsync(System.Guid project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyEvaluationsAsync(string project, string artifactId, bool? includeNotApplicable = default(bool?), int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyEvaluationsAsync(System.Guid project, string artifactId, bool? includeNotApplicable = default(bool?), int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyConfigurationRevisionAsync(string project, int configurationId, int revisionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyConfigurationRevisionAsync(System.Guid project, int configurationId, int revisionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationRevisionsAsync(string project, int configurationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationRevisionsAsync(System.Guid project, int configurationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyTypeAsync(string project, System.Guid typeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPolicyTypeAsync(System.Guid project, System.Guid typeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyTypesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyTypesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(string project, string scope = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(System.Guid project, string scope = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, string project, int? configurationId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, System.Guid project, int? configurationId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IPolicyHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IPolicyHttpClientImpl: IPolicyHttpClient + { + private Microsoft.TeamFoundation.Policy.WebApi.PolicyHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IPolicyHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Policy.WebApi.PolicyHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Policy.WebApi.PolicyHttpClient)) as Microsoft.TeamFoundation.Policy.WebApi.PolicyHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePolicyConfigurationAsync(configuration, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePolicyConfigurationAsync(configuration, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePolicyConfigurationAsync(string project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePolicyConfigurationAsync(project, configurationId, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePolicyConfigurationAsync(System.Guid project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePolicyConfigurationAsync(project, configurationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyConfigurationAsync(string project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationAsync(project, configurationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyConfigurationAsync(System.Guid project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationAsync(project, configurationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(string project, string scope = null, System.Guid? policyType = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, scope, policyType, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(System.Guid project, string scope = null, System.Guid? policyType = default(System.Guid?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, scope, policyType, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, string project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePolicyConfigurationAsync(configuration, project, configurationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, System.Guid project, int configurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePolicyConfigurationAsync(configuration, project, configurationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyEvaluationAsync(string project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyEvaluationAsync(project, evaluationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyEvaluationAsync(System.Guid project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyEvaluationAsync(project, evaluationId, userState, cancellationToken); + public System.Threading.Tasks.Task RequeuePolicyEvaluationAsync(string project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RequeuePolicyEvaluationAsync(project, evaluationId, userState, cancellationToken); + public System.Threading.Tasks.Task RequeuePolicyEvaluationAsync(System.Guid project, System.Guid evaluationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RequeuePolicyEvaluationAsync(project, evaluationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyEvaluationsAsync(string project, string artifactId, bool? includeNotApplicable = default(bool?), int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyEvaluationsAsync(project, artifactId, includeNotApplicable, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyEvaluationsAsync(System.Guid project, string artifactId, bool? includeNotApplicable = default(bool?), int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyEvaluationsAsync(project, artifactId, includeNotApplicable, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyConfigurationRevisionAsync(string project, int configurationId, int revisionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationRevisionAsync(project, configurationId, revisionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyConfigurationRevisionAsync(System.Guid project, int configurationId, int revisionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationRevisionAsync(project, configurationId, revisionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationRevisionsAsync(string project, int configurationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationRevisionsAsync(project, configurationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationRevisionsAsync(System.Guid project, int configurationId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationRevisionsAsync(project, configurationId, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyTypeAsync(string project, System.Guid typeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyTypeAsync(project, typeId, userState, cancellationToken); + public System.Threading.Tasks.Task GetPolicyTypeAsync(System.Guid project, System.Guid typeId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyTypeAsync(project, typeId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyTypesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyTypesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyTypesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyTypesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(string project, string scope = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, scope, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(System.Guid project, string scope = null, int? top = default(int?), string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, scope, top, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPolicyConfigurationsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPolicyConfigurationsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, string project, int? configurationId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePolicyConfigurationAsync(configuration, project, configurationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePolicyConfigurationAsync(Microsoft.TeamFoundation.Policy.WebApi.PolicyConfiguration configuration, System.Guid project, int? configurationId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePolicyConfigurationAsync(configuration, project, configurationId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs index 061ecc255..440ab5b88 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs @@ -1,13 +1,13 @@ //HintName: TfsCmdlets.HttpClients.IProcessHttpClient.g.cs +#pragma warning disable CS8669 using System.Composition; +using Microsoft.TeamFoundation.Core.WebApi; namespace TfsCmdlets.HttpClients { - public partial interface IProcessHttpClient: IVssHttpClient + public partial interface IProcessHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient { public System.Threading.Tasks.Task GetProcessByIdAsync(System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetProcessesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); - public void Dispose(); } [Export(typeof(IProcessHttpClient))] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] @@ -35,9 +35,25 @@ private Microsoft.TeamFoundation.Core.WebApi.ProcessHttpClient Client => Client.GetProcessByIdAsync(processId, userState, cancellationToken); public System.Threading.Tasks.Task> GetProcessesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.GetProcessesAsync(userState, cancellationToken); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) - => Client.SetResourceLocations(resourceLocations); - public void Dispose() - => Client.Dispose(); - } + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs index 5f282702b..f2df48fee 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs @@ -1 +1,95 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IProjectHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IProjectHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task GetProject(string id, bool? includeCapabilities = default(bool?), bool includeHistory = false, object userState = null); + public System.Threading.Tasks.Task> GetProjects(Microsoft.TeamFoundation.Core.WebApi.ProjectState? stateFilter, int? top, int? skip, object userState, string continuationToken); + public System.Threading.Tasks.Task> GetProjects(Microsoft.TeamFoundation.Core.WebApi.ProjectState? stateFilter = default(Microsoft.TeamFoundation.Core.WebApi.ProjectState?), int? top = default(int?), int? skip = default(int?), object userState = null, string continuationToken = null, bool? getDefaultTeamImageUrl = default(bool?)); + public System.Threading.Tasks.Task QueueCreateProject(Microsoft.TeamFoundation.Core.WebApi.TeamProject projectToCreate, object userState = null); + public System.Threading.Tasks.Task QueueDeleteProject(System.Guid projectId, object userState = null); + public System.Threading.Tasks.Task QueueDeleteProject(System.Guid projectId, bool hardDelete, object userState = null); + public System.Threading.Tasks.Task UpdateProject(System.Guid projectToUpdateId, Microsoft.TeamFoundation.Core.WebApi.TeamProject projectUpdate, object userState = null); + public System.Threading.Tasks.Task Options(); + public System.Threading.Tasks.Task RemoveProjectAvatarAsync(string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetProjectAvatarAsync(Microsoft.TeamFoundation.Core.WebApi.ProjectAvatar avatarBlob, string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProjectHistoryEntriesAsync(long? minRevision = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProjectsPropertiesAsync(System.Collections.Generic.IEnumerable projectIds, System.Collections.Generic.IEnumerable properties = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetProjectPropertiesAsync(System.Guid projectId, System.Collections.Generic.IEnumerable keys = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SetProjectPropertiesAsync(System.Guid projectId, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IProjectHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IProjectHttpClientImpl: IProjectHttpClient + { + private Microsoft.TeamFoundation.Core.WebApi.ProjectHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IProjectHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Core.WebApi.ProjectHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Core.WebApi.ProjectHttpClient)) as Microsoft.TeamFoundation.Core.WebApi.ProjectHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task GetProject(string id, bool? includeCapabilities = default(bool?), bool includeHistory = false, object userState = null) + => Client.GetProject(id, includeCapabilities, includeHistory, userState); + public System.Threading.Tasks.Task> GetProjects(Microsoft.TeamFoundation.Core.WebApi.ProjectState? stateFilter, int? top, int? skip, object userState, string continuationToken) + => Client.GetProjects(stateFilter, top, skip, userState, continuationToken); + public System.Threading.Tasks.Task> GetProjects(Microsoft.TeamFoundation.Core.WebApi.ProjectState? stateFilter = default(Microsoft.TeamFoundation.Core.WebApi.ProjectState?), int? top = default(int?), int? skip = default(int?), object userState = null, string continuationToken = null, bool? getDefaultTeamImageUrl = default(bool?)) + => Client.GetProjects(stateFilter, top, skip, userState, continuationToken, getDefaultTeamImageUrl); + public System.Threading.Tasks.Task QueueCreateProject(Microsoft.TeamFoundation.Core.WebApi.TeamProject projectToCreate, object userState = null) + => Client.QueueCreateProject(projectToCreate, userState); + public System.Threading.Tasks.Task QueueDeleteProject(System.Guid projectId, object userState = null) + => Client.QueueDeleteProject(projectId, userState); + public System.Threading.Tasks.Task QueueDeleteProject(System.Guid projectId, bool hardDelete, object userState = null) + => Client.QueueDeleteProject(projectId, hardDelete, userState); + public System.Threading.Tasks.Task UpdateProject(System.Guid projectToUpdateId, Microsoft.TeamFoundation.Core.WebApi.TeamProject projectUpdate, object userState = null) + => Client.UpdateProject(projectToUpdateId, projectUpdate, userState); + public System.Threading.Tasks.Task Options() + => Client.Options(); + public System.Threading.Tasks.Task RemoveProjectAvatarAsync(string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveProjectAvatarAsync(projectId, userState, cancellationToken); + public System.Threading.Tasks.Task SetProjectAvatarAsync(Microsoft.TeamFoundation.Core.WebApi.ProjectAvatar avatarBlob, string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetProjectAvatarAsync(avatarBlob, projectId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProjectHistoryEntriesAsync(long? minRevision = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectHistoryEntriesAsync(minRevision, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProjectsPropertiesAsync(System.Collections.Generic.IEnumerable projectIds, System.Collections.Generic.IEnumerable properties = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectsPropertiesAsync(projectIds, properties, userState, cancellationToken); + public System.Threading.Tasks.Task> GetProjectPropertiesAsync(System.Guid projectId, System.Collections.Generic.IEnumerable keys = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectPropertiesAsync(projectId, keys, userState, cancellationToken); + public System.Threading.Tasks.Task SetProjectPropertiesAsync(System.Guid projectId, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetProjectPropertiesAsync(projectId, patchDocument, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs index ad6ff7891..b22f3b1a6 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs @@ -1,8 +1,10 @@ //HintName: TfsCmdlets.HttpClients.IReleaseHttpClient.g.cs +#pragma warning disable CS8669 using System.Composition; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients; namespace TfsCmdlets.HttpClients { - public partial interface IReleaseHttpClient: IVssHttpClient + public partial interface IReleaseHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient { public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -32,16 +34,16 @@ public partial interface IReleaseHttpClient: IVssHttpClient public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(string project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetDeploymentsAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetDeploymentsAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -117,8 +119,8 @@ public partial interface IReleaseHttpClient: IVssHttpClient public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task DeleteReleaseAsync(string project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task DeleteReleaseAsync(System.Guid project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(string project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(System.Guid project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetReleaseRevisionAsync(string project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -186,8 +188,6 @@ public partial interface IReleaseHttpClient: IVssHttpClient public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken); public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); - public void Dispose(); } [Export(typeof(IReleaseHttpClient))] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] @@ -267,10 +267,10 @@ private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.Release => Client.DeleteReleaseDefinitionAsync(project, definitionId, comment, forceDelete, userState, cancellationToken); public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.DeleteReleaseDefinitionAsync(project, definitionId, comment, forceDelete, userState, cancellationToken); - public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, userState, cancellationToken); - public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, includeDisabled, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, includeDisabled, userState, cancellationToken); public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.GetReleaseDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -283,10 +283,10 @@ private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.Release => Client.UndeleteReleaseDefinitionAsync(releaseDefinitionUndeleteParameter, project, definitionId, userState, cancellationToken); public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.UndeleteReleaseDefinitionAsync(releaseDefinitionUndeleteParameter, project, definitionId, userState, cancellationToken); - public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); - public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, skipTasksValidation, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, skipTasksValidation, userState, cancellationToken); public System.Threading.Tasks.Task> GetDeploymentsAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.GetDeploymentsAsync(project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch, userState, cancellationToken); public System.Threading.Tasks.Task> GetDeploymentsAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -437,10 +437,10 @@ private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.Release => Client.DeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); public System.Threading.Tasks.Task DeleteReleaseAsync(System.Guid project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.DeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); - public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, userState, cancellationToken); - public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, includeDisabledDefinitions, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, includeDisabledDefinitions, userState, cancellationToken); public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(string project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.GetReleaseDefinitionSummaryAsync(project, definitionId, releaseCount, includeArtifact, definitionEnvironmentIdsFilter, userState, cancellationToken); public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(System.Guid project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -575,9 +575,25 @@ private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.Release => Client.DeleteReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.DeleteReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) - => Client.SetResourceLocations(resourceLocations); - public void Dispose() - => Client.Dispose(); - } + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs index 5f282702b..3bd069a69 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs @@ -1 +1,632 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IReleaseHttpClient2.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients; +namespace TfsCmdlets.HttpClients +{ + public partial interface IReleaseHttpClient2: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task> GetApprovalsAsync2(string project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetApprovalsAsync2(System.Guid project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsAsync2(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsAsync2(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync2(string project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync2(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync2(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync2(int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync2(string project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync2(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync3(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), object userState = null, System.Collections.Generic.List> additionalHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetApprovalsAsync(string project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetApprovalsAsync(System.Guid project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(string project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(System.Guid project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalAsync(string project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetApprovalAsync(System.Guid project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, string project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, System.Guid project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(System.Guid project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDeploymentBadgeAsync(System.Guid projectId, int releaseDefinitionId, int environmentId, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(string project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(System.Guid project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(string project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFavoritesAsync(string project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFavoritesAsync(System.Guid project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFavoritesAsync(string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFavoritesAsync(System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFlightAssignmentsAsync(string flightName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFolderAsync(string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFolderAsync(System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFoldersAsync(string project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetFoldersAsync(System.Guid project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, string project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, System.Guid project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetIssuesAsync(string project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetIssuesAsync(System.Guid project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetGateLogAsync(string project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetGateLogAsync(System.Guid project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogAsync(string project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetLogAsync(System.Guid project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLog2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLog2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLogAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTaskLogAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetManualInterventionAsync(string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetManualInterventionAsync(System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMetricsAsync(string project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetMetricsAsync(System.Guid project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetOrgPipelineReleaseSettingsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateOrgPipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.OrgPipelineReleaseSettingsUpdateParameters newSettings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseProjectsAsync(string artifactType, string artifactSourceId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseAsync(string project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseAsync(System.Guid project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(string project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(System.Guid project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(string project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(System.Guid project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseAsync(string project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UndeleteReleaseAsync(System.Guid project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasks2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasks2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksAsync(string project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTasksAsync(System.Guid project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IReleaseHttpClient2))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IReleaseHttpClient2Impl: IReleaseHttpClient2 + { + private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient2 _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IReleaseHttpClient2Impl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient2 Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient2)) as Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients.ReleaseHttpClient2; + } + return _client; + } + } + public System.Threading.Tasks.Task> GetApprovalsAsync2(string project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalsAsync2(project, assignedToFilter, statusFilter, releaseIdsFilter, typeFilter, top, continuationToken, queryOrder, includeMyGroupApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task> GetApprovalsAsync2(System.Guid project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalsAsync2(project, assignedToFilter, statusFilter, releaseIdsFilter, typeFilter, top, continuationToken, queryOrder, includeMyGroupApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsAsync2(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsAsync2(project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsAsync2(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsAsync2(project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync2(string project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync2(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync2(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync2(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync2(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync2(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync2(int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync2(definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync2(string project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionsAsync2(project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, searchTextContainsFolderName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync2(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionsAsync2(project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, searchTextContainsFolderName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync3(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), object userState = null, System.Collections.Generic.List> additionalHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionsAsync3(project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, userState, additionalHeaders, cancellationToken); + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAgentArtifactDefinitionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAgentArtifactDefinitionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAgentArtifactDefinitionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetApprovalsAsync(string project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalsAsync(project, assignedToFilter, statusFilter, releaseIdsFilter, typeFilter, top, continuationToken, queryOrder, includeMyGroupApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task> GetApprovalsAsync(System.Guid project, string assignedToFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalStatus?), System.Collections.Generic.IEnumerable releaseIdsFilter = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType? typeFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalType?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), bool? includeMyGroupApprovals = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalsAsync(project, assignedToFilter, statusFilter, releaseIdsFilter, typeFilter, top, continuationToken, queryOrder, includeMyGroupApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(string project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalHistoryAsync(project, approvalStepId, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalHistoryAsync(System.Guid project, int approvalStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalHistoryAsync(project, approvalStepId, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalAsync(string project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalAsync(project, approvalId, includeHistory, userState, cancellationToken); + public System.Threading.Tasks.Task GetApprovalAsync(System.Guid project, int approvalId, bool? includeHistory = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetApprovalAsync(project, approvalId, includeHistory, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, string project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalAsync(approval, project, approvalId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseApprovalAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseApproval approval, System.Guid project, int approvalId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalAsync(approval, project, approvalId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalsAsync(approvals, project, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateReleaseApprovalsAsync(System.Collections.Generic.IEnumerable approvals, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseApprovalsAsync(approvals, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentContentAsync(project, releaseId, environmentId, attemptId, planId, timelineId, recordId, type, name, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseTaskAttachmentContentAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, System.Guid timelineId, System.Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentContentAsync(project, releaseId, environmentId, attemptId, planId, timelineId, recordId, type, name, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(string project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentsAsync(project, releaseId, environmentId, attemptId, planId, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTaskAttachmentsAsync(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid planId, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTaskAttachmentsAsync(project, releaseId, environmentId, attemptId, planId, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAutoTriggerIssuesAsync(project, artifactType, sourceId, artifactVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(System.Guid project, string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAutoTriggerIssuesAsync(project, artifactType, sourceId, artifactVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAutoTriggerIssuesAsync(string artifactType, string sourceId, string artifactVersionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAutoTriggerIssuesAsync(artifactType, sourceId, artifactVersionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDeploymentBadgeAsync(System.Guid projectId, int releaseDefinitionId, int environmentId, string branchName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentBadgeAsync(projectId, releaseDefinitionId, environmentId, branchName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseChangesAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseChangesAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseChangesAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(string project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentsAsync(project, taskGroupId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionEnvironmentsAsync(System.Guid project, System.Guid? taskGroupId = default(System.Guid?), System.Collections.Generic.IEnumerable propertyFilters = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentsAsync(project, taskGroupId, propertyFilters, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseDefinitionAsync(releaseDefinition, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, comment, forceDelete, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, string comment = null, bool? forceDelete = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, comment, forceDelete, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, includeDisabled, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, System.Collections.Generic.IEnumerable propertyFilters = null, bool? includeDisabled = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionAsync(project, definitionId, propertyFilters, includeDisabled, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(string project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionsAsync(project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, searchTextContainsFolderName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionsAsync(System.Guid project, string searchText = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionExpands?), string artifactType = null, string artifactSourceId = null, int? top = default(int?), string continuationToken = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionQueryOrder?), string path = null, bool? isExactNameMatch = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable definitionIdFilter = null, bool? isDeleted = default(bool?), bool? searchTextContainsFolderName = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionsAsync(project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, searchTextContainsFolderName, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionAsync(releaseDefinitionUndeleteParameter, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinitionUndeleteParameter releaseDefinitionUndeleteParameter, System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionAsync(releaseDefinitionUndeleteParameter, project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, string project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, skipTasksValidation, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseDefinitionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition releaseDefinition, System.Guid project, bool? skipTasksValidation = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseDefinitionAsync(releaseDefinition, project, skipTasksValidation, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsAsync(project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string createdBy = null, System.DateTime? minModifiedTime = default(System.DateTime?), System.DateTime? maxModifiedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus? deploymentStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentStatus?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus? operationStatus = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentOperationStatus?), bool? latestAttemptsOnly = default(bool?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), string createdFor = null, System.DateTime? minStartedTime = default(System.DateTime?), System.DateTime? maxStartedTime = default(System.DateTime?), string sourceBranch = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsAsync(project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsForMultipleEnvironmentsAsync(queryParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeploymentsForMultipleEnvironmentsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.DeploymentQueryParameters queryParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeploymentsForMultipleEnvironmentsAsync(queryParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(string project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseEnvironmentAsync(System.Guid project, int releaseId, int environmentId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseEnvironmentExpands expand, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseEnvironmentAsync(project, releaseId, environmentId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, string project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseEnvironmentAsync(environmentUpdateData, project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseEnvironmentAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseEnvironmentUpdateMetadata environmentUpdateData, System.Guid project, int releaseId, int environmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseEnvironmentAsync(environmentUpdateData, project, releaseId, environmentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDefinitionEnvironmentTemplateAsync(template, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateDefinitionEnvironmentTemplateAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseDefinitionEnvironmentTemplate template, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateDefinitionEnvironmentTemplateAsync(template, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, bool? isDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(string project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseDefinitionEnvironmentTemplateAsync(System.Guid project, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseDefinitionEnvironmentTemplateAsync(project, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFavoritesAsync(favoriteItems, project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreateFavoritesAsync(System.Collections.Generic.IEnumerable favoriteItems, System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFavoritesAsync(favoriteItems, project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFavoritesAsync(string project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFavoritesAsync(project, scope, identityId, favoriteItemIds, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFavoritesAsync(System.Guid project, string scope, string identityId = null, string favoriteItemIds = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFavoritesAsync(project, scope, identityId, favoriteItemIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFavoritesAsync(string project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFavoritesAsync(project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFavoritesAsync(System.Guid project, string scope, string identityId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFavoritesAsync(project, scope, identityId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFlightAssignmentsAsync(string flightName = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFlightAssignmentsAsync(flightName, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFolderAsync(folder, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateFolderAsync(folder, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFolderAsync(string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFolderAsync(project, path, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFolderAsync(System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFolderAsync(project, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFoldersAsync(string project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFoldersAsync(project, path, queryOrder, userState, cancellationToken); + public System.Threading.Tasks.Task> GetFoldersAsync(System.Guid project, string path = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.FolderPathQueryOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetFoldersAsync(project, path, queryOrder, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateFolderAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Folder folder, System.Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateFolderAsync(folder, project, path, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, string project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGatesAsync(gateUpdateMetadata, project, gateStepId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateGatesAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.GateUpdateMetadata gateUpdateMetadata, System.Guid project, int gateStepId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGatesAsync(gateUpdateMetadata, project, gateStepId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseHistoryAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseHistoryAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseHistoryAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetInputValuesAsync(query, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetInputValuesAsync(Microsoft.VisualStudio.Services.FormInput.InputValuesQuery query, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetInputValuesAsync(query, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetIssuesAsync(string project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIssuesAsync(project, buildId, sourceId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetIssuesAsync(System.Guid project, int buildId, string sourceId = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIssuesAsync(project, buildId, sourceId, userState, cancellationToken); + public System.Threading.Tasks.Task GetGateLogAsync(string project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGateLogAsync(project, releaseId, environmentId, gateId, taskId, userState, cancellationToken); + public System.Threading.Tasks.Task GetGateLogAsync(System.Guid project, int releaseId, int environmentId, int gateId, int taskId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGateLogAsync(project, releaseId, environmentId, gateId, taskId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogAsync(string project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogAsync(project, releaseId, environmentId, taskId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task GetLogAsync(System.Guid project, int releaseId, int environmentId, int taskId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetLogAsync(project, releaseId, environmentId, taskId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLog2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLog2Async(project, releaseId, environmentId, attemptId, timelineId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLog2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLog2Async(project, releaseId, environmentId, attemptId, timelineId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLogAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLogAsync(project, releaseId, environmentId, releaseDeployPhaseId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetTaskLogAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, int taskId, long? startLine = default(long?), long? endLine = default(long?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTaskLogAsync(project, releaseId, environmentId, releaseDeployPhaseId, taskId, startLine, endLine, userState, cancellationToken); + public System.Threading.Tasks.Task GetManualInterventionAsync(string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionAsync(project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetManualInterventionAsync(System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionAsync(project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetManualInterventionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetManualInterventionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, string project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateManualInterventionAsync(manualInterventionUpdateMetadata, project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateManualInterventionAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ManualInterventionUpdateMetadata manualInterventionUpdateMetadata, System.Guid project, int releaseId, int manualInterventionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateManualInterventionAsync(manualInterventionUpdateMetadata, project, releaseId, manualInterventionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMetricsAsync(string project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMetricsAsync(project, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task> GetMetricsAsync(System.Guid project, System.DateTime? minMetricsTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetMetricsAsync(project, minMetricsTime, userState, cancellationToken); + public System.Threading.Tasks.Task GetOrgPipelineReleaseSettingsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetOrgPipelineReleaseSettingsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task UpdateOrgPipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.OrgPipelineReleaseSettingsUpdateParameters newSettings, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateOrgPipelineReleaseSettingsAsync(newSettings, userState, cancellationToken); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPipelineReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetPipelineReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPipelineReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePipelineReleaseSettingsAsync(newSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePipelineReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ProjectPipelineReleaseSettingsUpdateParameters newSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePipelineReleaseSettingsAsync(newSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseProjectsAsync(string artifactType, string artifactSourceId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseProjectsAsync(artifactType, artifactSourceId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId = default(int?), int? definitionEnvironmentId = default(int?), string searchText = null, string createdBy = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus?), int? environmentStatusFilter = default(int?), System.DateTime? minCreatedTime = default(System.DateTime?), System.DateTime? maxCreatedTime = default(System.DateTime?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder?), int? top = default(int?), int? continuationToken = default(int?), Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands?), string artifactTypeId = null, string sourceId = null, string artifactVersionId = null, string sourceBranchFilter = null, bool? isDeleted = default(bool?), System.Collections.Generic.IEnumerable tagFilter = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable releaseIdFilter = null, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseAsync(releaseStartMetadata, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStartMetadata releaseStartMetadata, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateReleaseAsync(releaseStartMetadata, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseAsync(string project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseAsync(System.Guid project, int releaseId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, includeDisabledDefinitions, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters? approvalFilters = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ApprovalFilters?), System.Collections.Generic.IEnumerable propertyFilters = null, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands? expand = default(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.SingleReleaseExpands?), int? topGateRecords = default(int?), bool? includeDisabledDefinitions = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseAsync(project, releaseId, approvalFilters, propertyFilters, expand, topGateRecords, includeDisabledDefinitions, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(string project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionSummaryAsync(project, definitionId, releaseCount, includeArtifact, definitionEnvironmentIdsFilter, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionSummaryAsync(System.Guid project, int definitionId, int releaseCount, bool? includeArtifact = default(bool?), System.Collections.Generic.IEnumerable definitionEnvironmentIdsFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionSummaryAsync(project, definitionId, releaseCount, includeArtifact, definitionEnvironmentIdsFilter, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(string project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseRevisionAsync(project, releaseId, definitionSnapshotRevision, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseRevisionAsync(System.Guid project, int releaseId, int definitionSnapshotRevision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseRevisionAsync(project, releaseId, definitionSnapshotRevision, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseAsync(string project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task UndeleteReleaseAsync(System.Guid project, int releaseId, string comment, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UndeleteReleaseAsync(project, releaseId, comment, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseAsync(release, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Release release, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseAsync(release, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseResourceAsync(releaseUpdateMetadata, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseResourceAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseUpdateMetadata releaseUpdateMetadata, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseResourceAsync(releaseUpdateMetadata, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseSettingsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseSettingsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseSettingsAsync(releaseSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateReleaseSettingsAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseSettings releaseSettings, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateReleaseSettingsAsync(releaseSettings, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(string project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task GetDefinitionRevisionAsync(System.Guid project, int definitionId, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionRevisionAsync(project, definitionId, revision, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionHistoryAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseDefinitionHistoryAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseDefinitionHistoryAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSummaryMailSectionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSummaryMailSectionsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSummaryMailSectionsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SendSummaryMailAsync(mailMessage, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task SendSummaryMailAsync(Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.MailMessage mailMessage, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SendSummaryMailAsync(mailMessage, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSourceBranchesAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSourceBranchesAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSourceBranchesAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagsAsync(tags, project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddDefinitionTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddDefinitionTagsAsync(tags, project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(string project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteDefinitionTagAsync(System.Guid project, int releaseDefinitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteDefinitionTagAsync(project, releaseDefinitionId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionTagsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDefinitionTagsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDefinitionTagsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagsAsync(tags, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddReleaseTagsAsync(System.Collections.Generic.IEnumerable tags, System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddReleaseTagsAsync(tags, project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(string project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> DeleteReleaseTagAsync(System.Guid project, int releaseId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseTagAsync(project, releaseId, tag, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(string project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTagsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseTagsAsync(System.Guid project, int releaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseTagsAsync(project, releaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(string project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksForTaskGroupAsync(project, releaseId, environmentId, releaseDeployPhaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksForTaskGroupAsync(System.Guid project, int releaseId, int environmentId, int releaseDeployPhaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksForTaskGroupAsync(project, releaseId, environmentId, releaseDeployPhaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasks2Async(string project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasks2Async(project, releaseId, environmentId, attemptId, timelineId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasks2Async(System.Guid project, int releaseId, int environmentId, int attemptId, System.Guid timelineId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasks2Async(project, releaseId, environmentId, attemptId, timelineId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksAsync(string project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksAsync(project, releaseId, environmentId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTasksAsync(System.Guid project, int releaseId, int environmentId, int? attemptId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTasksAsync(project, releaseId, environmentId, attemptId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactTypeDefinitionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetArtifactTypeDefinitionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactTypeDefinitionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(string project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsAsync(System.Guid project, int releaseDefinitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsAsync(project, releaseDefinitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsForSourcesAsync(artifacts, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetArtifactVersionsForSourcesAsync(System.Collections.Generic.IEnumerable artifacts, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetArtifactVersionsForSourcesAsync(artifacts, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(string project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseWorkItemsRefsAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleaseWorkItemsRefsAsync(System.Guid project, int releaseId, int? baseReleaseId = default(int?), int? top = default(int?), string artifactAlias = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleaseWorkItemsRefsAsync(project, releaseId, baseReleaseId, top, artifactAlias, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> ListDefinitionEnvironmentTemplatesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListDefinitionEnvironmentTemplatesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(string project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(System.Guid project, int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReleasesAsync(project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetReleasesAsync(int? definitionId, int? definitionEnvironmentId, string searchText, string createdBy, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseStatus? statusFilter, int? environmentStatusFilter, System.DateTime? minCreatedTime, System.DateTime? maxCreatedTime, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseQueryOrder? queryOrder, int? top, int? continuationToken, Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts.ReleaseExpands? expand, string artifactTypeId, string sourceId, string artifactVersionId, string sourceBranchFilter, bool? isDeleted, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleasesAsync(definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(string project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseAsync(project, releaseId, includeAllApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseAsync(System.Guid project, int releaseId, bool? includeAllApprovals, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseAsync(project, releaseId, includeAllApprovals, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(string project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetReleaseDefinitionAsync(System.Guid project, int definitionId, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteReleaseDefinitionAsync(System.Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteReleaseDefinitionAsync(project, definitionId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs index 5f282702b..de260e502 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs @@ -1 +1,125 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.ISearchHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.Search.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface ISearchHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task FetchAdvancedCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchAdvancedCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchAdvancedCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchScrollCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.ScrollSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchScrollCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.ScrollSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchScrollCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.ScrollSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCustomRepositoryStatusAsync(string project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCustomRepositoryStatusAsync(System.Guid project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCustomRepositoryBranchStatusAsync(string project, string repository, string branch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCustomRepositoryBranchStatusAsync(System.Guid project, string repository, string branch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchPackageSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Package.PackageSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryStatusAsync(string project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRepositoryStatusAsync(System.Guid project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTfvcRepositoryStatusAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTfvcRepositoryStatusAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchWikiSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Wiki.WikiSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchWikiSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Wiki.WikiSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchWikiSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Wiki.WikiSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchWorkItemSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.WorkItem.WorkItemSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchWorkItemSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.WorkItem.WorkItemSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task FetchWorkItemSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.WorkItem.WorkItemSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(ISearchHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class ISearchHttpClientImpl: ISearchHttpClient + { + private Microsoft.VisualStudio.Services.Search.WebApi.SearchHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public ISearchHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.Search.WebApi.SearchHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.Search.WebApi.SearchHttpClient)) as Microsoft.VisualStudio.Services.Search.WebApi.SearchHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task FetchAdvancedCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchAdvancedCodeSearchResultsAsync(request, userState, cancellationToken); + public System.Threading.Tasks.Task FetchAdvancedCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchAdvancedCodeSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchAdvancedCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchAdvancedCodeSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchScrollCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.ScrollSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchScrollCodeSearchResultsAsync(request, userState, cancellationToken); + public System.Threading.Tasks.Task FetchScrollCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.ScrollSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchScrollCodeSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchScrollCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.ScrollSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchScrollCodeSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchCodeSearchResultsAsync(request, userState, cancellationToken); + public System.Threading.Tasks.Task FetchCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchCodeSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchCodeSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.Code.CodeSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchCodeSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetCustomRepositoryStatusAsync(string project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCustomRepositoryStatusAsync(project, repository, userState, cancellationToken); + public System.Threading.Tasks.Task GetCustomRepositoryStatusAsync(System.Guid project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCustomRepositoryStatusAsync(project, repository, userState, cancellationToken); + public System.Threading.Tasks.Task GetCustomRepositoryBranchStatusAsync(string project, string repository, string branch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCustomRepositoryBranchStatusAsync(project, repository, branch, userState, cancellationToken); + public System.Threading.Tasks.Task GetCustomRepositoryBranchStatusAsync(System.Guid project, string repository, string branch, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCustomRepositoryBranchStatusAsync(project, repository, branch, userState, cancellationToken); + public System.Threading.Tasks.Task FetchPackageSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Package.PackageSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchPackageSearchResultsAsync(request, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryStatusAsync(string project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryStatusAsync(project, repository, userState, cancellationToken); + public System.Threading.Tasks.Task GetRepositoryStatusAsync(System.Guid project, string repository, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRepositoryStatusAsync(project, repository, userState, cancellationToken); + public System.Threading.Tasks.Task GetTfvcRepositoryStatusAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTfvcRepositoryStatusAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetTfvcRepositoryStatusAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTfvcRepositoryStatusAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchWikiSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Wiki.WikiSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchWikiSearchResultsAsync(request, userState, cancellationToken); + public System.Threading.Tasks.Task FetchWikiSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Wiki.WikiSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchWikiSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchWikiSearchResultsAsync(Microsoft.VisualStudio.Services.Search.Shared.WebApi.Contracts.Wiki.WikiSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchWikiSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchWorkItemSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.WorkItem.WorkItemSearchRequest request, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchWorkItemSearchResultsAsync(request, userState, cancellationToken); + public System.Threading.Tasks.Task FetchWorkItemSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.WorkItem.WorkItemSearchRequest request, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchWorkItemSearchResultsAsync(request, project, userState, cancellationToken); + public System.Threading.Tasks.Task FetchWorkItemSearchResultsAsync(Microsoft.VisualStudio.Services.Search.WebApi.Contracts.WorkItem.WorkItemSearchRequest request, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.FetchWorkItemSearchResultsAsync(request, project, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs index 5f282702b..4c67d1ff8 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs @@ -1 +1,107 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.ServiceHooks.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IServiceHooksPublisherHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task GetPublisherAsync(string publisherId, object userState = null); + public System.Threading.Tasks.Task> GetPublishersAsync(object userState = null); + public System.Threading.Tasks.Task QueryPublishersAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.PublishersQuery query, object userState = null); + public System.Threading.Tasks.Task GetConsumerAsync(string consumerId, object userState = null); + public System.Threading.Tasks.Task> GetConsumersAsync(object userState = null); + public System.Threading.Tasks.Task> GetConsumerActionsAsync(string consumerId, object userState = null); + public System.Threading.Tasks.Task GetConsumerActionAsync(string consumerId, string consumerActionId, object userState = null); + public System.Threading.Tasks.Task> QuerySubscriptionsAsync(string publisherId = null, System.Collections.Generic.IEnumerable inputFilters = null, object userState = null); + public System.Threading.Tasks.Task QuerySubscriptionsAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.SubscriptionsQuery subscriptionsQuery, object userState = null); + public System.Threading.Tasks.Task GetSubscriptionAsync(System.Guid subscriptionId, object userState = null); + public System.Threading.Tasks.Task CreateSubscriptionAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription subscription, object userState = null); + public System.Threading.Tasks.Task UpdateSubscriptionAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription subscription, object userState = null); + public System.Threading.Tasks.Task DeleteSubscriptionAsync(System.Guid subscriptionId, object userState = null); + public System.Threading.Tasks.Task> GetNotifications(System.Guid subscriptionId, int? maxResults, Microsoft.VisualStudio.Services.ServiceHooks.WebApi.NotificationStatus? status, Microsoft.VisualStudio.Services.ServiceHooks.WebApi.NotificationResult? result, object userState = null); + public System.Threading.Tasks.Task GetNotification(System.Guid subscriptionId, int notificationId, object userState = null); + public System.Threading.Tasks.Task QueryNotificationsAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.NotificationsQuery query, object userState = null); + public System.Threading.Tasks.Task PostTestNotification(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Notification notification, object userState = null); + public System.Threading.Tasks.Task QueryInputValuesAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.SubscriptionInputValuesQuery query, object userState = null); + } + [Export(typeof(IServiceHooksPublisherHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IServiceHooksPublisherHttpClientImpl: IServiceHooksPublisherHttpClient + { + private Microsoft.VisualStudio.Services.ServiceHooks.WebApi.ServiceHooksPublisherHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IServiceHooksPublisherHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.ServiceHooks.WebApi.ServiceHooksPublisherHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.ServiceHooksPublisherHttpClient)) as Microsoft.VisualStudio.Services.ServiceHooks.WebApi.ServiceHooksPublisherHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task GetPublisherAsync(string publisherId, object userState = null) + => Client.GetPublisherAsync(publisherId, userState); + public System.Threading.Tasks.Task> GetPublishersAsync(object userState = null) + => Client.GetPublishersAsync(userState); + public System.Threading.Tasks.Task QueryPublishersAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.PublishersQuery query, object userState = null) + => Client.QueryPublishersAsync(query, userState); + public System.Threading.Tasks.Task GetConsumerAsync(string consumerId, object userState = null) + => Client.GetConsumerAsync(consumerId, userState); + public System.Threading.Tasks.Task> GetConsumersAsync(object userState = null) + => Client.GetConsumersAsync(userState); + public System.Threading.Tasks.Task> GetConsumerActionsAsync(string consumerId, object userState = null) + => Client.GetConsumerActionsAsync(consumerId, userState); + public System.Threading.Tasks.Task GetConsumerActionAsync(string consumerId, string consumerActionId, object userState = null) + => Client.GetConsumerActionAsync(consumerId, consumerActionId, userState); + public System.Threading.Tasks.Task> QuerySubscriptionsAsync(string publisherId = null, System.Collections.Generic.IEnumerable inputFilters = null, object userState = null) + => Client.QuerySubscriptionsAsync(publisherId, inputFilters, userState); + public System.Threading.Tasks.Task QuerySubscriptionsAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.SubscriptionsQuery subscriptionsQuery, object userState = null) + => Client.QuerySubscriptionsAsync(subscriptionsQuery, userState); + public System.Threading.Tasks.Task GetSubscriptionAsync(System.Guid subscriptionId, object userState = null) + => Client.GetSubscriptionAsync(subscriptionId, userState); + public System.Threading.Tasks.Task CreateSubscriptionAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription subscription, object userState = null) + => Client.CreateSubscriptionAsync(subscription, userState); + public System.Threading.Tasks.Task UpdateSubscriptionAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Subscription subscription, object userState = null) + => Client.UpdateSubscriptionAsync(subscription, userState); + public System.Threading.Tasks.Task DeleteSubscriptionAsync(System.Guid subscriptionId, object userState = null) + => Client.DeleteSubscriptionAsync(subscriptionId, userState); + public System.Threading.Tasks.Task> GetNotifications(System.Guid subscriptionId, int? maxResults, Microsoft.VisualStudio.Services.ServiceHooks.WebApi.NotificationStatus? status, Microsoft.VisualStudio.Services.ServiceHooks.WebApi.NotificationResult? result, object userState = null) + => Client.GetNotifications(subscriptionId, maxResults, status, result, userState); + public System.Threading.Tasks.Task GetNotification(System.Guid subscriptionId, int notificationId, object userState = null) + => Client.GetNotification(subscriptionId, notificationId, userState); + public System.Threading.Tasks.Task QueryNotificationsAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.NotificationsQuery query, object userState = null) + => Client.QueryNotificationsAsync(query, userState); + public System.Threading.Tasks.Task PostTestNotification(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Notification notification, object userState = null) + => Client.PostTestNotification(notification, userState); + public System.Threading.Tasks.Task QueryInputValuesAsync(Microsoft.VisualStudio.Services.ServiceHooks.WebApi.SubscriptionInputValuesQuery query, object userState = null) + => Client.QueryInputValuesAsync(query, userState); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs index 5f282702b..b66ad62ce 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs @@ -1 +1,71 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.ITaggingHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.Core.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface ITaggingHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task GetTagAsync(System.Guid scopeId, System.Guid tagId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTagAsync(System.Guid scopeId, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTagsAsync(System.Guid scopeId, bool includeInactive = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTagAsync(System.Guid scopeId, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTagAsync(System.Guid scopeId, System.Guid tagId, string name, bool? active, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTagAsync(System.Guid scopeId, System.Guid tagId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(ITaggingHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class ITaggingHttpClientImpl: ITaggingHttpClient + { + private Microsoft.TeamFoundation.Core.WebApi.TaggingHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public ITaggingHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Core.WebApi.TaggingHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Core.WebApi.TaggingHttpClient)) as Microsoft.TeamFoundation.Core.WebApi.TaggingHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task GetTagAsync(System.Guid scopeId, System.Guid tagId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagAsync(scopeId, tagId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTagAsync(System.Guid scopeId, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagAsync(scopeId, name, userState, cancellationToken); + public System.Threading.Tasks.Task GetTagsAsync(System.Guid scopeId, bool includeInactive = false, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(scopeId, includeInactive, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTagAsync(System.Guid scopeId, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTagAsync(scopeId, name, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTagAsync(System.Guid scopeId, System.Guid tagId, string name, bool? active, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTagAsync(scopeId, tagId, name, active, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTagAsync(System.Guid scopeId, System.Guid tagId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTagAsync(scopeId, tagId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs index 5f282702b..61db6fc70 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs @@ -1 +1,89 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using System.Runtime.Serialization; +namespace TfsCmdlets.HttpClients +{ + public partial interface ITeamAdminHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Collections.Generic.IEnumerable AddTeamAdmin(System.Guid projectId, System.Guid teamId, System.Collections.Generic.IEnumerable userIds); + public System.Collections.Generic.IEnumerable AddTeamAdmin(string project, System.Guid teamId, System.Collections.Generic.IEnumerable userIds); + public bool RemoveTeamAdmin(System.Guid project, System.Guid teamId, System.Guid userId); + public bool RemoveTeamAdmin(string project, System.Guid teamId, System.Guid userId); + public System.Uri GetUri(); + public T Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public System.Net.Http.HttpResponseMessage Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public TResult Post(string apiPath, T value, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public System.Net.Http.HttpResponseMessage Post(string apiPath, System.Net.Http.HttpContent content, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null); + public T PostForm(string formPath, System.Collections.Generic.Dictionary formData, bool sendVerificationToken = false, string tokenRequestPath = null, System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string responseMediaType = "text/html", object userState = null); + } + [Export(typeof(ITeamAdminHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class ITeamAdminHttpClientImpl: ITeamAdminHttpClient + { + private TfsCmdlets.HttpClients.TeamAdminHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public ITeamAdminHttpClientImpl(IDataManager data) + { + Data = data; + } + private TfsCmdlets.HttpClients.TeamAdminHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(TfsCmdlets.HttpClients.TeamAdminHttpClient)) as TfsCmdlets.HttpClients.TeamAdminHttpClient; + } + return _client; + } + } + public System.Collections.Generic.IEnumerable AddTeamAdmin(System.Guid projectId, System.Guid teamId, System.Collections.Generic.IEnumerable userIds) + => Client.AddTeamAdmin(projectId, teamId, userIds); + public System.Collections.Generic.IEnumerable AddTeamAdmin(string project, System.Guid teamId, System.Collections.Generic.IEnumerable userIds) + => Client.AddTeamAdmin(project, teamId, userIds); + public bool RemoveTeamAdmin(System.Guid project, System.Guid teamId, System.Guid userId) + => Client.RemoveTeamAdmin(project, teamId, userId); + public bool RemoveTeamAdmin(string project, System.Guid teamId, System.Guid userId) + => Client.RemoveTeamAdmin(project, teamId, userId); + public System.Uri GetUri() + => Client.GetUri(); + public T Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Get(apiPath, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public System.Net.Http.HttpResponseMessage Get(string apiPath, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Get(apiPath, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public TResult Post(string apiPath, T value, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Post(apiPath, value, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public System.Net.Http.HttpResponseMessage Post(string apiPath, System.Net.Http.HttpContent content, string apiVersion = "1.0", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string mediaType = "application/json", object userState = null) + => Client.Post(apiPath, content, apiVersion, additionalHeaders, queryParameters, mediaType, userState); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null) + => Client.InvokeAsync(method, apiPath, content, requestMediaType, responseMediaType, additionalHeaders, queryParameters, apiVersion, userState); + public System.Threading.Tasks.Task InvokeAsync(System.Net.Http.HttpMethod method, string apiPath, string content = null, string requestMediaType = "application/json", string responseMediaType = "application/json", System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string apiVersion = "1.0", object userState = null) + => Client.InvokeAsync(method, apiPath, content, requestMediaType, responseMediaType, additionalHeaders, queryParameters, apiVersion, userState); + public T PostForm(string formPath, System.Collections.Generic.Dictionary formData, bool sendVerificationToken = false, string tokenRequestPath = null, System.Collections.Generic.IDictionary additionalHeaders = null, System.Collections.Generic.IDictionary queryParameters = null, string responseMediaType = "text/html", object userState = null) + => Client.PostForm(formPath, formData, sendVerificationToken, tokenRequestPath, additionalHeaders, queryParameters, responseMediaType, userState); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs index 50dc85d00..4518ce7a3 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs @@ -1,9 +1,12 @@ //HintName: TfsCmdlets.HttpClients.ITeamHttpClient.g.cs +#pragma warning disable CS8669 using System.Composition; +using Microsoft.TeamFoundation.Core.WebApi; namespace TfsCmdlets.HttpClients { - public partial interface ITeamHttpClient: IVssHttpClient + public partial interface ITeamHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient { + public System.Threading.Tasks.Task GetProjectTeamsByCategoryAsync(string projectId, bool? expandIdentity = default(bool?), int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetTeamMembersWithExtendedPropertiesAsync(string projectId, string teamId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetAllTeamsAsync(bool? mine = default(bool?), int? top = default(int?), int? skip = default(int?), bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task CreateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam team, string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -11,8 +14,6 @@ public partial interface ITeamHttpClient: IVssHttpClient public System.Threading.Tasks.Task GetTeamAsync(string projectId, string teamId, bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetTeamsAsync(string projectId, bool? mine = default(bool?), int? top = default(int?), int? skip = default(int?), bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task UpdateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam teamData, string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); - public void Dispose(); } [Export(typeof(ITeamHttpClient))] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] @@ -36,6 +37,8 @@ private Microsoft.TeamFoundation.Core.WebApi.TeamHttpClient Client return _client; } } + public System.Threading.Tasks.Task GetProjectTeamsByCategoryAsync(string projectId, bool? expandIdentity = default(bool?), int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProjectTeamsByCategoryAsync(projectId, expandIdentity, top, skip, userState, cancellationToken); public System.Threading.Tasks.Task> GetTeamMembersWithExtendedPropertiesAsync(string projectId, string teamId, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.GetTeamMembersWithExtendedPropertiesAsync(projectId, teamId, top, skip, userState, cancellationToken); public System.Threading.Tasks.Task> GetAllTeamsAsync(bool? mine = default(bool?), int? top = default(int?), int? skip = default(int?), bool? expandIdentity = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -50,9 +53,25 @@ private Microsoft.TeamFoundation.Core.WebApi.TeamHttpClient Client => Client.GetTeamsAsync(projectId, mine, top, skip, expandIdentity, userState, cancellationToken); public System.Threading.Tasks.Task UpdateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam teamData, string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.UpdateTeamAsync(teamData, projectId, teamId, userState, cancellationToken); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) - => Client.SetResourceLocations(resourceLocations); - public void Dispose() - => Client.Dispose(); - } + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } } \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs index 5f282702b..a3380b3f0 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs @@ -1 +1,368 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.ITestPlanHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface ITestPlanHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task> GetTestConfigurationsWithContinuationTokenAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestConfigurationsWithContinuationTokenAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestPlansWithContinuationTokenAsync(string project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestPlansWithContinuationTokenAsync(System.Guid project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestSuitesForPlanWithContinuationTokenAsync(string project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestSuitesForPlanWithContinuationTokenAsync(System.Guid project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestCaseListWithContinuationTokenAsync(string project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestCaseListWithContinuationTokenAsync(System.Guid project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPointsListWithContinuationTokenAsync(string project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, object userState = null, bool? includePointDetails = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPointsListWithContinuationTokenAsync(System.Guid project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, object userState = null, bool? includePointDetails = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestVariablesWithContinuationTokenAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestVariablesWithContinuationTokenAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestConfgurationAsync(string project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestConfgurationAsync(System.Guid project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestConfigurationByIdAsync(string project, int testConfigurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestConfigurationByIdAsync(System.Guid project, int testConfigurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestConfigurationsAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestConfigurationsAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, string project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, System.Guid project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestEntityCountByPlanIdAsync(string project, int planId, string states = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome? outcome = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome?), string configurations = null, string testers = null, string assignedTo = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes? entity = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestEntityCountByPlanIdAsync(System.Guid project, int planId, string states = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome? outcome = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome?), string configurations = null, string testers = null, string assignedTo = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes? entity = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanCreateParams testPlanCreateParams, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanCreateParams testPlanCreateParams, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestPlanAsync(string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestPlanAsync(System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestPlanByIdAsync(string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestPlanByIdAsync(System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestPlansAsync(string project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestPlansAsync(System.Guid project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams testPlanUpdateParams, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams testPlanUpdateParams, System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuiteEntriesAsync(string project, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes? suiteEntryType = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuiteEntriesAsync(System.Guid project, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes? suiteEntryType = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ReorderSuiteEntriesAsync(System.Collections.Generic.IEnumerable suiteEntries, string project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ReorderSuiteEntriesAsync(System.Collections.Generic.IEnumerable suiteEntries, System.Guid project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreateBulkTestSuitesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams[] testSuiteCreateParams, string project, int planId, int parentSuiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> CreateBulkTestSuitesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams[] testSuiteCreateParams, System.Guid project, int planId, int parentSuiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams testSuiteCreateParams, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams testSuiteCreateParams, System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestSuiteAsync(string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestSuiteAsync(System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestSuiteByIdAsync(string project, int planId, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestSuiteByIdAsync(System.Guid project, int planId, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestSuitesForPlanAsync(string project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestSuitesForPlanAsync(System.Guid project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteUpdateParams testSuiteUpdateParams, string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteUpdateParams testSuiteUpdateParams, System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetSuitesByTestCaseIdAsync(int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddTestCasesToSuiteAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> AddTestCasesToSuiteAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestCaseAsync(string project, int planId, int suiteId, string testCaseId, string witFields = null, bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestCaseAsync(System.Guid project, int planId, int suiteId, string testCaseId, string witFields = null, bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestCaseListAsync(string project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? expand = default(bool?), Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags? excludeFlags = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestCaseListAsync(System.Guid project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? expand = default(bool?), Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags? excludeFlags = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveTestCasesFromSuiteAsync(string project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveTestCasesFromSuiteAsync(System.Guid project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveTestCasesListFromSuiteAsync(string project, int planId, int suiteId, string testIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RemoveTestCasesListFromSuiteAsync(System.Guid project, int planId, int suiteId, string testIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateSuiteTestCasesAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateSuiteTestCasesAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CloneTestCaseAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestCaseParams cloneRequestBody, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CloneTestCaseAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestCaseParams cloneRequestBody, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestCaseCloneInformationAsync(string project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestCaseCloneInformationAsync(System.Guid project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ExportTestCasesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExportTestCaseParams exportTestCaseRequestBody, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ExportTestCasesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExportTestCaseParams exportTestCaseRequestBody, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestCaseAsync(string project, int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestCaseAsync(System.Guid project, int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedTestPlansAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedTestPlansAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDeletedTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel restoreModel, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDeletedTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel restoreModel, System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CloneTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestPlanParams cloneRequestBody, string project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CloneTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestPlanParams cloneRequestBody, System.Guid project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCloneInformationAsync(string project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCloneInformationAsync(System.Guid project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPointsAsync(string project, int planId, int suiteId, string pointId, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPointsAsync(System.Guid project, int planId, int suiteId, string pointId, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPointsListAsync(string project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPointsListAsync(System.Guid project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateTestPointsAsync(System.Collections.Generic.IEnumerable testPointUpdateParams, string project, int planId, int suiteId, bool? includePointDetails = default(bool?), bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateTestPointsAsync(System.Collections.Generic.IEnumerable testPointUpdateParams, System.Guid project, int planId, int suiteId, bool? includePointDetails = default(bool?), bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForPlanAsync(string project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForPlanAsync(System.Guid project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForProjectAsync(string project, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForProjectAsync(System.Guid project, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDeletedTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel payload, string project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreDeletedTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel payload, System.Guid project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CloneTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestSuiteParams cloneRequestBody, string project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CloneTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestSuiteParams cloneRequestBody, System.Guid project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetSuiteCloneInformationAsync(string project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetSuiteCloneInformationAsync(System.Guid project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestVariableAsync(string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTestVariableAsync(System.Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestVariableByIdAsync(string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTestVariableByIdAsync(System.Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestVariablesAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTestVariablesAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, System.Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(ITestPlanHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class ITestPlanHttpClientImpl: ITestPlanHttpClient + { + private Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public ITestPlanHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanHttpClient)) as Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task> GetTestConfigurationsWithContinuationTokenAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestConfigurationsWithContinuationTokenAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestConfigurationsWithContinuationTokenAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestConfigurationsWithContinuationTokenAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestPlansWithContinuationTokenAsync(string project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestPlansWithContinuationTokenAsync(project, owner, continuationToken, includePlanDetails, filterActivePlans, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestPlansWithContinuationTokenAsync(System.Guid project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestPlansWithContinuationTokenAsync(project, owner, continuationToken, includePlanDetails, filterActivePlans, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestSuitesForPlanWithContinuationTokenAsync(string project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestSuitesForPlanWithContinuationTokenAsync(project, planId, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestSuitesForPlanWithContinuationTokenAsync(System.Guid project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestSuitesForPlanWithContinuationTokenAsync(project, planId, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestCaseListWithContinuationTokenAsync(string project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseListWithContinuationTokenAsync(project, planId, suiteId, testIds, configurationIds, witFields, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestCaseListWithContinuationTokenAsync(System.Guid project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseListWithContinuationTokenAsync(project, planId, suiteId, testIds, configurationIds, witFields, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPointsListWithContinuationTokenAsync(string project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, object userState = null, bool? includePointDetails = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPointsListWithContinuationTokenAsync(project, planId, suiteId, testPointIds, testCaseId, continuationToken, userState, includePointDetails, cancellationToken); + public System.Threading.Tasks.Task> GetPointsListWithContinuationTokenAsync(System.Guid project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, object userState = null, bool? includePointDetails = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPointsListWithContinuationTokenAsync(project, planId, suiteId, testPointIds, testCaseId, continuationToken, userState, includePointDetails, cancellationToken); + public System.Threading.Tasks.Task> GetTestVariablesWithContinuationTokenAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestVariablesWithContinuationTokenAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestVariablesWithContinuationTokenAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestVariablesWithContinuationTokenAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestConfigurationAsync(testConfigurationCreateUpdateParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestConfigurationAsync(testConfigurationCreateUpdateParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestConfgurationAsync(string project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestConfgurationAsync(project, testConfiguartionId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestConfgurationAsync(System.Guid project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestConfgurationAsync(project, testConfiguartionId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestConfigurationByIdAsync(string project, int testConfigurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestConfigurationByIdAsync(project, testConfigurationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestConfigurationByIdAsync(System.Guid project, int testConfigurationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestConfigurationByIdAsync(project, testConfigurationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestConfigurationsAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestConfigurationsAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestConfigurationsAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestConfigurationsAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, string project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestConfigurationAsync(testConfigurationCreateUpdateParameters, project, testConfiguartionId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestConfigurationAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, System.Guid project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestConfigurationAsync(testConfigurationCreateUpdateParameters, project, testConfiguartionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestEntityCountByPlanIdAsync(string project, int planId, string states = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome? outcome = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome?), string configurations = null, string testers = null, string assignedTo = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes? entity = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestEntityCountByPlanIdAsync(project, planId, states, outcome, configurations, testers, assignedTo, entity, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestEntityCountByPlanIdAsync(System.Guid project, int planId, string states = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome? outcome = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.UserFriendlyTestOutcome?), string configurations = null, string testers = null, string assignedTo = null, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes? entity = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestEntityTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestEntityCountByPlanIdAsync(project, planId, states, outcome, configurations, testers, assignedTo, entity, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanCreateParams testPlanCreateParams, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestPlanAsync(testPlanCreateParams, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanCreateParams testPlanCreateParams, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestPlanAsync(testPlanCreateParams, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestPlanAsync(string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestPlanAsync(project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestPlanAsync(System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestPlanAsync(project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestPlanByIdAsync(string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestPlanByIdAsync(project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestPlanByIdAsync(System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestPlanByIdAsync(project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestPlansAsync(string project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestPlansAsync(project, owner, continuationToken, includePlanDetails, filterActivePlans, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestPlansAsync(System.Guid project, string owner = null, string continuationToken = null, bool? includePlanDetails = default(bool?), bool? filterActivePlans = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestPlansAsync(project, owner, continuationToken, includePlanDetails, filterActivePlans, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams testPlanUpdateParams, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestPlanAsync(testPlanUpdateParams, project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams testPlanUpdateParams, System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestPlanAsync(testPlanUpdateParams, project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuiteEntriesAsync(string project, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes? suiteEntryType = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuiteEntriesAsync(project, suiteId, suiteEntryType, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuiteEntriesAsync(System.Guid project, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes? suiteEntryType = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteEntryTypes?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuiteEntriesAsync(project, suiteId, suiteEntryType, userState, cancellationToken); + public System.Threading.Tasks.Task> ReorderSuiteEntriesAsync(System.Collections.Generic.IEnumerable suiteEntries, string project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReorderSuiteEntriesAsync(suiteEntries, project, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task> ReorderSuiteEntriesAsync(System.Collections.Generic.IEnumerable suiteEntries, System.Guid project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReorderSuiteEntriesAsync(suiteEntries, project, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreateBulkTestSuitesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams[] testSuiteCreateParams, string project, int planId, int parentSuiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateBulkTestSuitesAsync(testSuiteCreateParams, project, planId, parentSuiteId, userState, cancellationToken); + public System.Threading.Tasks.Task> CreateBulkTestSuitesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams[] testSuiteCreateParams, System.Guid project, int planId, int parentSuiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateBulkTestSuitesAsync(testSuiteCreateParams, project, planId, parentSuiteId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams testSuiteCreateParams, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestSuiteAsync(testSuiteCreateParams, project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteCreateParams testSuiteCreateParams, System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestSuiteAsync(testSuiteCreateParams, project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestSuiteAsync(string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestSuiteAsync(project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestSuiteAsync(System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestSuiteAsync(project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestSuiteByIdAsync(string project, int planId, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestSuiteByIdAsync(project, planId, suiteId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestSuiteByIdAsync(System.Guid project, int planId, int suiteId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestSuiteByIdAsync(project, planId, suiteId, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestSuitesForPlanAsync(string project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestSuitesForPlanAsync(project, planId, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestSuitesForPlanAsync(System.Guid project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestSuitesForPlanAsync(project, planId, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteUpdateParams testSuiteUpdateParams, string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestSuiteAsync(testSuiteUpdateParams, project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestSuiteUpdateParams testSuiteUpdateParams, System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestSuiteAsync(testSuiteUpdateParams, project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetSuitesByTestCaseIdAsync(int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuitesByTestCaseIdAsync(testCaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddTestCasesToSuiteAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddTestCasesToSuiteAsync(suiteTestCaseCreateUpdateParameters, project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task> AddTestCasesToSuiteAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddTestCasesToSuiteAsync(suiteTestCaseCreateUpdateParameters, project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestCaseAsync(string project, int planId, int suiteId, string testCaseId, string witFields = null, bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseAsync(project, planId, suiteId, testCaseId, witFields, returnIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestCaseAsync(System.Guid project, int planId, int suiteId, string testCaseId, string witFields = null, bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseAsync(project, planId, suiteId, testCaseId, witFields, returnIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestCaseListAsync(string project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? expand = default(bool?), Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags? excludeFlags = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseListAsync(project, planId, suiteId, testIds, configurationIds, witFields, continuationToken, returnIdentityRef, expand, excludeFlags, isRecursive, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestCaseListAsync(System.Guid project, int planId, int suiteId, string testIds = null, string configurationIds = null, string witFields = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? expand = default(bool?), Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags? excludeFlags = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExcludeFlags?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseListAsync(project, planId, suiteId, testIds, configurationIds, witFields, continuationToken, returnIdentityRef, expand, excludeFlags, isRecursive, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveTestCasesFromSuiteAsync(string project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveTestCasesFromSuiteAsync(project, planId, suiteId, testCaseIds, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveTestCasesFromSuiteAsync(System.Guid project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveTestCasesFromSuiteAsync(project, planId, suiteId, testCaseIds, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveTestCasesListFromSuiteAsync(string project, int planId, int suiteId, string testIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveTestCasesListFromSuiteAsync(project, planId, suiteId, testIds, userState, cancellationToken); + public System.Threading.Tasks.Task RemoveTestCasesListFromSuiteAsync(System.Guid project, int planId, int suiteId, string testIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RemoveTestCasesListFromSuiteAsync(project, planId, suiteId, testIds, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateSuiteTestCasesAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateSuiteTestCasesAsync(suiteTestCaseCreateUpdateParameters, project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateSuiteTestCasesAsync(System.Collections.Generic.IEnumerable suiteTestCaseCreateUpdateParameters, System.Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateSuiteTestCasesAsync(suiteTestCaseCreateUpdateParameters, project, planId, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task CloneTestCaseAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestCaseParams cloneRequestBody, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CloneTestCaseAsync(cloneRequestBody, project, userState, cancellationToken); + public System.Threading.Tasks.Task CloneTestCaseAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestCaseParams cloneRequestBody, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CloneTestCaseAsync(cloneRequestBody, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestCaseCloneInformationAsync(string project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseCloneInformationAsync(project, cloneOperationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestCaseCloneInformationAsync(System.Guid project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestCaseCloneInformationAsync(project, cloneOperationId, userState, cancellationToken); + public System.Threading.Tasks.Task ExportTestCasesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExportTestCaseParams exportTestCaseRequestBody, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ExportTestCasesAsync(exportTestCaseRequestBody, project, userState, cancellationToken); + public System.Threading.Tasks.Task ExportTestCasesAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.ExportTestCaseParams exportTestCaseRequestBody, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ExportTestCasesAsync(exportTestCaseRequestBody, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestCaseAsync(string project, int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestCaseAsync(project, testCaseId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestCaseAsync(System.Guid project, int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestCaseAsync(project, testCaseId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedTestPlansAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedTestPlansAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedTestPlansAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedTestPlansAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDeletedTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel restoreModel, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDeletedTestPlanAsync(restoreModel, project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDeletedTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel restoreModel, System.Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDeletedTestPlanAsync(restoreModel, project, planId, userState, cancellationToken); + public System.Threading.Tasks.Task CloneTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestPlanParams cloneRequestBody, string project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CloneTestPlanAsync(cloneRequestBody, project, deepClone, userState, cancellationToken); + public System.Threading.Tasks.Task CloneTestPlanAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestPlanParams cloneRequestBody, System.Guid project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CloneTestPlanAsync(cloneRequestBody, project, deepClone, userState, cancellationToken); + public System.Threading.Tasks.Task GetCloneInformationAsync(string project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCloneInformationAsync(project, cloneOperationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCloneInformationAsync(System.Guid project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCloneInformationAsync(project, cloneOperationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPointsAsync(string project, int planId, int suiteId, string pointId, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPointsAsync(project, planId, suiteId, pointId, returnIdentityRef, includePointDetails, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPointsAsync(System.Guid project, int planId, int suiteId, string pointId, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPointsAsync(project, planId, suiteId, pointId, returnIdentityRef, includePointDetails, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPointsListAsync(string project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPointsListAsync(project, planId, suiteId, testPointIds, testCaseId, continuationToken, returnIdentityRef, includePointDetails, isRecursive, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPointsListAsync(System.Guid project, int planId, int suiteId, string testPointIds = null, string testCaseId = null, string continuationToken = null, bool? returnIdentityRef = default(bool?), bool? includePointDetails = default(bool?), bool? isRecursive = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPointsListAsync(project, planId, suiteId, testPointIds, testCaseId, continuationToken, returnIdentityRef, includePointDetails, isRecursive, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateTestPointsAsync(System.Collections.Generic.IEnumerable testPointUpdateParams, string project, int planId, int suiteId, bool? includePointDetails = default(bool?), bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestPointsAsync(testPointUpdateParams, project, planId, suiteId, includePointDetails, returnIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateTestPointsAsync(System.Collections.Generic.IEnumerable testPointUpdateParams, System.Guid project, int planId, int suiteId, bool? includePointDetails = default(bool?), bool? returnIdentityRef = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestPointsAsync(testPointUpdateParams, project, planId, suiteId, includePointDetails, returnIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForPlanAsync(string project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedTestSuitesForPlanAsync(project, planId, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForPlanAsync(System.Guid project, int planId, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedTestSuitesForPlanAsync(project, planId, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForProjectAsync(string project, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedTestSuitesForProjectAsync(project, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedTestSuitesForProjectAsync(System.Guid project, Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand? expand = default(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.SuiteExpand?), string continuationToken = null, bool? asTreeView = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedTestSuitesForProjectAsync(project, expand, continuationToken, asTreeView, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDeletedTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel payload, string project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDeletedTestSuiteAsync(payload, project, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreDeletedTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanAndSuiteRestoreModel payload, System.Guid project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreDeletedTestSuiteAsync(payload, project, suiteId, userState, cancellationToken); + public System.Threading.Tasks.Task CloneTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestSuiteParams cloneRequestBody, string project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CloneTestSuiteAsync(cloneRequestBody, project, deepClone, userState, cancellationToken); + public System.Threading.Tasks.Task CloneTestSuiteAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.CloneTestSuiteParams cloneRequestBody, System.Guid project, bool? deepClone = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CloneTestSuiteAsync(cloneRequestBody, project, deepClone, userState, cancellationToken); + public System.Threading.Tasks.Task GetSuiteCloneInformationAsync(string project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuiteCloneInformationAsync(project, cloneOperationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetSuiteCloneInformationAsync(System.Guid project, int cloneOperationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetSuiteCloneInformationAsync(project, cloneOperationId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestVariableAsync(testVariableCreateUpdateParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTestVariableAsync(testVariableCreateUpdateParameters, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestVariableAsync(string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestVariableAsync(project, testVariableId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTestVariableAsync(System.Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTestVariableAsync(project, testVariableId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestVariableByIdAsync(string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestVariableByIdAsync(project, testVariableId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTestVariableByIdAsync(System.Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestVariableByIdAsync(project, testVariableId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestVariablesAsync(string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestVariablesAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTestVariablesAsync(System.Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTestVariablesAsync(project, continuationToken, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestVariableAsync(testVariableCreateUpdateParameters, project, testVariableId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTestVariableAsync(Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestVariableCreateUpdateParameters testVariableCreateUpdateParameters, System.Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTestVariableAsync(testVariableCreateUpdateParameters, project, testVariableId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs index 5f282702b..19dcbf48c 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs @@ -1 +1,443 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IWikiHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.Wiki.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IWikiHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, System.Guid wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, System.Guid wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, string project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, string project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, string wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, System.Guid wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, string wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentReactionAsync(string project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentReactionAsync(string project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentReactionAsync(System.Guid project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentReactionAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(string project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(string project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(System.Guid project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(string project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(string project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(System.Guid project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, string project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, string project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, System.Guid project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, System.Guid project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(string project, string wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(string project, System.Guid wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, string wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListCommentsAsync(string project, string wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListCommentsAsync(string project, System.Guid wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListCommentsAsync(System.Guid project, string wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ListCommentsAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, string project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, string project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, System.Guid project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, System.Guid project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, string project, string wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, string project, System.Guid wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, System.Guid project, string wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, System.Guid project, System.Guid wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, string wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, System.Guid wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, string wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, System.Guid wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageAsync(string project, string wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageAsync(string project, System.Guid wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageAsync(System.Guid project, string wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageAsync(System.Guid project, System.Guid wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageAsync(string project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageAsync(string project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageAsync(System.Guid project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageAsync(System.Guid project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageTextAsync(string project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageTextAsync(string project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageTextAsync(System.Guid project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageTextAsync(System.Guid project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageZipAsync(string project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageZipAsync(string project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageZipAsync(System.Guid project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageZipAsync(System.Guid project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageByIdAsync(string project, string wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageByIdAsync(string project, System.Guid wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageByIdAsync(System.Guid project, string wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePageByIdAsync(System.Guid project, System.Guid wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdAsync(string project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdAsync(string project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdAsync(System.Guid project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdAsync(System.Guid project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdTextAsync(string project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdTextAsync(string project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdTextAsync(System.Guid project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdTextAsync(System.Guid project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdZipAsync(string project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdZipAsync(string project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdZipAsync(System.Guid project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageByIdZipAsync(System.Guid project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, string wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, System.Guid wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, string wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, System.Guid wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, string project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, string project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, System.Guid project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, System.Guid project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageDataAsync(string project, string wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageDataAsync(string project, System.Guid wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageDataAsync(System.Guid project, string wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPageDataAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(string project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(string project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(System.Guid project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(System.Guid project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParametersV2 wikiCreateParams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParametersV2 wikiCreateParams, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParametersV2 wikiCreateParams, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWikiAsync(string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWikiAsync(System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWikiAsync(string project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWikiAsync(string project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWikiAsync(System.Guid project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWikiAsync(System.Guid project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAllWikisAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAllWikisAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetAllWikisAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWikiAsync(string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWikiAsync(System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWikiAsync(string project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWikiAsync(string project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWikiAsync(System.Guid project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWikiAsync(System.Guid project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, string project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, string project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, System.Guid project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, System.Guid project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParameters wikiCreateParams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParameters wikiCreateParams, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParameters wikiCreateParams, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWikisAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWikisAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWikisAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IWikiHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IWikiHttpClientImpl: IWikiHttpClient + { + private Microsoft.TeamFoundation.Wiki.WebApi.WikiHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IWikiHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Wiki.WebApi.WikiHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Wiki.WebApi.WikiHttpClient)) as Microsoft.TeamFoundation.Wiki.WebApi.WikiHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, wikiIdentifier, name, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, System.Guid wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, wikiIdentifier, name, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, wikiIdentifier, name, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, System.Guid wikiIdentifier, string name, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, wikiIdentifier, name, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, string project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAttachmentAsync(uploadStream, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, string project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAttachmentAsync(uploadStream, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAttachmentAsync(uploadStream, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentAttachmentAsync(uploadStream, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, string wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, wikiIdentifier, pageId, attachmentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, System.Guid wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, wikiIdentifier, pageId, attachmentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, string wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, wikiIdentifier, pageId, attachmentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, System.Guid attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, wikiIdentifier, pageId, attachmentId, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentReactionAsync(string project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentReactionAsync(string project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentReactionAsync(System.Guid project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentReactionAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(string project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(string project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(System.Guid project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentReactionAsync(project, wikiIdentifier, pageId, commentId, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(string project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEngagedUsersAsync(project, wikiIdentifier, pageId, commentId, type, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(string project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEngagedUsersAsync(project, wikiIdentifier, pageId, commentId, type, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(System.Guid project, string wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEngagedUsersAsync(project, wikiIdentifier, pageId, commentId, type, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int commentId, Microsoft.Azure.DevOps.Comments.WebApi.CommentReactionType type, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEngagedUsersAsync(project, wikiIdentifier, pageId, commentId, type, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, string project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentAsync(request, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, string project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentAsync(request, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, System.Guid project, string wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentAsync(request, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentCreateParameters request, System.Guid project, System.Guid wikiIdentifier, int pageId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentAsync(request, project, wikiIdentifier, pageId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(string project, string wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, wikiIdentifier, pageId, id, excludeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(string project, System.Guid wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, wikiIdentifier, pageId, id, excludeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, string wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, wikiIdentifier, pageId, id, excludeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int id, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, wikiIdentifier, pageId, id, excludeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ListCommentsAsync(string project, string wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListCommentsAsync(project, wikiIdentifier, pageId, top, continuationToken, excludeDeleted, expand, order, parentId, userState, cancellationToken); + public System.Threading.Tasks.Task ListCommentsAsync(string project, System.Guid wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListCommentsAsync(project, wikiIdentifier, pageId, top, continuationToken, excludeDeleted, expand, order, parentId, userState, cancellationToken); + public System.Threading.Tasks.Task ListCommentsAsync(System.Guid project, string wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListCommentsAsync(project, wikiIdentifier, pageId, top, continuationToken, excludeDeleted, expand, order, parentId, userState, cancellationToken); + public System.Threading.Tasks.Task ListCommentsAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int? top = default(int?), string continuationToken = null, bool? excludeDeleted = default(bool?), Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions? expand = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentExpandOptions?), Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder? order = default(Microsoft.Azure.DevOps.Comments.WebApi.CommentSortOrder?), int? parentId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ListCommentsAsync(project, wikiIdentifier, pageId, top, continuationToken, excludeDeleted, expand, order, parentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, string project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, string project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, System.Guid project, string wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.Azure.DevOps.Comments.WebApi.CommentUpdateParameters comment, System.Guid project, System.Guid wikiIdentifier, int pageId, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(comment, project, wikiIdentifier, pageId, id, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, string project, string wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePageMoveAsync(pageMoveParameters, project, wikiIdentifier, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, string project, System.Guid wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePageMoveAsync(pageMoveParameters, project, wikiIdentifier, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, System.Guid project, string wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePageMoveAsync(pageMoveParameters, project, wikiIdentifier, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePageMoveAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageMoveParameters pageMoveParameters, System.Guid project, System.Guid wikiIdentifier, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePageMoveAsync(pageMoveParameters, project, wikiIdentifier, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, string wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageAsync(parameters, project, wikiIdentifier, path, Version, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, System.Guid wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageAsync(parameters, project, wikiIdentifier, path, Version, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, string wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageAsync(parameters, project, wikiIdentifier, path, Version, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, System.Guid wikiIdentifier, string path, string Version, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageAsync(parameters, project, wikiIdentifier, path, Version, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageAsync(string project, string wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageAsync(project, wikiIdentifier, path, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageAsync(string project, System.Guid wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageAsync(project, wikiIdentifier, path, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageAsync(System.Guid project, string wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageAsync(project, wikiIdentifier, path, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageAsync(System.Guid project, System.Guid wikiIdentifier, string path, string comment = null, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageAsync(project, wikiIdentifier, path, comment, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageAsync(string project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageAsync(string project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageAsync(System.Guid project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageAsync(System.Guid project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageTextAsync(string project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageTextAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageTextAsync(string project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageTextAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageTextAsync(System.Guid project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageTextAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageTextAsync(System.Guid project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageTextAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageZipAsync(string project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageZipAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageZipAsync(string project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageZipAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageZipAsync(System.Guid project, string wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageZipAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageZipAsync(System.Guid project, System.Guid wikiIdentifier, string path = null, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageZipAsync(project, wikiIdentifier, path, recursionLevel, versionDescriptor, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageByIdAsync(string project, string wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageByIdAsync(project, wikiIdentifier, id, comment, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageByIdAsync(string project, System.Guid wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageByIdAsync(project, wikiIdentifier, id, comment, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageByIdAsync(System.Guid project, string wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageByIdAsync(project, wikiIdentifier, id, comment, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePageByIdAsync(System.Guid project, System.Guid wikiIdentifier, int id, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePageByIdAsync(project, wikiIdentifier, id, comment, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdAsync(string project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdAsync(string project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdAsync(System.Guid project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdAsync(System.Guid project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdTextAsync(string project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdTextAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdTextAsync(string project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdTextAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdTextAsync(System.Guid project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdTextAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdTextAsync(System.Guid project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdTextAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdZipAsync(string project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdZipAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdZipAsync(string project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdZipAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdZipAsync(System.Guid project, string wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdZipAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageByIdZipAsync(System.Guid project, System.Guid wikiIdentifier, int id, Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType? recursionLevel = default(Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType?), bool? includeContent = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageByIdZipAsync(project, wikiIdentifier, id, recursionLevel, includeContent, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, string wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePageByIdAsync(parameters, project, wikiIdentifier, id, Version, comment, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, string project, System.Guid wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePageByIdAsync(parameters, project, wikiIdentifier, id, Version, comment, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, string wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePageByIdAsync(parameters, project, wikiIdentifier, id, Version, comment, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePageByIdAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiPageCreateOrUpdateParameters parameters, System.Guid project, System.Guid wikiIdentifier, int id, string Version, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePageByIdAsync(parameters, project, wikiIdentifier, id, Version, comment, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, string project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPagesBatchAsync(pagesBatchRequest, project, wikiIdentifier, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, string project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPagesBatchAsync(pagesBatchRequest, project, wikiIdentifier, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, System.Guid project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPagesBatchAsync(pagesBatchRequest, project, wikiIdentifier, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPagesBatchAsync(Microsoft.TeamFoundation.Wiki.WebApi.Contracts.WikiPagesBatchRequest pagesBatchRequest, System.Guid project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPagesBatchAsync(pagesBatchRequest, project, wikiIdentifier, versionDescriptor, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageDataAsync(string project, string wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageDataAsync(project, wikiIdentifier, pageId, pageViewsForDays, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageDataAsync(string project, System.Guid wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageDataAsync(project, wikiIdentifier, pageId, pageViewsForDays, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageDataAsync(System.Guid project, string wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageDataAsync(project, wikiIdentifier, pageId, pageViewsForDays, userState, cancellationToken); + public System.Threading.Tasks.Task GetPageDataAsync(System.Guid project, System.Guid wikiIdentifier, int pageId, int? pageViewsForDays = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPageDataAsync(project, wikiIdentifier, pageId, pageViewsForDays, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(string project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageViewStatsAsync(project, wikiIdentifier, wikiVersion, path, oldPath, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(string project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageViewStatsAsync(project, wikiIdentifier, wikiVersion, path, oldPath, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(System.Guid project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageViewStatsAsync(project, wikiIdentifier, wikiVersion, path, oldPath, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdatePageViewStatsAsync(System.Guid project, System.Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdatePageViewStatsAsync(project, wikiIdentifier, wikiVersion, path, oldPath, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParametersV2 wikiCreateParams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWikiAsync(wikiCreateParams, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParametersV2 wikiCreateParams, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWikiAsync(wikiCreateParams, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParametersV2 wikiCreateParams, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWikiAsync(wikiCreateParams, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWikiAsync(string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWikiAsync(wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWikiAsync(System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWikiAsync(wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWikiAsync(string project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWikiAsync(string project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWikiAsync(System.Guid project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWikiAsync(System.Guid project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAllWikisAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAllWikisAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetAllWikisAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAllWikisAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetAllWikisAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAllWikisAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetWikiAsync(string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikiAsync(wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task GetWikiAsync(System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikiAsync(wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task GetWikiAsync(string project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task GetWikiAsync(string project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task GetWikiAsync(System.Guid project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task GetWikiAsync(System.Guid project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikiAsync(project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWikiAsync(updateParameters, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWikiAsync(updateParameters, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, string project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWikiAsync(updateParameters, project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, string project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWikiAsync(updateParameters, project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, System.Guid project, string wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWikiAsync(updateParameters, project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiUpdateParameters updateParameters, System.Guid project, System.Guid wikiIdentifier, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWikiAsync(updateParameters, project, wikiIdentifier, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParameters wikiCreateParams, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWikiAsync(wikiCreateParams, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParameters wikiCreateParams, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWikiAsync(wikiCreateParams, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWikiAsync(Microsoft.TeamFoundation.Wiki.WebApi.WikiCreateParameters wikiCreateParams, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWikiAsync(wikiCreateParams, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWikisAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikisAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetWikisAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikisAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWikisAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWikisAsync(project, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs index 5f282702b..09d9e7045 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs @@ -1 +1,296 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IWorkHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.Work.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IWorkHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Threading.Tasks.Task UpdateAutomationRuleAsync(Microsoft.TeamFoundation.Work.WebApi.Contracts.AutomationRules.TeamAutomationRulesSettingsRequestModel ruleRequestModel, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBacklogConfigurationsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBacklogLevelWorkItemsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string backlogId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBacklogAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBacklogsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardBadgeAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions? columnOptions = default(Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions?), System.Collections.Generic.IEnumerable columns = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardBadgeDataAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions? columnOptions = default(Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions?), System.Collections.Generic.IEnumerable columns = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetColumnSuggestedValuesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetColumnSuggestedValuesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetColumnSuggestedValuesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBoardMappingParentItemsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string childBacklogContextCategoryRefName, System.Collections.Generic.IEnumerable workitemIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRowSuggestedValuesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRowSuggestedValuesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRowSuggestedValuesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBoardsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> SetBoardOptionsAsync(System.Collections.Generic.IDictionary options, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardUserSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBoardUserSettingsAsync(System.Collections.Generic.IDictionary boardUserSettings, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCapacitiesWithIdentityRefAndTotalsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCapacityWithIdentityRefAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ReplaceCapacitiesWithIdentityRefAsync(System.Collections.Generic.IEnumerable capacities, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCapacityWithIdentityRefAsync(Microsoft.TeamFoundation.Work.WebApi.CapacityPatch patch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardCardRuleSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBoardCardRuleSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardRuleSettings boardCardRuleSettings, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTaskboardCardRuleSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardRuleSettings boardCardRuleSettings, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardCardSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBoardCardSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardSettings boardCardSettingsToSave, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTaskboardCardSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardSettings boardCardSettingsToSave, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardChartImageAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, string name, int? width = default(int?), int? height = default(int?), bool? showDetails = default(bool?), string title = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIterationChartImageAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, string name, int? width = default(int?), int? height = default(int?), bool? showDetails = default(bool?), string title = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIterationsChartImageAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string name, int? iterationsNumber = default(int?), int? width = default(int?), int? height = default(int?), bool? showDetails = default(bool?), string title = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetBoardChartAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBoardChartsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateBoardChartAsync(Microsoft.TeamFoundation.Work.WebApi.BoardChart chart, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBoardColumnsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateBoardColumnsAsync(System.Collections.Generic.IEnumerable boardColumns, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDeliveryTimelineDataAsync(string project, string id, int? revision = default(int?), System.DateTime? startDate = default(System.DateTime?), System.DateTime? endDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDeliveryTimelineDataAsync(System.Guid project, string id, int? revision = default(int?), System.DateTime? startDate = default(System.DateTime?), System.DateTime? endDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTotalIterationCapacitiesAsync(string project, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTotalIterationCapacitiesAsync(System.Guid project, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTeamIterationAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTeamIterationAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTeamIterationsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string timeframe = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task PostTeamIterationAsync(Microsoft.TeamFoundation.Work.WebApi.TeamSettingsIteration iteration, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.CreatePlan postedPlan, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.CreatePlan postedPlan, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePlanAsync(string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeletePlanAsync(System.Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPlanAsync(string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPlanAsync(System.Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPlansAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPlansAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.UpdatePlan updatedPlan, string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.UpdatePlan updatedPlan, System.Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPredefinedQueriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetPredefinedQueriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPredefinedQueryResultsAsync(string project, string id, int? top = default(int?), bool? includeCompleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetPredefinedQueryResultsAsync(System.Guid project, string id, int? top = default(int?), bool? includeCompleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetProcessConfigurationAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetProcessConfigurationAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetBoardRowsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateBoardRowsAsync(System.Collections.Generic.IEnumerable boardRows, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetColumnsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateColumnsAsync(System.Collections.Generic.IEnumerable updateColumns, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemColumnsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemColumnAsync(Microsoft.TeamFoundation.Work.WebApi.Contracts.Taskboard.UpdateTaskboardWorkItemColumn updateColumn, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, int workItemId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTeamDaysOffAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTeamDaysOffAsync(Microsoft.TeamFoundation.Work.WebApi.TeamSettingsDaysOffPatch daysOffPatch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTeamFieldValuesAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTeamFieldValuesAsync(Microsoft.TeamFoundation.Work.WebApi.TeamFieldValuesPatch patch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTeamSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTeamSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.TeamSettingsPatch teamSettingsPatch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetIterationWorkItemsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ReorderBacklogWorkItemsAsync(Microsoft.TeamFoundation.Work.WebApi.ReorderOperation operation, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ReorderIterationWorkItemsAsync(Microsoft.TeamFoundation.Work.WebApi.ReorderOperation operation, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCapacitiesAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCapacityAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ReplaceCapacitiesAsync(System.Collections.Generic.IEnumerable capacities, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCapacityAsync(Microsoft.TeamFoundation.Work.WebApi.CapacityPatch patch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCapacitiesWithIdentityRefAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IWorkHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IWorkHttpClientImpl: IWorkHttpClient + { + private Microsoft.TeamFoundation.Work.WebApi.WorkHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IWorkHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.Work.WebApi.WorkHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.Work.WebApi.WorkHttpClient)) as Microsoft.TeamFoundation.Work.WebApi.WorkHttpClient; + } + return _client; + } + } + public System.Threading.Tasks.Task UpdateAutomationRuleAsync(Microsoft.TeamFoundation.Work.WebApi.Contracts.AutomationRules.TeamAutomationRulesSettingsRequestModel ruleRequestModel, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateAutomationRuleAsync(ruleRequestModel, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task GetBacklogConfigurationsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBacklogConfigurationsAsync(teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task GetBacklogLevelWorkItemsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string backlogId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBacklogLevelWorkItemsAsync(teamContext, backlogId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBacklogAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBacklogAsync(teamContext, id, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBacklogsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBacklogsAsync(teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardBadgeAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions? columnOptions = default(Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions?), System.Collections.Generic.IEnumerable columns = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardBadgeAsync(teamContext, id, columnOptions, columns, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardBadgeDataAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions? columnOptions = default(Microsoft.TeamFoundation.Work.WebApi.Contracts.BoardBadgeColumnOptions?), System.Collections.Generic.IEnumerable columns = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardBadgeDataAsync(teamContext, id, columnOptions, columns, userState, cancellationToken); + public System.Threading.Tasks.Task> GetColumnSuggestedValuesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetColumnSuggestedValuesAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetColumnSuggestedValuesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetColumnSuggestedValuesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetColumnSuggestedValuesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetColumnSuggestedValuesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBoardMappingParentItemsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string childBacklogContextCategoryRefName, System.Collections.Generic.IEnumerable workitemIds, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardMappingParentItemsAsync(teamContext, childBacklogContextCategoryRefName, workitemIds, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRowSuggestedValuesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRowSuggestedValuesAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetRowSuggestedValuesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRowSuggestedValuesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRowSuggestedValuesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRowSuggestedValuesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardAsync(teamContext, id, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBoardsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardsAsync(teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task> SetBoardOptionsAsync(System.Collections.Generic.IDictionary options, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SetBoardOptionsAsync(options, teamContext, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardUserSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardUserSettingsAsync(teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBoardUserSettingsAsync(System.Collections.Generic.IDictionary boardUserSettings, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBoardUserSettingsAsync(boardUserSettings, teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task GetCapacitiesWithIdentityRefAndTotalsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapacitiesWithIdentityRefAndTotalsAsync(teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCapacityWithIdentityRefAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapacityWithIdentityRefAsync(teamContext, iterationId, teamMemberId, userState, cancellationToken); + public System.Threading.Tasks.Task> ReplaceCapacitiesWithIdentityRefAsync(System.Collections.Generic.IEnumerable capacities, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReplaceCapacitiesWithIdentityRefAsync(capacities, teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCapacityWithIdentityRefAsync(Microsoft.TeamFoundation.Work.WebApi.CapacityPatch patch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCapacityWithIdentityRefAsync(patch, teamContext, iterationId, teamMemberId, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardCardRuleSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardCardRuleSettingsAsync(teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBoardCardRuleSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardRuleSettings boardCardRuleSettings, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBoardCardRuleSettingsAsync(boardCardRuleSettings, teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTaskboardCardRuleSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardRuleSettings boardCardRuleSettings, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTaskboardCardRuleSettingsAsync(boardCardRuleSettings, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardCardSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardCardSettingsAsync(teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBoardCardSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardSettings boardCardSettingsToSave, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBoardCardSettingsAsync(boardCardSettingsToSave, teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTaskboardCardSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.BoardCardSettings boardCardSettingsToSave, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTaskboardCardSettingsAsync(boardCardSettingsToSave, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardChartImageAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, string name, int? width = default(int?), int? height = default(int?), bool? showDetails = default(bool?), string title = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardChartImageAsync(teamContext, board, name, width, height, showDetails, title, userState, cancellationToken); + public System.Threading.Tasks.Task GetIterationChartImageAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, string name, int? width = default(int?), int? height = default(int?), bool? showDetails = default(bool?), string title = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIterationChartImageAsync(teamContext, iterationId, name, width, height, showDetails, title, userState, cancellationToken); + public System.Threading.Tasks.Task GetIterationsChartImageAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string name, int? iterationsNumber = default(int?), int? width = default(int?), int? height = default(int?), bool? showDetails = default(bool?), string title = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIterationsChartImageAsync(teamContext, name, iterationsNumber, width, height, showDetails, title, userState, cancellationToken); + public System.Threading.Tasks.Task GetBoardChartAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardChartAsync(teamContext, board, name, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBoardChartsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardChartsAsync(teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateBoardChartAsync(Microsoft.TeamFoundation.Work.WebApi.BoardChart chart, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBoardChartAsync(chart, teamContext, board, name, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBoardColumnsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardColumnsAsync(teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateBoardColumnsAsync(System.Collections.Generic.IEnumerable boardColumns, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBoardColumnsAsync(boardColumns, teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task GetDeliveryTimelineDataAsync(string project, string id, int? revision = default(int?), System.DateTime? startDate = default(System.DateTime?), System.DateTime? endDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeliveryTimelineDataAsync(project, id, revision, startDate, endDate, userState, cancellationToken); + public System.Threading.Tasks.Task GetDeliveryTimelineDataAsync(System.Guid project, string id, int? revision = default(int?), System.DateTime? startDate = default(System.DateTime?), System.DateTime? endDate = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeliveryTimelineDataAsync(project, id, revision, startDate, endDate, userState, cancellationToken); + public System.Threading.Tasks.Task GetTotalIterationCapacitiesAsync(string project, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTotalIterationCapacitiesAsync(project, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTotalIterationCapacitiesAsync(System.Guid project, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTotalIterationCapacitiesAsync(project, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTeamIterationAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTeamIterationAsync(teamContext, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetTeamIterationAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamIterationAsync(teamContext, id, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTeamIterationsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string timeframe = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamIterationsAsync(teamContext, timeframe, userState, cancellationToken); + public System.Threading.Tasks.Task PostTeamIterationAsync(Microsoft.TeamFoundation.Work.WebApi.TeamSettingsIteration iteration, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.PostTeamIterationAsync(iteration, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.CreatePlan postedPlan, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePlanAsync(postedPlan, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.CreatePlan postedPlan, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreatePlanAsync(postedPlan, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePlanAsync(string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePlanAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task DeletePlanAsync(System.Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeletePlanAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetPlanAsync(string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPlanAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetPlanAsync(System.Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPlanAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPlansAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPlansAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPlansAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPlansAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.UpdatePlan updatedPlan, string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePlanAsync(updatedPlan, project, id, userState, cancellationToken); + public System.Threading.Tasks.Task UpdatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.UpdatePlan updatedPlan, System.Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdatePlanAsync(updatedPlan, project, id, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPredefinedQueriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPredefinedQueriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetPredefinedQueriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPredefinedQueriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetPredefinedQueryResultsAsync(string project, string id, int? top = default(int?), bool? includeCompleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPredefinedQueryResultsAsync(project, id, top, includeCompleted, userState, cancellationToken); + public System.Threading.Tasks.Task GetPredefinedQueryResultsAsync(System.Guid project, string id, int? top = default(int?), bool? includeCompleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetPredefinedQueryResultsAsync(project, id, top, includeCompleted, userState, cancellationToken); + public System.Threading.Tasks.Task GetProcessConfigurationAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessConfigurationAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetProcessConfigurationAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetProcessConfigurationAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetBoardRowsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetBoardRowsAsync(teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateBoardRowsAsync(System.Collections.Generic.IEnumerable boardRows, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string board, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateBoardRowsAsync(boardRows, teamContext, board, userState, cancellationToken); + public System.Threading.Tasks.Task GetColumnsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetColumnsAsync(teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateColumnsAsync(System.Collections.Generic.IEnumerable updateColumns, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateColumnsAsync(updateColumns, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemColumnsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemColumnsAsync(teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemColumnAsync(Microsoft.TeamFoundation.Work.WebApi.Contracts.Taskboard.UpdateTaskboardWorkItemColumn updateColumn, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, int workItemId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemColumnAsync(updateColumn, teamContext, iterationId, workItemId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTeamDaysOffAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamDaysOffAsync(teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTeamDaysOffAsync(Microsoft.TeamFoundation.Work.WebApi.TeamSettingsDaysOffPatch daysOffPatch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTeamDaysOffAsync(daysOffPatch, teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTeamFieldValuesAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamFieldValuesAsync(teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTeamFieldValuesAsync(Microsoft.TeamFoundation.Work.WebApi.TeamFieldValuesPatch patch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTeamFieldValuesAsync(patch, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task GetTeamSettingsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTeamSettingsAsync(teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTeamSettingsAsync(Microsoft.TeamFoundation.Work.WebApi.TeamSettingsPatch teamSettingsPatch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTeamSettingsAsync(teamSettingsPatch, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task GetIterationWorkItemsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetIterationWorkItemsAsync(teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> ReorderBacklogWorkItemsAsync(Microsoft.TeamFoundation.Work.WebApi.ReorderOperation operation, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReorderBacklogWorkItemsAsync(operation, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task> ReorderIterationWorkItemsAsync(Microsoft.TeamFoundation.Work.WebApi.ReorderOperation operation, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReorderIterationWorkItemsAsync(operation, teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCapacitiesAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapacitiesAsync(teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCapacityAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapacityAsync(teamContext, iterationId, teamMemberId, userState, cancellationToken); + public System.Threading.Tasks.Task> ReplaceCapacitiesAsync(System.Collections.Generic.IEnumerable capacities, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReplaceCapacitiesAsync(capacities, teamContext, iterationId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCapacityAsync(Microsoft.TeamFoundation.Work.WebApi.CapacityPatch patch, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, System.Guid teamMemberId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCapacityAsync(patch, teamContext, iterationId, teamMemberId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCapacitiesWithIdentityRefAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCapacitiesWithIdentityRefAsync(teamContext, iterationId, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs index 5f282702b..998d17822 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs @@ -1 +1,875 @@ - \ No newline at end of file +//HintName: TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.cs +#pragma warning disable CS8669 +using System.Composition; +using Microsoft.TeamFoundation.WorkItemTracking.WebApi; +namespace TfsCmdlets.HttpClients +{ + public partial interface IWorkItemTrackingHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient + { + public System.Net.HttpStatusCode? LastResponseStatusCode { get; } + public System.Threading.Tasks.Task CreateAttachmentAsync(string fileName, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetQueriesBatchAsync(System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> ExecuteBatchRequest(System.Collections.Generic.IEnumerable requests, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WitBatchRequest CreateWorkItemBatchRequest(int id, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, bool bypassRules, bool suppressNotifications); + public Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WitBatchRequest CreateWorkItemBatchRequest(System.Guid projectId, string type, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, bool bypassRules, bool suppressNotifications); + public Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WitBatchRequest CreateWorkItemBatchRequest(string project, string type, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, bool bypassRules, bool suppressNotifications); + public System.Threading.Tasks.Task GetAccountMyWorkDataAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryOption? queryOption = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryOption?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecentActivityDataAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRecentMentionsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkArtifactLinkTypesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryWorkItemsForArtifactUrisAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery artifactUriQuery, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryWorkItemsForArtifactUrisAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery artifactUriQuery, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryWorkItemsForArtifactUrisAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery artifactUriQuery, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string fileName = null, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string fileName = null, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string fileName = null, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string project, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid project, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetClassificationNodesAsync(string project, System.Collections.Generic.IEnumerable ids, int? depth = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetClassificationNodesAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, int? depth = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRootNodesAsync(string project, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRootNodesAsync(System.Guid project, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateOrUpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteClassificationNodeAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? reclassifyId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteClassificationNodeAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? reclassifyId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetClassificationNodeAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetClassificationNodeAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, string project, int workItemId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, System.Guid project, int workItemId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, string project, int workItemId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task AddWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, System.Guid project, int workItemId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(string project, int workItemId, int commentId, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, int workItemId, int commentId, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentsAsync(string project, int workItemId, int? top = default(int?), string continuationToken = null, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentsAsync(System.Guid project, int workItemId, int? top = default(int?), string continuationToken = null, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentsBatchAsync(string project, int workItemId, System.Collections.Generic.IEnumerable ids, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentsBatchAsync(System.Guid project, int workItemId, System.Collections.Generic.IEnumerable ids, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentReactionAsync(string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateCommentReactionAsync(System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentReactionsAsync(string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentReactionsAsync(System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentVersionAsync(string project, int workItemId, int commentId, int version, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentVersionAsync(System.Guid project, int workItemId, int commentId, int version, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentVersionsAsync(string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetCommentVersionsAsync(System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField2 workItemField, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField2 workItemField, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField2 workItemField, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemFieldAsync(string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemFieldAsync(string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemFieldAsync(System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemFieldAsync(string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemFieldAsync(string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemFieldAsync(System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemFieldsAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemFieldsAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemFieldsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.FieldUpdate payload, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.FieldUpdate payload, string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.FieldUpdate payload, System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetGithubConnectionRepositoriesAsync(string project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetGithubConnectionRepositoriesAsync(System.Guid project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateGithubConnectionReposAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GitHubConnectionReposBatchRequest reposOperationData, string project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateGithubConnectionReposAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GitHubConnectionReposBatchRequest reposOperationData, System.Guid project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetGithubConnectionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetGithubConnectionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task MigrateProjectsProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ProcessIdModel newProcess, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task MigrateProjectsProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ProcessIdModel newProcess, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem postedQuery, string project, string query, bool? validateWiqlOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem postedQuery, System.Guid project, string query, bool? validateWiqlOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteQueryAsync(string project, string query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteQueryAsync(System.Guid project, string query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetQueriesAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetQueriesAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryAsync(string project, string query, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), bool? useIsoDateFormat = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryAsync(System.Guid project, string query, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), bool? useIsoDateFormat = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchQueriesAsync(string project, string filter, int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SearchQueriesAsync(System.Guid project, string filter, int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem queryUpdate, string project, string query, bool? undeleteDescendants = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem queryUpdate, System.Guid project, string query, bool? undeleteDescendants = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetQueriesBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest queryGetRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetQueriesBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest queryGetRequest, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DestroyWorkItemAsync(int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DestroyWorkItemAsync(string project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DestroyWorkItemAsync(System.Guid project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDeletedWorkItemAsync(int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDeletedWorkItemAsync(string project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetDeletedWorkItemAsync(System.Guid project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedWorkItemsAsync(string project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedWorkItemsAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedWorkItemsAsync(System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedWorkItemShallowReferencesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedWorkItemShallowReferencesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetDeletedWorkItemShallowReferencesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreWorkItemAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteUpdate payload, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreWorkItemAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteUpdate payload, string project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task RestoreWorkItemAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteUpdate payload, System.Guid project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevisionAsync(string project, int id, int revisionNumber, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevisionAsync(System.Guid project, int id, int revisionNumber, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRevisionAsync(int id, int revisionNumber, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevisionsAsync(string project, int id, int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevisionsAsync(System.Guid project, int id, int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRevisionsAsync(int id, int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SendMailAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.SendMailBody body, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SendMailAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.SendMailBody body, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task SendMailAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.SendMailBody body, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTagAsync(string project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTagAsync(System.Guid project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTagAsync(string project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTagAsync(System.Guid project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTagAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTagDefinition tagData, string project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateTagAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTagDefinition tagData, System.Guid project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTemplateAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTemplate template, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetTemplatesAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string workitemtypename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteTemplateAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetTemplateAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReplaceTemplateAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTemplate templateContent, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTempQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TemporaryQueryRequestModel postedQuery, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateTempQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TemporaryQueryRequestModel postedQuery, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetUpdateAsync(int id, int updateNumber, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetUpdateAsync(string project, int id, int updateNumber, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetUpdateAsync(System.Guid project, int id, int updateNumber, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetUpdatesAsync(string project, int id, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetUpdatesAsync(System.Guid project, int id, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetUpdatesAsync(int id, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, string project, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, System.Guid project, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(string project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(string project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemFieldAllowedValuesAsync(string project, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemFieldAllowedValuesAsync(System.Guid project, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemIconJsonAsync(string icon, string color = null, int? v = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemIconsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemIconSvgAsync(string icon, string color = null, int? v = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemIconXamlAsync(string icon, string color = null, int? v = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReportingLinksByLinkTypeAsync(string project, System.Collections.Generic.IEnumerable linkTypes = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReportingLinksByLinkTypeAsync(System.Guid project, System.Collections.Generic.IEnumerable linkTypes = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetReportingLinksByLinkTypeAsync(System.Collections.Generic.IEnumerable linkTypes = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetRelationTypeAsync(string relation, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetRelationTypesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, string project, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, System.Guid project, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingDiscussionsAsync(string project, string continuationToken = null, int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingDiscussionsAsync(System.Guid project, string continuationToken = null, int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingDiscussionsAsync(string continuationToken = null, int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, string type, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, string type, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTemplateAsync(string project, string type, string fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTemplateAsync(System.Guid project, string type, string fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemAsync(string project, int id, bool? destroy = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemAsync(System.Guid project, int id, bool? destroy = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemAsync(int id, bool? destroy = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemAsync(string project, int id, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemAsync(System.Guid project, int id, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemAsync(int id, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsAsync(string project, System.Collections.Generic.IEnumerable ids, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsAsync(System.Collections.Generic.IEnumerable ids, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, int id, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int id, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int id, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemsBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteBatchRequest deleteRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteBatchRequest deleteRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteWorkItemsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteBatchRequest deleteRequest, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemStateColorsAsync(string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemNextStatesOnCheckinActionAsync(System.Collections.Generic.IEnumerable ids, string action = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeCategoriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeCategoriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeCategoryAsync(string project, string category, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeCategoryAsync(System.Guid project, string category, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>>> GetWorkItemTypeColorsAsync(string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task>>> GetWorkItemTypeColorAndIconsAsync(string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeAsync(string project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeAsync(System.Guid project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsWithReferencesAsync(string project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsWithReferencesAsync(System.Guid project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeFieldWithReferencesAsync(string project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeFieldWithReferencesAsync(System.Guid project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeStatesAsync(string project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeStatesAsync(System.Guid project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ExportWorkItemTypeDefinitionAsync(string project, string type = null, bool? exportGlobalLists = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ExportWorkItemTypeDefinitionAsync(System.Guid project, string type = null, bool? exportGlobalLists = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ExportWorkItemTypeDefinitionAsync(string type = null, bool? exportGlobalLists = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemTypeDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplateUpdateModel updateModel, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemTypeDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplateUpdateModel updateModel, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemTypeDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplateUpdateModel updateModel, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(string project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid id, string fileName, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid id, string fileName, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsAsync(string project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsAsync(System.Guid project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, bool includeDeleted, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, bool includeDeleted, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(bool includeDeleted, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, string continuationToken, System.DateTime? startDateTime, bool? includeIdentityRef, bool? includeDeleted, bool? includeTagRef, bool? includeLatestOnly, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, string continuationToken, System.DateTime? startDateTime, bool? includeIdentityRef, bool? includeDeleted, bool? includeTagRef, bool? includeLatestOnly, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, string continuationToken, System.DateTime? startDateTime, bool? includeIdentityRef, bool? includeDeleted, bool? includeTagRef, bool? includeLatestOnly, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand, object userState, System.Threading.CancellationToken cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, int? watermark, System.DateTime? startDateTime, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, string project, int? watermark, System.DateTime? startDateTime, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, System.Guid project, int? watermark, System.DateTime? startDateTime, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, string type, bool? validateOnly, bool? bypassRules, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, string type, bool? validateOnly, bool? bypassRules, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, string type, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, string type, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, int id, bool? validateOnly, bool? bypassRules, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, int id, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int id, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int id, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task> UpdateRemoteLinksAsync(System.Collections.Generic.IEnumerable links, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task CleanupRemoteLinksFromProjectDelete(System.Collections.Generic.IEnumerable remoteProjectIds, System.Guid remoteHostId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(string project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(string project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(int id, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(string project, int id, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, int id, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentsAsync(string project, int id, int? fromRevision = default(int?), int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentsAsync(System.Guid project, int id, int? fromRevision = default(int?), int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task GetCommentsAsync(int id, int? fromRevision = default(int?), int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFieldAsync(string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFieldAsync(string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public System.Threading.Tasks.Task DeleteFieldAsync(System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + [Export(typeof(IWorkItemTrackingHttpClient))] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + internal class IWorkItemTrackingHttpClientImpl: IWorkItemTrackingHttpClient + { + private Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient _client; + protected IDataManager Data { get; } + [ImportingConstructor] + public IWorkItemTrackingHttpClientImpl(IDataManager data) + { + Data = data; + } + private Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient Client + { + get + { + if(_client == null) + { + _client = (Data.GetCollection() as TfsCmdlets.Services.ITfsServiceProvider)?.GetClient(typeof(Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient)) as Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient; + } + return _client; + } + } + public System.Net.HttpStatusCode? LastResponseStatusCode { + get => Client.LastResponseStatusCode; } + public System.Threading.Tasks.Task CreateAttachmentAsync(string fileName, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(fileName, uploadType, areaPath, userState, cancellationToken); + public System.Threading.Tasks.Task> GetQueriesBatchAsync(System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueriesBatchAsync(ids, userState, cancellationToken); + public System.Threading.Tasks.Task> ExecuteBatchRequest(System.Collections.Generic.IEnumerable requests, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ExecuteBatchRequest(requests, userState, cancellationToken); + public Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WitBatchRequest CreateWorkItemBatchRequest(int id, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, bool bypassRules, bool suppressNotifications) + => Client.CreateWorkItemBatchRequest(id, document, bypassRules, suppressNotifications); + public Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WitBatchRequest CreateWorkItemBatchRequest(System.Guid projectId, string type, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, bool bypassRules, bool suppressNotifications) + => Client.CreateWorkItemBatchRequest(projectId, type, document, bypassRules, suppressNotifications); + public Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WitBatchRequest CreateWorkItemBatchRequest(string project, string type, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, bool bypassRules, bool suppressNotifications) + => Client.CreateWorkItemBatchRequest(project, type, document, bypassRules, suppressNotifications); + public System.Threading.Tasks.Task GetAccountMyWorkDataAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryOption? queryOption = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryOption?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAccountMyWorkDataAsync(queryOption, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecentActivityDataAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecentActivityDataAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetRecentMentionsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRecentMentionsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkArtifactLinkTypesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkArtifactLinkTypesAsync(userState, cancellationToken); + public System.Threading.Tasks.Task QueryWorkItemsForArtifactUrisAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery artifactUriQuery, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryWorkItemsForArtifactUrisAsync(artifactUriQuery, userState, cancellationToken); + public System.Threading.Tasks.Task QueryWorkItemsForArtifactUrisAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery artifactUriQuery, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryWorkItemsForArtifactUrisAsync(artifactUriQuery, project, userState, cancellationToken); + public System.Threading.Tasks.Task QueryWorkItemsForArtifactUrisAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery artifactUriQuery, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryWorkItemsForArtifactUrisAsync(artifactUriQuery, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string project, string fileName = null, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, fileName, uploadType, areaPath, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, System.Guid project, string fileName = null, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, project, fileName, uploadType, areaPath, userState, cancellationToken); + public System.Threading.Tasks.Task CreateAttachmentAsync(System.IO.Stream uploadStream, string fileName = null, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateAttachmentAsync(uploadStream, fileName, uploadType, areaPath, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(id, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(string project, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteAttachmentAsync(System.Guid project, System.Guid id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteAttachmentAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(string project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, id, fileName, download, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(project, id, fileName, download, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentContentAsync(id, fileName, download, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(string project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(project, id, fileName, download, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid project, System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(project, id, fileName, download, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid id, string fileName = null, bool? download = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetAttachmentZipAsync(id, fileName, download, userState, cancellationToken); + public System.Threading.Tasks.Task> GetClassificationNodesAsync(string project, System.Collections.Generic.IEnumerable ids, int? depth = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetClassificationNodesAsync(project, ids, depth, errorPolicy, userState, cancellationToken); + public System.Threading.Tasks.Task> GetClassificationNodesAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, int? depth = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.ClassificationNodesErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetClassificationNodesAsync(project, ids, depth, errorPolicy, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRootNodesAsync(string project, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRootNodesAsync(project, depth, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRootNodesAsync(System.Guid project, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRootNodesAsync(project, depth, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdateClassificationNodeAsync(postedNode, project, structureGroup, path, userState, cancellationToken); + public System.Threading.Tasks.Task CreateOrUpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateOrUpdateClassificationNodeAsync(postedNode, project, structureGroup, path, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteClassificationNodeAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? reclassifyId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteClassificationNodeAsync(project, structureGroup, path, reclassifyId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteClassificationNodeAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? reclassifyId = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteClassificationNodeAsync(project, structureGroup, path, reclassifyId, userState, cancellationToken); + public System.Threading.Tasks.Task GetClassificationNodeAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetClassificationNodeAsync(project, structureGroup, path, depth, userState, cancellationToken); + public System.Threading.Tasks.Task GetClassificationNodeAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, int? depth = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetClassificationNodeAsync(project, structureGroup, path, depth, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateClassificationNodeAsync(postedNode, project, structureGroup, path, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateClassificationNodeAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode postedNode, System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateClassificationNodeAsync(postedNode, project, structureGroup, path, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEngagedUsersAsync(project, workItemId, commentId, reactionType, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetEngagedUsersAsync(System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetEngagedUsersAsync(project, workItemId, commentId, reactionType, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, string project, int workItemId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentAsync(request, project, workItemId, userState, cancellationToken); + public System.Threading.Tasks.Task AddCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, System.Guid project, int workItemId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddCommentAsync(request, project, workItemId, userState, cancellationToken); + public System.Threading.Tasks.Task AddWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, string project, int workItemId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddWorkItemCommentAsync(request, project, workItemId, format, userState, cancellationToken); + public System.Threading.Tasks.Task AddWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentCreate request, System.Guid project, int workItemId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.AddWorkItemCommentAsync(request, project, workItemId, format, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentAsync(System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentAsync(project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(string project, int workItemId, int commentId, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, workItemId, commentId, includeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, int workItemId, int commentId, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, workItemId, commentId, includeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentsAsync(string project, int workItemId, int? top = default(int?), string continuationToken = null, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, workItemId, top, continuationToken, includeDeleted, expand, order, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentsAsync(System.Guid project, int workItemId, int? top = default(int?), string continuationToken = null, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, workItemId, top, continuationToken, includeDeleted, expand, order, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentsBatchAsync(string project, int workItemId, System.Collections.Generic.IEnumerable ids, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsBatchAsync(project, workItemId, ids, includeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentsBatchAsync(System.Guid project, int workItemId, System.Collections.Generic.IEnumerable ids, bool? includeDeleted = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentExpandOptions?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsBatchAsync(project, workItemId, ids, includeDeleted, expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(request, project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateCommentAsync(request, project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemCommentAsync(request, project, workItemId, commentId, format, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemCommentAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentUpdate request, System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentFormat format, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemCommentAsync(request, project, workItemId, commentId, format, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentReactionAsync(string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentReactionAsync(project, workItemId, commentId, reactionType, userState, cancellationToken); + public System.Threading.Tasks.Task CreateCommentReactionAsync(System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateCommentReactionAsync(project, workItemId, commentId, reactionType, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(string project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentReactionAsync(project, workItemId, commentId, reactionType, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteCommentReactionAsync(System.Guid project, int workItemId, int commentId, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentReactionType reactionType, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteCommentReactionAsync(project, workItemId, commentId, reactionType, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentReactionsAsync(string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentReactionsAsync(project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentReactionsAsync(System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentReactionsAsync(project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentVersionAsync(string project, int workItemId, int commentId, int version, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentVersionAsync(project, workItemId, commentId, version, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentVersionAsync(System.Guid project, int workItemId, int commentId, int version, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentVersionAsync(project, workItemId, commentId, version, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentVersionsAsync(string project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentVersionsAsync(project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetCommentVersionsAsync(System.Guid project, int workItemId, int commentId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentVersionsAsync(project, workItemId, commentId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField2 workItemField, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemFieldAsync(workItemField, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField2 workItemField, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemFieldAsync(workItemField, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField2 workItemField, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemFieldAsync(workItemField, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemFieldAsync(string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemFieldAsync(fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemFieldAsync(string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemFieldAsync(project, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemFieldAsync(System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemFieldAsync(project, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemFieldAsync(string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldAsync(fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemFieldAsync(string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldAsync(project, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemFieldAsync(System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldAsync(project, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemFieldsAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldsAsync(project, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemFieldsAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldsAsync(project, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemFieldsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GetFieldsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldsAsync(expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.FieldUpdate payload, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemFieldAsync(payload, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.FieldUpdate payload, string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemFieldAsync(payload, project, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemFieldAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Metadata.FieldUpdate payload, System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemFieldAsync(payload, project, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetGithubConnectionRepositoriesAsync(string project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGithubConnectionRepositoriesAsync(project, connectionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetGithubConnectionRepositoriesAsync(System.Guid project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGithubConnectionRepositoriesAsync(project, connectionId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateGithubConnectionReposAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GitHubConnectionReposBatchRequest reposOperationData, string project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGithubConnectionReposAsync(reposOperationData, project, connectionId, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateGithubConnectionReposAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.GitHubConnectionReposBatchRequest reposOperationData, System.Guid project, System.Guid connectionId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateGithubConnectionReposAsync(reposOperationData, project, connectionId, userState, cancellationToken); + public System.Threading.Tasks.Task> GetGithubConnectionsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGithubConnectionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetGithubConnectionsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetGithubConnectionsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task MigrateProjectsProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ProcessIdModel newProcess, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.MigrateProjectsProcessAsync(newProcess, project, userState, cancellationToken); + public System.Threading.Tasks.Task MigrateProjectsProcessAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ProcessIdModel newProcess, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.MigrateProjectsProcessAsync(newProcess, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem postedQuery, string project, string query, bool? validateWiqlOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateQueryAsync(postedQuery, project, query, validateWiqlOnly, userState, cancellationToken); + public System.Threading.Tasks.Task CreateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem postedQuery, System.Guid project, string query, bool? validateWiqlOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateQueryAsync(postedQuery, project, query, validateWiqlOnly, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteQueryAsync(string project, string query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteQueryAsync(project, query, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteQueryAsync(System.Guid project, string query, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteQueryAsync(project, query, userState, cancellationToken); + public System.Threading.Tasks.Task> GetQueriesAsync(string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueriesAsync(project, expand, depth, includeDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task> GetQueriesAsync(System.Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueriesAsync(project, expand, depth, includeDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryAsync(string project, string query, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), bool? useIsoDateFormat = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryAsync(project, query, expand, depth, includeDeleted, useIsoDateFormat, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryAsync(System.Guid project, string query, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), int? depth = default(int?), bool? includeDeleted = default(bool?), bool? useIsoDateFormat = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryAsync(project, query, expand, depth, includeDeleted, useIsoDateFormat, userState, cancellationToken); + public System.Threading.Tasks.Task SearchQueriesAsync(string project, string filter, int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchQueriesAsync(project, filter, top, expand, includeDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task SearchQueriesAsync(System.Guid project, string filter, int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand?), bool? includeDeleted = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SearchQueriesAsync(project, filter, top, expand, includeDeleted, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem queryUpdate, string project, string query, bool? undeleteDescendants = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateQueryAsync(queryUpdate, project, query, undeleteDescendants, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem queryUpdate, System.Guid project, string query, bool? undeleteDescendants = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateQueryAsync(queryUpdate, project, query, undeleteDescendants, userState, cancellationToken); + public System.Threading.Tasks.Task> GetQueriesBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest queryGetRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueriesBatchAsync(queryGetRequest, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetQueriesBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest queryGetRequest, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueriesBatchAsync(queryGetRequest, project, userState, cancellationToken); + public System.Threading.Tasks.Task DestroyWorkItemAsync(int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DestroyWorkItemAsync(id, userState, cancellationToken); + public System.Threading.Tasks.Task DestroyWorkItemAsync(string project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DestroyWorkItemAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task DestroyWorkItemAsync(System.Guid project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DestroyWorkItemAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetDeletedWorkItemAsync(int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemAsync(id, userState, cancellationToken); + public System.Threading.Tasks.Task GetDeletedWorkItemAsync(string project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetDeletedWorkItemAsync(System.Guid project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemAsync(project, id, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedWorkItemsAsync(string project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemsAsync(project, ids, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedWorkItemsAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemsAsync(project, ids, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedWorkItemsAsync(System.Collections.Generic.IEnumerable ids, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemsAsync(ids, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedWorkItemShallowReferencesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemShallowReferencesAsync(userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedWorkItemShallowReferencesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemShallowReferencesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetDeletedWorkItemShallowReferencesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetDeletedWorkItemShallowReferencesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreWorkItemAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteUpdate payload, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreWorkItemAsync(payload, id, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreWorkItemAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteUpdate payload, string project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreWorkItemAsync(payload, project, id, userState, cancellationToken); + public System.Threading.Tasks.Task RestoreWorkItemAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteUpdate payload, System.Guid project, int id, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.RestoreWorkItemAsync(payload, project, id, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevisionAsync(string project, int id, int revisionNumber, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevisionAsync(project, id, revisionNumber, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevisionAsync(System.Guid project, int id, int revisionNumber, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevisionAsync(project, id, revisionNumber, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetRevisionAsync(int id, int revisionNumber, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevisionAsync(id, revisionNumber, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevisionsAsync(string project, int id, int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevisionsAsync(project, id, top, skip, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevisionsAsync(System.Guid project, int id, int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevisionsAsync(project, id, top, skip, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRevisionsAsync(int id, int? top = default(int?), int? skip = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRevisionsAsync(id, top, skip, expand, userState, cancellationToken); + public System.Threading.Tasks.Task SendMailAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.SendMailBody body, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SendMailAsync(body, userState, cancellationToken); + public System.Threading.Tasks.Task SendMailAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.SendMailBody body, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SendMailAsync(body, project, userState, cancellationToken); + public System.Threading.Tasks.Task SendMailAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.SendMailBody body, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.SendMailAsync(body, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTagAsync(string project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTagAsync(project, tagIdOrName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTagAsync(System.Guid project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTagAsync(project, tagIdOrName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTagAsync(string project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagAsync(project, tagIdOrName, userState, cancellationToken); + public System.Threading.Tasks.Task GetTagAsync(System.Guid project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagAsync(project, tagIdOrName, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTagsAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTagsAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTagAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTagDefinition tagData, string project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTagAsync(tagData, project, tagIdOrName, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateTagAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTagDefinition tagData, System.Guid project, string tagIdOrName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateTagAsync(tagData, project, tagIdOrName, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTemplateAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTemplate template, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTemplateAsync(template, teamContext, userState, cancellationToken); + public System.Threading.Tasks.Task> GetTemplatesAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, string workitemtypename = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTemplatesAsync(teamContext, workitemtypename, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteTemplateAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteTemplateAsync(teamContext, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task GetTemplateAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetTemplateAsync(teamContext, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task ReplaceTemplateAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTemplate templateContent, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReplaceTemplateAsync(templateContent, teamContext, templateId, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTempQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TemporaryQueryRequestModel postedQuery, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTempQueryAsync(postedQuery, project, userState, cancellationToken); + public System.Threading.Tasks.Task CreateTempQueryAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TemporaryQueryRequestModel postedQuery, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateTempQueryAsync(postedQuery, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetUpdateAsync(int id, int updateNumber, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUpdateAsync(id, updateNumber, userState, cancellationToken); + public System.Threading.Tasks.Task GetUpdateAsync(string project, int id, int updateNumber, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUpdateAsync(project, id, updateNumber, userState, cancellationToken); + public System.Threading.Tasks.Task GetUpdateAsync(System.Guid project, int id, int updateNumber, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUpdateAsync(project, id, updateNumber, userState, cancellationToken); + public System.Threading.Tasks.Task> GetUpdatesAsync(string project, int id, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUpdatesAsync(project, id, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetUpdatesAsync(System.Guid project, int id, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUpdatesAsync(project, id, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task> GetUpdatesAsync(int id, int? top = default(int?), int? skip = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetUpdatesAsync(id, top, skip, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByWiqlAsync(wiql, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByWiqlAsync(wiql, teamContext, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, string project, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByWiqlAsync(wiql, project, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, System.Guid project, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByWiqlAsync(wiql, project, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(teamContext, id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(string project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(project, id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(project, id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(teamContext, id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(string project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(project, id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(project, id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid id, bool? timePrecision = default(bool?), int? top = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(id, timePrecision, top, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemFieldAllowedValuesAsync(string project, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldAllowedValuesAsync(project, name, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemFieldAllowedValuesAsync(System.Guid project, string name, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemFieldAllowedValuesAsync(project, name, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemIconJsonAsync(string icon, string color = null, int? v = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemIconJsonAsync(icon, color, v, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemIconsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemIconsAsync(userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemIconSvgAsync(string icon, string color = null, int? v = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemIconSvgAsync(icon, color, v, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemIconXamlAsync(string icon, string color = null, int? v = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemIconXamlAsync(icon, color, v, userState, cancellationToken); + public System.Threading.Tasks.Task GetReportingLinksByLinkTypeAsync(string project, System.Collections.Generic.IEnumerable linkTypes = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReportingLinksByLinkTypeAsync(project, linkTypes, types, continuationToken, startDateTime, userState, cancellationToken); + public System.Threading.Tasks.Task GetReportingLinksByLinkTypeAsync(System.Guid project, System.Collections.Generic.IEnumerable linkTypes = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReportingLinksByLinkTypeAsync(project, linkTypes, types, continuationToken, startDateTime, userState, cancellationToken); + public System.Threading.Tasks.Task GetReportingLinksByLinkTypeAsync(System.Collections.Generic.IEnumerable linkTypes = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetReportingLinksByLinkTypeAsync(linkTypes, types, continuationToken, startDateTime, userState, cancellationToken); + public System.Threading.Tasks.Task GetRelationTypeAsync(string relation, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRelationTypeAsync(relation, userState, cancellationToken); + public System.Threading.Tasks.Task> GetRelationTypesAsync(object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetRelationTypesAsync(userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, includeDiscussionChangesOnly, maxPageSize, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, includeDiscussionChangesOnly, maxPageSize, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, includeDiscussionChangesOnly, maxPageSize, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsPostAsync(filter, continuationToken, startDateTime, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, string project, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsPostAsync(filter, project, continuationToken, startDateTime, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, System.Guid project, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsPostAsync(filter, project, continuationToken, startDateTime, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingDiscussionsAsync(string project, string continuationToken = null, int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingDiscussionsAsync(project, continuationToken, maxPageSize, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingDiscussionsAsync(System.Guid project, string continuationToken = null, int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingDiscussionsAsync(project, continuationToken, maxPageSize, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingDiscussionsAsync(string continuationToken = null, int? maxPageSize = default(int?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingDiscussionsAsync(continuationToken, maxPageSize, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, string type, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemAsync(document, project, type, validateOnly, bypassRules, suppressNotifications, expand, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, string type, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemAsync(document, project, type, validateOnly, bypassRules, suppressNotifications, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTemplateAsync(string project, string type, string fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTemplateAsync(project, type, fields, asOf, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTemplateAsync(System.Guid project, string type, string fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTemplateAsync(project, type, fields, asOf, expand, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemAsync(string project, int id, bool? destroy = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemAsync(project, id, destroy, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemAsync(System.Guid project, int id, bool? destroy = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemAsync(project, id, destroy, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemAsync(int id, bool? destroy = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemAsync(id, destroy, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemAsync(string project, int id, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemAsync(project, id, fields, asOf, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemAsync(System.Guid project, int id, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemAsync(project, id, fields, asOf, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemAsync(int id, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemAsync(id, fields, asOf, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsAsync(string project, System.Collections.Generic.IEnumerable ids, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsAsync(project, ids, fields, asOf, expand, errorPolicy, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsAsync(System.Guid project, System.Collections.Generic.IEnumerable ids, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsAsync(project, ids, fields, asOf, expand, errorPolicy, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsAsync(System.Collections.Generic.IEnumerable ids, System.Collections.Generic.IEnumerable fields = null, System.DateTime? asOf = default(System.DateTime?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy? errorPolicy = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemErrorPolicy?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsAsync(ids, fields, asOf, expand, errorPolicy, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, int id, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemAsync(document, id, validateOnly, bypassRules, suppressNotifications, expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int id, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemAsync(document, project, id, validateOnly, bypassRules, suppressNotifications, expand, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int id, bool? validateOnly = default(bool?), bool? bypassRules = default(bool?), bool? suppressNotifications = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemAsync(document, project, id, validateOnly, bypassRules, suppressNotifications, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsBatchAsync(workItemGetRequest, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsBatchAsync(workItemGetRequest, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemsBatchAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemsBatchAsync(workItemGetRequest, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteBatchRequest deleteRequest, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemsAsync(deleteRequest, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteBatchRequest deleteRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemsAsync(deleteRequest, project, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteWorkItemsAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteBatchRequest deleteRequest, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteWorkItemsAsync(deleteRequest, project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemStateColorsAsync(string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemStateColorsAsync(projectNames, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemNextStatesOnCheckinActionAsync(System.Collections.Generic.IEnumerable ids, string action = null, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemNextStatesOnCheckinActionAsync(ids, action, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeCategoriesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeCategoriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeCategoriesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeCategoriesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeCategoryAsync(string project, string category, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeCategoryAsync(project, category, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeCategoryAsync(System.Guid project, string category, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeCategoryAsync(project, category, userState, cancellationToken); + public System.Threading.Tasks.Task>>> GetWorkItemTypeColorsAsync(string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeColorsAsync(projectNames, userState, cancellationToken); + public System.Threading.Tasks.Task>>> GetWorkItemTypeColorAndIconsAsync(string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeColorAndIconsAsync(projectNames, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeAsync(string project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeAsync(project, type, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeAsync(System.Guid project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeAsync(project, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypesAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypesAsync(System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypesAsync(project, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsWithReferencesAsync(string project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldsWithReferencesAsync(project, type, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsWithReferencesAsync(System.Guid project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldsWithReferencesAsync(project, type, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeFieldWithReferencesAsync(string project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldWithReferencesAsync(project, type, field, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeFieldWithReferencesAsync(System.Guid project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldWithReferencesAsync(project, type, field, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeStatesAsync(string project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeStatesAsync(project, type, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeStatesAsync(System.Guid project, string type, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeStatesAsync(project, type, userState, cancellationToken); + public System.Threading.Tasks.Task ExportWorkItemTypeDefinitionAsync(string project, string type = null, bool? exportGlobalLists = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ExportWorkItemTypeDefinitionAsync(project, type, exportGlobalLists, userState, cancellationToken); + public System.Threading.Tasks.Task ExportWorkItemTypeDefinitionAsync(System.Guid project, string type = null, bool? exportGlobalLists = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ExportWorkItemTypeDefinitionAsync(project, type, exportGlobalLists, userState, cancellationToken); + public System.Threading.Tasks.Task ExportWorkItemTypeDefinitionAsync(string type = null, bool? exportGlobalLists = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ExportWorkItemTypeDefinitionAsync(type, exportGlobalLists, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemTypeDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplateUpdateModel updateModel, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemTypeDefinitionAsync(updateModel, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemTypeDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplateUpdateModel updateModel, string project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemTypeDefinitionAsync(updateModel, project, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemTypeDefinitionAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplateUpdateModel updateModel, System.Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemTypeDefinitionAsync(updateModel, project, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(string project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldAsync(project, type, field, expand, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentContentAsync(System.Guid id, string fileName, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetAttachmentContentAsync(id, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetAttachmentZipAsync(System.Guid id, string fileName, object userState, System.Threading.CancellationToken cancellationToken) + => Client.GetAttachmentZipAsync(id, fileName, userState, cancellationToken); + public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid project, string type, string field, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldAsync(project, type, field, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsAsync(string project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldsAsync(project, type, expand, userState, cancellationToken); + public System.Threading.Tasks.Task> GetWorkItemTypeFieldsAsync(System.Guid project, string type, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetWorkItemTypeFieldsAsync(project, type, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, watermark, startDateTime, includeIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, watermark, startDateTime, includeIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, bool includeDeleted, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, includeDeleted, fields, types, watermark, startDateTime, includeIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, bool includeDeleted, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, includeDeleted, fields, types, watermark, startDateTime, includeIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(fields, types, watermark, startDateTime, includeIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(bool includeDeleted, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, int? watermark, System.DateTime? startDateTime, bool? includeIdentityRef, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(includeDeleted, fields, types, watermark, startDateTime, includeIdentityRef, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, string continuationToken, System.DateTime? startDateTime, bool? includeIdentityRef, bool? includeDeleted, bool? includeTagRef, bool? includeLatestOnly, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand, object userState, System.Threading.CancellationToken cancellationToken) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, string continuationToken, System.DateTime? startDateTime, bool? includeIdentityRef, bool? includeDeleted, bool? includeTagRef, bool? includeLatestOnly, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand, object userState, System.Threading.CancellationToken cancellationToken) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields, System.Collections.Generic.IEnumerable types, string continuationToken, System.DateTime? startDateTime, bool? includeIdentityRef, bool? includeDeleted, bool? includeTagRef, bool? includeLatestOnly, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand, object userState, System.Threading.CancellationToken cancellationToken) + => Client.ReadReportingRevisionsGetAsync(fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(string project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, includeDiscussionChangesOnly, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Guid project, System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(project, fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, includeDiscussionChangesOnly, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsGetAsync(System.Collections.Generic.IEnumerable fields = null, System.Collections.Generic.IEnumerable types = null, string continuationToken = null, System.DateTime? startDateTime = default(System.DateTime?), bool? includeIdentityRef = default(bool?), bool? includeDeleted = default(bool?), bool? includeTagRef = default(bool?), bool? includeLatestOnly = default(bool?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand? expand = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingRevisionsExpand?), bool? includeDiscussionChangesOnly = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsGetAsync(fields, types, continuationToken, startDateTime, includeIdentityRef, includeDeleted, includeTagRef, includeLatestOnly, expand, includeDiscussionChangesOnly, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, int? watermark, System.DateTime? startDateTime, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsPostAsync(filter, watermark, startDateTime, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, string project, int? watermark, System.DateTime? startDateTime, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsPostAsync(filter, project, watermark, startDateTime, userState, cancellationToken); + public System.Threading.Tasks.Task ReadReportingRevisionsPostAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemRevisionsFilter filter, System.Guid project, int? watermark, System.DateTime? startDateTime, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.ReadReportingRevisionsPostAsync(filter, project, watermark, startDateTime, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, string type, bool? validateOnly, bool? bypassRules, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemAsync(document, project, type, validateOnly, bypassRules, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, string type, bool? validateOnly, bool? bypassRules, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemAsync(document, project, type, validateOnly, bypassRules, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, string type, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemAsync(document, project, type, validateOnly, bypassRules, suppressNotifications, userState, cancellationToken); + public System.Threading.Tasks.Task CreateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, string type, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CreateWorkItemAsync(document, project, type, validateOnly, bypassRules, suppressNotifications, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, int id, bool? validateOnly, bool? bypassRules, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemAsync(document, id, validateOnly, bypassRules, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, int id, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemAsync(document, id, validateOnly, bypassRules, suppressNotifications, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int id, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemAsync(document, project, id, validateOnly, bypassRules, suppressNotifications, userState, cancellationToken); + public System.Threading.Tasks.Task UpdateWorkItemAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, System.Guid project, int id, bool? validateOnly, bool? bypassRules, bool? suppressNotifications, object userState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateWorkItemAsync(document, project, id, validateOnly, bypassRules, suppressNotifications, userState, cancellationToken); + public System.Threading.Tasks.Task> UpdateRemoteLinksAsync(System.Collections.Generic.IEnumerable links, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.UpdateRemoteLinksAsync(links, userState, cancellationToken); + public System.Threading.Tasks.Task CleanupRemoteLinksFromProjectDelete(System.Collections.Generic.IEnumerable remoteProjectIds, System.Guid remoteHostId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.CleanupRemoteLinksFromProjectDelete(remoteProjectIds, remoteHostId, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(teamContext, id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(string project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(project, id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(project, id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task GetQueryResultCountAsync(System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetQueryResultCountAsync(id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(teamContext, id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(string project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(project, id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid project, System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(project, id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task QueryByIdAsync(System.Guid id, bool? timePrecision = default(bool?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.QueryByIdAsync(id, timePrecision, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(int id, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(id, revision, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(string project, int id, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, id, revision, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentAsync(System.Guid project, int id, int revision, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentAsync(project, id, revision, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentsAsync(string project, int id, int? fromRevision = default(int?), int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, id, fromRevision, top, order, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentsAsync(System.Guid project, int id, int? fromRevision = default(int?), int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(project, id, fromRevision, top, order, userState, cancellationToken); + public System.Threading.Tasks.Task GetCommentsAsync(int id, int? fromRevision = default(int?), int? top = default(int?), Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder? order = default(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.CommentSortOrder?), object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.GetCommentsAsync(id, fromRevision, top, order, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFieldAsync(string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFieldAsync(fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFieldAsync(string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFieldAsync(project, fieldNameOrRefName, userState, cancellationToken); + public System.Threading.Tasks.Task DeleteFieldAsync(System.Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + => Client.DeleteFieldAsync(project, fieldNameOrRefName, userState, cancellationToken); + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } +} \ No newline at end of file diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs index 42508ad00..0e25d1648 100644 --- a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs +++ b/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs @@ -1,8 +1,10 @@ //HintName: TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.cs +#pragma warning disable CS8669 using System.Composition; +using Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi; namespace TfsCmdlets.HttpClients { - public partial interface IWorkItemTrackingProcessHttpClient: IVssHttpClient + public partial interface IWorkItemTrackingProcessHttpClient: Microsoft.VisualStudio.Services.WebApi.IVssHttpClient { public System.Threading.Tasks.Task CreateProcessBehaviorAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehaviorCreateRequest behavior, System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task DeleteProcessBehaviorAsync(System.Guid processId, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -73,8 +75,6 @@ public partial interface IWorkItemTrackingProcessHttpClient: IVssHttpClient public System.Threading.Tasks.Task> GetFieldsAsync(System.Guid processId, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task> GetWorkItemTypeFieldsAsync(System.Guid processId, string witRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations); - public void Dispose(); } [Export(typeof(IWorkItemTrackingProcessHttpClient))] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] @@ -236,9 +236,25 @@ private Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.WorkItemTrackin => Client.GetWorkItemTypeFieldsAsync(processId, witRefName, userState, cancellationToken); public System.Threading.Tasks.Task GetWorkItemTypeFieldAsync(System.Guid processId, string witRefName, string fieldRefName, object userState = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => Client.GetWorkItemTypeFieldAsync(processId, witRefName, fieldRefName, userState, cancellationToken); - public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) - => Client.SetResourceLocations(resourceLocations); - public void Dispose() - => Client.Dispose(); - } + public Uri BaseAddress + => Client.BaseAddress; + public bool ExcludeUrlsHeader + { + get => Client.ExcludeUrlsHeader; + set => Client.ExcludeUrlsHeader = value; + } + public Microsoft.VisualStudio.Services.WebApi.VssResponseContext LastResponseContext + => Client.LastResponseContext; + public bool LightweightHeader + { + get => Client.LightweightHeader; + set => Client.LightweightHeader = value; + } + public bool IsDisposed() + => Client.IsDisposed(); + public void SetResourceLocations(Microsoft.VisualStudio.Services.WebApi.ApiResourceLocationCollection resourceLocations) + => Client.SetResourceLocations(resourceLocations); + public void Dispose() + => Client.Dispose(); + } } \ No newline at end of file From 1e77eb4ec012689acb15359440559c3440748181 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 04:06:31 -0300 Subject: [PATCH 34/36] Fix typo --- .../Cmdlets/Admin/AdminCmdletTests.cs | 0 .../Cmdlets/Admin/Registry/RegistryCmdletTests.cs | 0 .../Cmdlets/Artifact/ArtifactCmdletTests.cs | 0 .../Cmdlets/Credential/CredentialCmdletTests.cs | 0 .../Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs | 0 .../Cmdlets/Git/Branch/GitBranchCmdletTests.cs | 0 .../Cmdlets/Git/Commit/GitCommitCmdletTests.cs | 0 .../Cmdlets/Git/GitCmdletTests.cs | 0 .../Cmdlets/Git/Item/GitItemCmdletTests.cs | 0 .../Cmdlets/Git/Policy/GitPolicyCmdletTests.cs | 0 .../Cmdlets/Identity/Group/GroupCmdletTests.cs | 0 .../Cmdlets/Identity/IdentityCmdletTests.cs | 0 .../Cmdlets/Identity/User/UserCmdletTests.cs | 0 .../Cmdlets/Organization/OrganizationCmdletTests.cs | 0 .../Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs | 0 .../Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs | 0 .../Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs | 0 .../Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs | 0 .../Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs | 0 .../Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs | 0 .../Cmdlets/RestApi/RestApiCmdletTests.cs | 0 .../Cmdlets/ServiceHook/ServiceHookCmdletTests.cs | 0 .../Cmdlets/Shell/ShellCmdletTests.cs | 0 .../Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs | 0 .../Cmdlets/Team/Board/TeamBoardCmdletTests.cs | 0 .../Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs | 0 .../Cmdlets/Team/TeamCmdletTests.cs | 0 .../Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs | 0 .../Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs | 0 .../Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs | 0 .../Cmdlets/TeamProject/TeamProjectCmdletTests.cs | 0 .../TeamProjectCollection/TeamProjectCollectionCmdletTests.cs | 0 .../Cmdlets/TestManagement/TestManagementCmdletTests.cs | 0 .../Cmdlets/Wiki/WikiCmdletTests.cs | 0 .../WorkItem/AreasIterations/AreasIterationsCmdletTests.cs | 0 .../Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs | 0 .../Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs | 0 .../Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs | 0 .../Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs | 0 .../Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs | 0 .../Controllers/Admin/AdminControllerTests.cs | 0 .../Controllers/Admin/Registry/RegistryControllerTests.cs | 0 .../Controllers/Artifact/ArtifactControllerTests.cs | 0 .../Controllers/Credential/CredentialControllerTests.cs | 0 .../ExtensionManagement/ExtensionManagementControllerTests.cs | 0 .../Controllers/Git/Branch/BranchControllerTests.cs | 0 .../Controllers/Git/Commit/CommitControllerTests.cs | 0 .../Controllers/Git/GitControllerTests.cs | 0 .../Controllers/Git/Item/ItemControllerTests.cs | 0 .../Controllers/Git/Policy/PolicyControllerTests.cs | 0 .../Controllers/Identity/Group/GroupControllerTests.cs | 0 .../Controllers/Identity/IdentityControllerTests.cs | 0 .../Controllers/Identity/User/UserControllerTests.cs | 0 .../Controllers/Organization/OrganizationControllerTests.cs | 0 .../Pipeline/Build/Definition/DefinitionControllerTests.cs | 0 .../Controllers/Pipeline/Build/Folder/FolderControllerTests.cs | 0 .../Controllers/Pipeline/PipelineControllerTests.cs | 0 .../ReleaseManagement/ReleaseManagementControllerTests.cs | 0 .../Controllers/ProcessTemplate/Field/FieldControllerTests.cs | 0 .../Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs | 0 .../Controllers/RestApi/RestApiControllerTests.cs | 0 .../Controllers/ServiceHook/ServiceHookControllerTests.cs | 0 .../Controllers/Shell/ShellControllerTests.cs | 0 .../Controllers/Team/Backlog/BacklogControllerTests.cs | 0 .../Controllers/Team/Board/BoardControllerTests.cs | 0 .../Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs | 0 .../Controllers/Team/TeamControllerTests.cs | 0 .../Controllers/Team/TeamMember/TeamMemberControllerTests.cs | 0 .../Controllers/TeamProject/Avatar/AvatarControllerTests.cs | 0 .../Controllers/TeamProject/Member/MemberControllerTests.cs | 0 .../Controllers/TeamProject/TeamProjectControllerTests.cs | 0 .../TeamProjectCollection/TeamProjectCollectionControllerTests.cs | 0 .../Controllers/TestManagement/TestManagementControllerTests.cs | 0 .../Controllers/Wiki/WikiControllerTests.cs | 0 .../WorkItem/AreasIterations/AreasIterationsControllerTests.cs | 0 .../Controllers/WorkItem/History/HistoryControllerTests.cs | 0 .../Controllers/WorkItem/Linking/LinkingControllerTests.cs | 0 .../Controllers/WorkItem/Queries/QueriesControllerTests.cs | 0 .../Controllers/WorkItem/Tagging/TaggingControllerTests.cs | 0 .../WorkItem/WorkItemType/WorkItemTypeControllerTests.cs | 0 .../Controllers/WorkItem/WorkItemsControllerTests.cs | 0 .../HttpClients/Can_Create_HttpClients.cs | 0 .../ModuleInitializer.cs | 0 .../RoslynReferenceHelper.cs | 0 .../Stubs.cs | 0 .../TestHelper.cs | 0 .../TfsCmdlets.SourceGenerators.UnitTests.csproj | 0 ...TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs | 0 ...t#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs | 0 ...Cmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs | 0 ...Cmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs | 0 ...ctTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs | 0 ...fsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs | 0 ...amProjectCollection.ConnectTeamProjectCollection.g.verified.cs | 0 ...mdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs | 0 ...s.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs | 0 ...t#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs | 0 ...Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs | 0 ...ets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs | 0 ...dlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs | 0 ...lets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs | 0 ...lets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs | 0 ...eamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs | 0 ...mdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs | 0 ...rojectCollection.DisconnectTeamProjectCollection.g.verified.cs | 0 ....Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs | 0 ...lets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs | 0 ...dlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs | 0 ...rShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs | 0 ...itShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs | 0 ...ts.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs | 0 ...dlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs | 0 ...mdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs | 0 ...dlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs | 0 ...Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs | 0 ...Cmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs | 0 ...ctCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs | 0 ...dlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs | 0 ...#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs | 0 ...t#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs | 0 ...ets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs | 0 ...s.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs | 0 ...ets.Admin.GetConfigurationServerConnectionString.g.verified.cs | 0 ...Cmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs | 0 ...temCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs | 0 ...t#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs | 0 ...ryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs | 0 ...tyCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs | 0 ...let#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs | 0 ...ts.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs | 0 ...#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs | 0 ...dlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs | 0 ...sCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs | 0 ....Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs | 0 ...ine.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs | 0 ...tCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs | 0 ...dlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs | 0 ...ts.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs | 0 ...lets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs | 0 ...s.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs | 0 ...t#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs | 0 ...Cmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs | 0 ...sCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs | 0 ...te_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs | 0 ...et#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs | 0 ...s.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs | 0 ....Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs | 0 ...et#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs | 0 ...rCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs | 0 ...ersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs | 0 ...te_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs | 0 ...lets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs | 0 ...Cmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs | 0 ...ets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs | 0 ...sCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs | 0 ...ets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs | 0 ...sCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs | 0 ...ts.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs | 0 ...ts.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs | 0 ...dlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs | 0 ...Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs | 0 ...ets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs | 0 ...iCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs | 0 ...mdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs | 0 ...s.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs | 0 ...Cmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs | 0 ...s.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs | 0 ...dlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs | 0 ...ryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs | 0 ...ts.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs | 0 ...dlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs | 0 ...ine.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs | 0 ...te_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs | 0 ...et#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs | 0 ...s.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs | 0 ...et#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs | 0 ...rCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs | 0 ...te_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs | 0 ...sCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs | 0 ...ets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs | 0 ...sCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs | 0 ...lets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs | 0 ...ipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs | 0 ...et#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs | 0 ...et#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs | 0 ...Cmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs | 0 ...Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs | 0 ...dlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs | 0 ....ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs | 0 ...fsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs | 0 ...oveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs | 0 ...Cmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs | 0 ...dlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs | 0 ...eamProjectCollection.RemoveTeamProjectCollection.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs | 0 ...dlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs | 0 ...oveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs | 0 ...dlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs | 0 ...lets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs | 0 ...mdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs | 0 ...Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs | 0 ...ameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs | 0 ...dlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs | 0 ....Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs | 0 ...ts.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs | 0 ...sCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs | 0 ...sCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs | 0 ...te_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs | 0 ...et#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs | 0 ...let#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs | 0 ...Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs | 0 ...mdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs | 0 ...s.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs | 0 ...dlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs | 0 ...ts.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs | 0 ....Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs | 0 ...s.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs | 0 ...t_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs | 0 ....Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs | 0 ...ts.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs | 0 ....Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs | 0 ...dlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs | 0 ...er#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs | 0 ...ollection.ConnectTeamProjectCollectionController.g.verified.cs | 0 ...Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs | 0 ...lets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs | 0 ...WorkItem.AreasIterations.CopyIterationController.g.verified.cs | 0 ...ts.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs | 0 ...uild.Definition.DisableBuildDefinitionController.g.verified.cs | 0 ...s.ExtensionManagement.DisableExtensionController.g.verified.cs | 0 ...dlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs | 0 ...ts.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs | 0 ...ection.DisconnectTeamProjectCollectionController.g.verified.cs | 0 ...lets.TeamProject.DisconnectTeamProjectController.g.verified.cs | 0 ...Build.Definition.EnableBuildDefinitionController.g.verified.cs | 0 ...ts.ExtensionManagement.EnableExtensionController.g.verified.cs | 0 ...mdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs | 0 ...ets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs | 0 ...er#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs | 0 ...ler#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs | 0 ....ProcessTemplate.ExportProcessTemplateController.g.verified.cs | 0 ...Project.Avatar.ExportTeamProjectAvatarController.g.verified.cs | 0 ...kItem.Linking.ExportWorkItemAttachmentController.g.verified.cs | 0 ...ets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs | 0 ...rkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs | 0 ...dlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs | 0 ...fsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs | 0 ...dlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs | 0 ...s.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs | 0 ...ts.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs | 0 ...ne.Build.Definition.GetBuildDefinitionController.g.verified.cs | 0 ....Build.Folder.GetBuildDefinitionFolderController.g.verified.cs | 0 ...GetConfigurationServerConnectionStringController.g.verified.cs | 0 ...dlets.ExtensionManagement.GetExtensionController.g.verified.cs | 0 ...mdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs | 0 ....Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs | 0 ...mdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs | 0 ...TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs | 0 ...ts.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs | 0 ...fsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs | 0 ...mdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs | 0 ....Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs | 0 ...fsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs | 0 ...lets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs | 0 ....WorkItem.AreasIterations.GetIterationController.g.verified.cs | 0 ...rocess.Field.GetProcessFieldDefinitionController.g.verified.cs | 0 ...ets.ProcessTemplate.GetProcessTemplateController.g.verified.cs | 0 ...mdlets.Admin.Registry.GetRegistryValueController.g.verified.cs | 0 ...ReleaseManagement.GetReleaseDefinitionController.g.verified.cs | 0 ...eManagement.GetReleaseDefinitionFolderController.g.verified.cs | 0 ...sCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs | 0 ...ets.ServiceHook.GetServiceHookConsumerController.g.verified.cs | 0 ...Hook.GetServiceHookNotificationHistoryController.g.verified.cs | 0 ...ts.ServiceHook.GetServiceHookPublisherController.g.verified.cs | 0 ...ServiceHook.GetServiceHookSubscriptionController.g.verified.cs | 0 ...ts.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs | 0 ...dlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs | 0 ...mdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs | 0 ...mdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs | 0 ...roller#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs | 0 ....Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs | 0 ...ectCollection.GetTeamProjectCollectionController.g.verified.cs | 0 ...ets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs | 0 ...eamProject.Member.GetTeamProjectMemberController.g.verified.cs | 0 ...ets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs | 0 ...sCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs | 0 ...er#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs | 0 ...roller#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs | 0 ...fsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs | 0 ...ts.WorkItem.History.GetWorkItemHistoryController.g.verified.cs | 0 ....ProcessTemplate.ImportProcessTemplateController.g.verified.cs | 0 ...Project.Avatar.ImportTeamProjectAvatarController.g.verified.cs | 0 ...s.ExtensionManagement.InstallExtensionController.g.verified.cs | 0 ...sCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs | 0 ...lets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs | 0 ...WorkItem.AreasIterations.MoveIterationController.g.verified.cs | 0 ...dlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs | 0 ....Build.Folder.NewBuildDefinitionFolderController.g.verified.cs | 0 ...dlets.Cmdlets.Credential.GetCredentialController.g.verified.cs | 0 ...fsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs | 0 ...mdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs | 0 ....WorkItem.AreasIterations.NewIterationController.g.verified.cs | 0 ...rocess.Field.NewProcessFieldDefinitionController.g.verified.cs | 0 ...eManagement.NewReleaseDefinitionFolderController.g.verified.cs | 0 ...roller#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs | 0 ...ectCollection.NewTeamProjectCollectionController.g.verified.cs | 0 ...ets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs | 0 ...ets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs | 0 ...lets.Controllers.Identity.User.NewUserController.g.verified.cs | 0 ...roller#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs | 0 ...fsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs | 0 ...ts.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs | 0 ...ild.Folder.RemoveBuildDefinitionFolderController.g.verified.cs | 0 ...ets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs | 0 ...mdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs | 0 ...ets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs | 0 ...dlets.Identity.Group.RemoveGroupMemberController.g.verified.cs | 0 ...rkItem.AreasIterations.RemoveIterationController.g.verified.cs | 0 ...ess.Field.RemoveProcessFieldDefinitionController.g.verified.cs | 0 ...nagement.RemoveReleaseDefinitionFolderController.g.verified.cs | 0 ...Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs | 0 ...ler#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs | 0 ...dlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs | 0 ...Project.Avatar.RemoveTeamProjectAvatarController.g.verified.cs | 0 ....Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs | 0 ....Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs | 0 ...s.Controllers.Identity.User.RemoveUserController.g.verified.cs | 0 ...ler#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs | 0 ...mdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs | 0 ...ets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs | 0 ...mdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs | 0 ...ler#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs | 0 ....Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs | 0 ...Build.Definition.ResumeBuildDefinitionController.g.verified.cs | 0 ....WorkItem.AreasIterations.SetIterationController.g.verified.cs | 0 ...mdlets.Admin.Registry.SetRegistryValueController.g.verified.cs | 0 ...mdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs | 0 ...roller#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs | 0 ...ets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs | 0 ...fsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs | 0 ...lets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs | 0 ...uild.Definition.SuspendBuildDefinitionController.g.verified.cs | 0 ...lets.WorkItem.AreasIterations.TestAreaController.g.verified.cs | 0 ...ets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs | 0 ...ExtensionManagement.UninstallExtensionController.g.verified.cs | 0 ...GetConfigurationServerConnectionStringController.g.verified.cs | 0 ...lets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs | 0 ...mdlets.Admin.Registry.GetRegistryValueController.g.verified.cs | 0 ...er#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs | 0 ...mdlets.Admin.Registry.SetRegistryValueController.g.verified.cs | 0 ...sCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs | 0 ...sCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs | 0 ...tpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs | 0 ...dlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs | 0 ...ttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs | 0 ...Client#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs | 0 ...nt#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs | 0 ...HttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs | 0 ...tpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs | 0 ...lient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs | 0 ...ent#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs | 0 ...pClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs | 0 ...Client#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs | 0 ...Client#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs | 0 ...Client#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs | 0 ...ient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs | 0 ...pClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs | 0 ...ets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs | 0 ...Client#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs | 0 ...ient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs | 0 ...ttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs | 0 ...lient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs | 0 ...ttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs | 0 ...ttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs | 0 ...sCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs | 0 ...s.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs | 0 ...sCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs | 0 ...lient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs | 0 393 files changed, 0 insertions(+), 0 deletions(-) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Admin/AdminCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Admin/Registry/RegistryCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Artifact/ArtifactCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Credential/CredentialCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Git/Branch/GitBranchCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Git/Commit/GitCommitCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Git/GitCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Git/Item/GitItemCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Identity/Group/GroupCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Identity/IdentityCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Identity/User/UserCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Organization/OrganizationCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/RestApi/RestApiCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Shell/ShellCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Team/Board/TeamBoardCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Team/TeamCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/TeamProject/TeamProjectCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/TestManagement/TestManagementCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/Wiki/WikiCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Admin/AdminControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Admin/Registry/RegistryControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Artifact/ArtifactControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Credential/CredentialControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Git/Branch/BranchControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Git/Commit/CommitControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Git/GitControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Git/Item/ItemControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Git/Policy/PolicyControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Identity/Group/GroupControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Identity/IdentityControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Identity/User/UserControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Organization/OrganizationControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Pipeline/PipelineControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/ProcessTemplate/Field/FieldControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/RestApi/RestApiControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/ServiceHook/ServiceHookControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Shell/ShellControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Team/Backlog/BacklogControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Team/Board/BoardControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Team/TeamControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Team/TeamMember/TeamMemberControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/TeamProject/Avatar/AvatarControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/TeamProject/Member/MemberControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/TeamProject/TeamProjectControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/TestManagement/TestManagementControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/Wiki/WikiControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/WorkItem/History/HistoryControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/WorkItem/Linking/LinkingControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/WorkItem/Queries/QueriesControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/WorkItem/Tagging/TaggingControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Controllers/WorkItem/WorkItemsControllerTests.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/HttpClients/Can_Create_HttpClients.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/ModuleInitializer.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/RoslynReferenceHelper.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/Stubs.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/TestHelper.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/TfsCmdlets.SourceGenerators.UnitTests.csproj (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs (100%) rename CSharp/{TfsCmdlets.SourceGeneratores.UnitTests => TfsCmdlets.SourceGenerators.UnitTests}/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs (100%) diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Admin/AdminCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Admin/Registry/RegistryCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Artifact/ArtifactCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Credential/CredentialCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ExtensionManagement/ExtensionManagementCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Branch/GitBranchCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Commit/GitCommitCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/GitCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/GitCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/GitCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/GitCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Item/GitItemCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Git/Policy/GitPolicyCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Identity/Group/GroupCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Identity/IdentityCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Identity/User/UserCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Organization/OrganizationCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/Build/Definition/BuildDefinitionCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/Build/Folder/BuildFolderCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/Build/PipelineBuildCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Pipeline/ReleaseManagement/ReleaseManagementCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ProcessTemplate/Field/ProcessFieldCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ProcessTemplate/ProcessTemplateCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/RestApi/RestApiCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/ServiceHook/ServiceHookCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Shell/ShellCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/Backlog/TeamBacklogCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/Board/TeamBoardCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/TeamAdmin/TeamAdminCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/TeamCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/TeamCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Team/TeamMember/TeamMemberCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProject/Avatar/TeamProjectAvatarCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProject/Member/TeamProjectMemberCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProject/TeamProjectCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TeamProjectCollection/TeamProjectCollectionCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/TestManagement/TestManagementCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/Wiki/WikiCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/AreasIterations/AreasIterationsCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/History/WorkItemHistoryCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/Linking/WorkItemLinkingCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/Query/WorkItemQueryCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/Tagging/WorkItemTaggingCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Cmdlets/WorkItem/WorkItemType/WorkItemTypeCmdletTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/AdminControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Admin/AdminControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/AdminControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Admin/AdminControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Admin/Registry/RegistryControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Artifact/ArtifactControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Credential/CredentialControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Credential/CredentialControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Credential/CredentialControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Credential/CredentialControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ExtensionManagement/ExtensionManagementControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Branch/BranchControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Commit/CommitControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/GitControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/GitControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/GitControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/GitControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Item/ItemControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Item/ItemControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Item/ItemControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Item/ItemControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Git/Policy/PolicyControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Identity/Group/GroupControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/IdentityControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Identity/IdentityControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/IdentityControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Identity/IdentityControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/User/UserControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Identity/User/UserControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Identity/User/UserControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Identity/User/UserControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Organization/OrganizationControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Organization/OrganizationControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Organization/OrganizationControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Organization/OrganizationControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/Build/Definition/DefinitionControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/Build/Folder/FolderControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/PipelineControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Pipeline/ReleaseManagement/ReleaseManagementControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ProcessTemplate/Field/FieldControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ProcessTemplate/ProcessTemplateControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/RestApi/RestApiControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/RestApi/RestApiControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/RestApi/RestApiControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/RestApi/RestApiControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/ServiceHook/ServiceHookControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Shell/ShellControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Shell/ShellControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Shell/ShellControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Shell/ShellControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/Backlog/BacklogControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Board/BoardControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/Board/BoardControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/Board/BoardControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/Board/BoardControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/TeamAdmin/TeamAdminControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/TeamControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/TeamControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Team/TeamMember/TeamMemberControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProject/Avatar/AvatarControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProject/Member/MemberControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProject/TeamProjectControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TeamProjectCollection/TeamProjectCollectionControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/TestManagement/TestManagementControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Wiki/WikiControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Wiki/WikiControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/Wiki/WikiControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/Wiki/WikiControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/AreasIterations/AreasIterationsControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/History/HistoryControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/Linking/LinkingControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/Queries/QueriesControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/Tagging/TaggingControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/WorkItemType/WorkItemTypeControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Controllers/WorkItem/WorkItemsControllerTests.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/HttpClients/Can_Create_HttpClients.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/HttpClients/Can_Create_HttpClients.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/HttpClients/Can_Create_HttpClients.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/ModuleInitializer.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/ModuleInitializer.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/ModuleInitializer.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/ModuleInitializer.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/RoslynReferenceHelper.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/RoslynReferenceHelper.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/RoslynReferenceHelper.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Stubs.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/Stubs.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/Stubs.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/Stubs.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/TestHelper.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TestHelper.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/TestHelper.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMember.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdmin.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMember.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_AddWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLink.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.ConnectOrganization.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.ConnectTeam.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProject.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ConnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollection.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyArea.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_CopyTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlan.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinition.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtension.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.DisableGitRepository.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTag.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.DisconnectOrganization.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamCmdlet#TfsCmdlets.Cmdlets.Team.DisconnectTeam.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProject.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_DisconnectTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollection.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinition.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtension.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.EnableGitRepository.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnableWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTag.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_EnterShellCmdlet#TfsCmdlets.Cmdlets.Shell.EnterShell.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExitShellCmdlet#TfsCmdlets.Cmdlets.Shell.ExitShell.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplate.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatar.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemAttachmentCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachment.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQuery.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ExportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemType.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetArea.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifact.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeed.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactFeedViewCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedView.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetArtifactVersionCmdlet#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersion.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinition.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetConfigurationServerConnectionStringCmdlet#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionString.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtension.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranch.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitBranchPolicyCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicy.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitCommitCmdlet#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommit.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitItemCmdlet#TfsCmdlets.Cmdlets.Git.Item.GetGitItem.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitPolicyTypeCmdlet#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyType.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroup.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMember.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIdentityCmdlet#TfsCmdlets.Cmdlets.Identity.GetIdentity.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetInstallationPathCmdlet#TfsCmdlets.Cmdlets.Admin.GetInstallationPath.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetOrganizationCmdlet#TfsCmdlets.Cmdlets.Organization.GetOrganization.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplate.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValue.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinition.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetRestClientCmdlet#TfsCmdlets.Cmdlets.RestApi.GetRestClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookConsumerCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumer.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookNotificationHistoryCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistory.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookPublisherCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisher.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetServiceHookSubscriptionCmdlet#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscription.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdmin.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBacklogLevelCmdlet#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevel.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRule.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamBoardCmdlet#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoard.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamCmdlet#TfsCmdlets.Cmdlets.Team.GetTeam.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMember.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.GetTeamProject.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollection.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTeamProjectMemberCmdlet#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMember.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.GetTestPlan.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.GetUser.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetVersionCmdlet#TfsCmdlets.Cmdlets.Admin.GetVersion.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.GetWiki.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemHistoryCmdlet#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistory.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLink.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemLinkEndTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.Linking.GetWorkItemLinkType.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.GetWorkItemQuery.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.GetWorkItemQueryFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.GetWorkItemTag.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_GetWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.GetWorkItemType.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplate.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatar.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ImportWorkItemTypeCmdlet#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ImportWorkItemType.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_InstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtension.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_InvokeRestApiCmdlet#TfsCmdlets.Cmdlets.RestApi.InvokeRestApi.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveArea.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_MoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewArea.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewCredentialCmdlet#TfsCmdlets.Cmdlets.Credential.NewCredential.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.NewGitRepository.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.NewGroup.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewProcessTemplateCmdlet#TfsCmdlets.Cmdlets.ProcessTemplate.NewProcessTemplate.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamCmdlet#TfsCmdlets.Cmdlets.Team.NewTeam.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.NewTeamProject.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollection.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.NewTestPlan.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.NewUser.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.NewWiki.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.NewWorkItemQuery.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemQueryFolderCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.Folder.NewWorkItemQueryFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_NewWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.NewWorkItemTag.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveArea.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveBuildDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitBranchCmdlet#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranch.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RemoveGitRepository.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroup.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveGroupMemberCmdlet#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMember.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveProcessFieldDefinitionCmdlet#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinition.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveReleaseDefinitionFolderCmdlet#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolder.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamAdminCmdlet#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdmin.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamCmdlet#TfsCmdlets.Cmdlets.Team.RemoveTeam.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamMemberCmdlet#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMember.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectAvatarCmdlet#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatar.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProject.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTeamProjectCollectionCmdlet#TfsCmdlets.Cmdlets.TeamProjectCollection.RemoveTeamProjectCollection.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlan.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveUserCmdlet#TfsCmdlets.Cmdlets.Identity.User.RemoveUser.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWikiCmdlet#TfsCmdlets.Cmdlets.Wiki.RemoveWiki.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RemoveWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTag.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameArea.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameGitRepositoryCmdlet#TfsCmdlets.Cmdlets.Git.RenameGitRepository.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RenameIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamCmdlet#TfsCmdlets.Cmdlets.Team.RenameTeam.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProject.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameTestPlanCmdlet#TfsCmdlets.Cmdlets.TestManagement.RenameTestPlan.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_RenameWorkItemTagCmdlet#TfsCmdlets.Cmdlets.WorkItem.Tagging.RenameWorkItemTag.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_ResumeBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinition.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetRegistryValueCmdlet#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValue.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamBoardCardRuleCmdlet#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRule.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamCmdlet#TfsCmdlets.Cmdlets.Team.SetTeam.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SetTeamProjectCmdlet#TfsCmdlets.Cmdlets.TeamProject.SetTeamProject.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_StartBuildCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuild.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_SuspendBuildDefinitionCmdlet#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinition.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestAreaCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestArea.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_TestIterationCmdlet#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestIteration.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoTeamProjectRemovalCmdlet#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemoval.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryFolderRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryFolderRemoval.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UndoWorkItemQueryRemovalCmdlet#TfsCmdlets.Cmdlets.WorkItem.Query.UndoWorkItemQueryRemoval.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/CanGenerate_UninstallExtensionCmdlet#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtension.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/CmdletGenerator/Can_Create_Get_Cmdlet#TfsCmdlets.Cmdlets.Git.GetGitRepository.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.AddGroupMemberController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.AddTeamAdminController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.AddTeamMemberController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_AddWorkItemLinkController#TfsCmdlets.Cmdlets.WorkItem.Linking.AddWorkItemLinkController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamController#TfsCmdlets.Cmdlets.Team.ConnectTeamController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.ConnectTeamProjectCollectionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ConnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.ConnectTeamProjectController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyAreaController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.CopyIterationController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_CopyTestPlanController#TfsCmdlets.Cmdlets.TestManagement.CopyTestPlanController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.DisableBuildDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.DisableExtensionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableGitRepositoryController#TfsCmdlets.Cmdlets.Git.DisableGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.DisableWorkItemTagController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamController#TfsCmdlets.Cmdlets.Team.DisconnectTeamController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.DisconnectTeamProjectCollectionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_DisconnectTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.DisconnectTeamProjectController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.EnableBuildDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.EnableExtensionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableGitRepositoryController#TfsCmdlets.Cmdlets.Git.EnableGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnableWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.EnableWorkItemTagController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_EnterShellController#TfsCmdlets.Cmdlets.Shell.EnterShellController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExitShellController#TfsCmdlets.Cmdlets.Shell.ExitShellController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ExportProcessTemplateController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ExportTeamProjectAvatarController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemAttachmentController#TfsCmdlets.Cmdlets.WorkItem.Linking.ExportWorkItemAttachmentController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemQueryController#TfsCmdlets.Cmdlets.WorkItem.Query.ExportWorkItemQueryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ExportWorkItemTypeController#TfsCmdlets.Cmdlets.WorkItem.WorkItemType.ExportWorkItemTypeController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetAreaController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactController#TfsCmdlets.Cmdlets.Artifact.GetArtifactController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactFeedViewController#TfsCmdlets.Cmdlets.Artifact.GetArtifactFeedViewController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetArtifactVersionController#TfsCmdlets.Cmdlets.Artifact.GetArtifactVersionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.GetBuildDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.GetBuildDefinitionFolderController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.GetExtensionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.GetGitBranchController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitBranchPolicyController#TfsCmdlets.Cmdlets.Git.Policy.GetGitBranchPolicyController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitCommitController#TfsCmdlets.Cmdlets.Git.Commit.GetGitCommitController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitItemController#TfsCmdlets.Cmdlets.Git.Item.GetGitItemController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitPolicyTypeController#TfsCmdlets.Cmdlets.Git.Policy.GetGitPolicyTypeController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGitRepositoryController#TfsCmdlets.Cmdlets.Git.GetGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.GetGroupMemberController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIdentityController#TfsCmdlets.Cmdlets.Identity.GetIdentityController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.GetIterationController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.GetProcessFieldDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.GetProcessTemplateController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.GetReleaseDefinitionFolderController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetRestClientController#TfsCmdlets.Cmdlets.RestApi.GetRestClientController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookConsumerController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookConsumerController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookNotificationHistoryController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookNotificationHistoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookPublisherController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookPublisherController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetServiceHookSubscriptionController#TfsCmdlets.Cmdlets.ServiceHook.GetServiceHookSubscriptionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.GetTeamAdminController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBacklogLevelController#TfsCmdlets.Cmdlets.Team.Backlog.GetTeamBacklogLevelController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardCardRuleController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamBoardController#TfsCmdlets.Cmdlets.Team.Board.GetTeamBoardController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamController#TfsCmdlets.Cmdlets.Team.GetTeamController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.GetTeamMemberController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.GetTeamProjectCollectionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.GetTeamProjectController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTeamProjectMemberController#TfsCmdlets.Cmdlets.TeamProject.Member.GetTeamProjectMemberController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetTestPlanController#TfsCmdlets.Cmdlets.TestManagement.GetTestPlanController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetUserController#TfsCmdlets.Cmdlets.Identity.User.GetUserController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWikiController#TfsCmdlets.Cmdlets.Wiki.GetWikiController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.GetWorkItemController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_GetWorkItemHistoryController#TfsCmdlets.Cmdlets.WorkItem.History.GetWorkItemHistoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportProcessTemplateController#TfsCmdlets.Cmdlets.ProcessTemplate.ImportProcessTemplateController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ImportTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.ImportTeamProjectAvatarController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_InstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.InstallExtensionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_InvokeRestApiController#TfsCmdlets.Cmdlets.RestApi.InvokeRestApiController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveAreaController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_MoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.MoveIterationController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewAreaController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.NewBuildDefinitionFolderController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewCredentialController#TfsCmdlets.Cmdlets.Credential.GetCredentialController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGitRepositoryController#TfsCmdlets.Cmdlets.Git.NewGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewGroupController#TfsCmdlets.Cmdlets.Identity.Group.NewGroupController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.NewIterationController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.NewProcessFieldDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.NewReleaseDefinitionFolderController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamController#TfsCmdlets.Cmdlets.Team.NewTeamController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectCollectionController#TfsCmdlets.Cmdlets.TeamProjectCollection.NewTeamProjectCollectionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.NewTeamProjectController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewTestPlanController#TfsCmdlets.Cmdlets.TestManagement.NewTestPlanController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewUserController#TfsCmdlets.Controllers.Identity.User.NewUserController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWikiController#TfsCmdlets.Cmdlets.Wiki.NewWikiController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_NewWorkItemController#TfsCmdlets.Cmdlets.WorkItem.NewWorkItemController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveAreaController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveBuildDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.Build.Folder.RemoveBuildDefinitionFolderController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitBranchController#TfsCmdlets.Cmdlets.Git.Branch.RemoveGitBranchController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGitRepositoryController#TfsCmdlets.Cmdlets.Git.RemoveGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveGroupMemberController#TfsCmdlets.Cmdlets.Identity.Group.RemoveGroupMemberController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.RemoveIterationController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveProcessFieldDefinitionController#TfsCmdlets.Cmdlets.Process.Field.RemoveProcessFieldDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveReleaseDefinitionFolderController#TfsCmdlets.Cmdlets.Pipeline.ReleaseManagement.RemoveReleaseDefinitionFolderController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamAdminController#TfsCmdlets.Cmdlets.Team.TeamAdmin.RemoveTeamAdminController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamController#TfsCmdlets.Cmdlets.Team.RemoveTeamController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamMemberController#TfsCmdlets.Cmdlets.Team.TeamMember.RemoveTeamMemberController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectAvatarController#TfsCmdlets.Cmdlets.TeamProject.Avatar.RemoveTeamProjectAvatarController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RemoveTeamProjectController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveTestPlanController#TfsCmdlets.Cmdlets.TestManagement.RemoveTestPlanController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveUserController#TfsCmdlets.Controllers.Identity.User.RemoveUserController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWikiController#TfsCmdlets.Cmdlets.Wiki.RemoveWikiController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemController#TfsCmdlets.Cmdlets.WorkItem.RemoveWorkItemController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RemoveWorkItemTagController#TfsCmdlets.Cmdlets.WorkItem.Tagging.RemoveWorkItemTagController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameGitRepositoryController#TfsCmdlets.Cmdlets.Git.RenameGitRepositoryController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamController#TfsCmdlets.Cmdlets.Team.RenameTeamController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_RenameTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.RenameTeamProjectController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_ResumeBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.ResumeBuildDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetIterationController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.SetIterationController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamBoardCardRuleController#TfsCmdlets.Cmdlets.Team.Board.SetTeamBoardCardRuleController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamController#TfsCmdlets.Cmdlets.Team.SetTeamController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetTeamProjectController#TfsCmdlets.Cmdlets.TeamProject.SetTeamProjectController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SetWorkItemController#TfsCmdlets.Cmdlets.WorkItem.SetWorkItemController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_StartBuildController#TfsCmdlets.Cmdlets.Pipeline.Build.StartBuildController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_SuspendBuildDefinitionController#TfsCmdlets.Cmdlets.Pipeline.Build.Definition.SuspendBuildDefinitionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_TestAreaController#TfsCmdlets.Cmdlets.WorkItem.AreasIterations.TestAreaController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_UndoTeamProjectRemovalController#TfsCmdlets.Cmdlets.TeamProject.UndoTeamProjectRemovalController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/CanGenerate_UninstallExtensionController#TfsCmdlets.Cmdlets.ExtensionManagement.UninstallExtensionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetConfigurationServerConnectionStringController#TfsCmdlets.Cmdlets.Admin.GetConfigurationServerConnectionStringController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetInstallationPathController#TfsCmdlets.Cmdlets.Admin.GetInstallationPathController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.GetRegistryValueController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateGetVersionController#TfsCmdlets.Cmdlets.Admin.GetVersionController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/ControllerGenerator/Can_GenerateSetRegistryValueController#TfsCmdlets.Cmdlets.Admin.Registry.SetRegistryValueController.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IAccountLicensingHttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IBuildHttpClient#TfsCmdlets.HttpClients.IBuildHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IExtensionManagementHttpClient#TfsCmdlets.HttpClients.IExtensionManagementHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IFeedHttpClient#TfsCmdlets.HttpClients.IFeedHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGenericHttpClient#TfsCmdlets.HttpClients.IGenericHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitExtendedHttpClient#TfsCmdlets.HttpClients.IGitExtendedHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGitHttpClient#TfsCmdlets.HttpClients.IGitHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IGraphHttpClient#TfsCmdlets.HttpClients.IGraphHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IOperationsHttpClient#TfsCmdlets.HttpClients.IOperationsHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IPolicyHttpClient#TfsCmdlets.HttpClients.IPolicyHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProcessHttpClient#TfsCmdlets.HttpClients.IProcessHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IProjectHttpClient#TfsCmdlets.HttpClients.IProjectHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient#TfsCmdlets.HttpClients.IReleaseHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IReleaseHttpClient2#TfsCmdlets.HttpClients.IReleaseHttpClient2.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ISearchHttpClient#TfsCmdlets.HttpClients.ISearchHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IServiceHooksPublisherHttpClient#TfsCmdlets.HttpClients.IServiceHooksPublisherHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITaggingHttpClient#TfsCmdlets.HttpClients.ITaggingHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamAdminHttpClient#TfsCmdlets.HttpClients.ITeamAdminHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITeamHttpClient#TfsCmdlets.HttpClients.ITeamHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_ITestPlanHttpClient#TfsCmdlets.HttpClients.ITestPlanHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWikiHttpClient#TfsCmdlets.HttpClients.IWikiHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkHttpClient#TfsCmdlets.HttpClients.IWorkHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/CanGenerate_IWorkItemTrackingProcessHttpClient#TfsCmdlets.HttpClients.IWorkItemTrackingProcessHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/Can_Create_HttpClient#TfsCmdlets.HttpClients.IAccountLicensingHttpClient.g.verified.cs diff --git a/CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs b/CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs similarity index 100% rename from CSharp/TfsCmdlets.SourceGeneratores.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs rename to CSharp/TfsCmdlets.SourceGenerators.UnitTests/_Verify/HttpClientGenerator/Can_Create_IIdentityHttpClient#TfsCmdlets.HttpClients.IIdentityHttpClient.g.verified.cs From 125b51de72df86e2846157112eada0e0624f835d Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Sep 2025 04:06:40 -0300 Subject: [PATCH 35/36] Add unit test execution --- .github/workflows/main.yml | 1 + psake.ps1 | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4f9850e4..d33ce7477 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,6 +43,7 @@ jobs: with: files: | out\TestResults-Pester*.xml + out\*.trx - name: Publish Nuget uses: actions/upload-artifact@v4 with: diff --git a/psake.ps1 b/psake.ps1 index bf3ad6ef8..77926043e 100644 --- a/psake.ps1 +++ b/psake.ps1 @@ -231,6 +231,7 @@ Task UpdateModuleManifest { Task UnitTests -PreCondition { -not $SkipTests } { Remove-Item $OutDir/TfsCmdlets.Tests.UnitTests.log -Force -ErrorAction SilentlyContinue + Exec { dotnet test $SolutionDir/TfsCmdlets.SourceGenerators.UnitTests/TfsCmdlets.SourceGenerators.UnitTests.csproj --logger:"console;verbosity=detailed" --logger "trx;LogFileName=$OutDir/TfsCmdlets.SourceGenerators.UnitTests.trx" } #Exec { dotnet test $SolutionDir/TfsCmdlets.Tests.UnitTests/TfsCmdlets.Tests.UnitTests.csproj -f $TargetFrameworks.Core --filter "Platform!=Desktop&Platform!=Core" --logger:"console;verbosity=detailed" --logger "trx;LogFileName=$OutDir/TfsCmdlets.Tests.UnitTests.trx" > $OutDir/TfsCmdlets.Tests.UnitTests.log } } From b4ecc8ef2dfafc47739d6a9d5b241129818825ce Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Fri, 26 Sep 2025 08:47:39 -0300 Subject: [PATCH 36/36] Add default solution path to VSCode settings --- .vscode/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 2a5a0b527..abe39c65d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -41,5 +41,6 @@ "titleBar.inactiveForeground": "#e7e7e799" }, "peacock.color": "Indigo", - "dotnet.preferCSharpExtension": false + "dotnet.preferCSharpExtension": false, + "dotnet.defaultSolution": "CSharp/TfsCmdlets.sln" } \ No newline at end of file