File: Modeler\MethodGroupModel.cs | Web Access |
Project: src\src\Microsoft.DotNet.SwaggerGenerator\Microsoft.DotNet.SwaggerGenerator.CodeGenerator\Microsoft.DotNet.SwaggerGenerator.CodeGenerator.csproj (Microsoft.DotNet.SwaggerGenerator.CodeGenerator) |
using System.Collections.Generic; using System.Collections.Immutable; namespace Microsoft.DotNet.SwaggerGenerator.Modeler { public class MethodGroupModel { public MethodGroupModel(string name, string ns, IList<MethodModel> methods) { Name = name; Namespace = ns; Methods = methods.ToImmutableList(); } public string Namespace { get; } public string Name { get; } public IImmutableList<MethodModel> Methods { get; } } } |