ApiExplorerModel Class

Summary

A model for ApiExplorer properties associated with a controller or action.

Syntax

public class ApiExplorerModel

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel

Constructors

Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel.ApiExplorerModel()

Creates a new [Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel](Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel.yml).

public ApiExplorerModel()
ApiExplorerModel(Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel)

Creates a new [Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel](Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel.yml) with properties copied from <paramref name=”other” />.

Arguments:
public ApiExplorerModel(ApiExplorerModel other)

Properties

GroupName()

The value for <c>APIExplorer.ApiDescription.GroupName</c> of

<c>APIExplorer.ApiDescription</c> objects created for the associated controller or action.

Return type:System.String
public string GroupName { get; set; }
IsVisible()

If <c>true</c>, <c>APIExplorer.ApiDescription</c> objects will be created for the associated controller or action.

Return type:System.Nullable{System.Boolean}
public bool ? IsVisible { get; set; }