• User Documentation
  • Developer Guides
  • Source Reference
    Show / Hide Table of Contents
    • Downlink
      • BuilderExtensions
      • HostBuilderExtensions
      • Program
      • Startup
      • StartupExtensions
    • Downlink.AzureStorage
      • AzureStorage
      • AzureStorageExtensions
      • AzureStorageFileSource
      • ServiceCollectionExtensions
    • Downlink.AzureStorage.Strategies
      • AzureMatchStrategy
    • Downlink.Composition
      • IDownlinkPlugin
      • IPluginLoader
      • IPluginScanner
      • PluginLoader
      • PluginScanner
    • Downlink.Controllers
      • ApiController
      • ApiController.GoneResult
      • DownlinkController
    • Downlink.Core
      • CollectionExtensions
      • FileMetadata
      • IFileSource
      • IMatchStrategy<TObject>
      • IPatternMatcher
      • IRemoteStorage
      • IStreamingStorage
      • VersionSpec
    • Downlink.Core.Diagnostics
      • ArchitectureNotFoundException
      • NotFoundException
      • PlatformNotFoundException
      • VersionNotFoundException
      • VersionParseException
    • Downlink.Core.IO
      • Path
    • Downlink.Core.Runtime
      • FlatPatternMatcher
      • FlatPlatformMatcher
      • FlatVersionMatcher
      • HierarchicalPatternMatcher
      • RuntimePatternMatcher
    • Downlink.GitHub
      • ConfigurationExtensions
      • CredentialFactory
      • FlatMatchStrategy
      • GitHubCredentials
      • GitHubFileSource
      • GitHubMatchStrategy
      • IGitHubClient
      • OctokitClient
      • ServiceCollectionExtensions
    • Downlink.Handlers
      • FileSchemeClient
      • HttpDownloadClient
      • IResponseHandler
      • ISchemeClient
      • ProxyingResponseHandler
      • RedirectingResponseHandler
      • ResponseHandler
      • SchemeClient
    • Downlink.Hosting
      • DownlinkBuilder
      • DownlinkBuilderOptions
      • DownlinkContextPlugin
      • DownlinkDefaultServices
      • DownlinkRoutingPlugin
      • IDownlinkBuilder
      • IDownlinkBuilderExtensions
      • MvcBuilderExtensions
      • WebHostBuilderExtensions
    • Downlink.Infrastructure
      • ConfigurationExtensions
      • ConfigurationRoutePrefixBuilder
      • DownlinkRouteConvention
      • HttpClientExtensions
      • HttpRequestExtensions
      • IDownlinkRouteConvention
      • IRoutePrefixBuilder
      • ReflectionExtensions
      • ServiceFactory
      • StaticRoutePrefixBuilder
    • Downlink.Local
      • LocalFileMatchStrategy
      • LocalFileSource
      • LocalFileStorage
      • ServiceCollectionExtensions
    • Downlink.Messaging
      • ActionNotification
      • AppVersionRequest
      • AppVersionRequestHandler
      • AppVersionResponseModel
    • Downlink.S3
      • S3Configuration
      • S3FileSource
      • S3FileStorageFactory
      • S3MatchStrategy
      • S3SearchStorage
      • S3Storage
      • ServiceCollectionExtensions
    • Downlink.Storage
      • NoneStorage
      • ServiceCollectionExtensions

    Class ApiController

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    Microsoft.AspNetCore.Mvc.Controller
    ApiController
    DownlinkController
    Inherited Members
    Microsoft.AspNetCore.Mvc.Controller.View()
    Microsoft.AspNetCore.Mvc.Controller.View(System.String)
    Microsoft.AspNetCore.Mvc.Controller.View(System.Object)
    Microsoft.AspNetCore.Mvc.Controller.View(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.Controller.PartialView()
    Microsoft.AspNetCore.Mvc.Controller.PartialView(System.String)
    Microsoft.AspNetCore.Mvc.Controller.PartialView(System.Object)
    Microsoft.AspNetCore.Mvc.Controller.PartialView(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.String)
    Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.Type)
    Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.Type, System.Object)
    Microsoft.AspNetCore.Mvc.Controller.Json(System.Object)
    Microsoft.AspNetCore.Mvc.Controller.Json(System.Object, Newtonsoft.Json.JsonSerializerSettings)
    Microsoft.AspNetCore.Mvc.Controller.OnActionExecuting(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext)
    Microsoft.AspNetCore.Mvc.Controller.OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext)
    Microsoft.AspNetCore.Mvc.Controller.OnActionExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate)
    Microsoft.AspNetCore.Mvc.Controller.Dispose()
    Microsoft.AspNetCore.Mvc.Controller.Dispose(System.Boolean)
    Microsoft.AspNetCore.Mvc.Controller.ViewData
    Microsoft.AspNetCore.Mvc.Controller.TempData
    Microsoft.AspNetCore.Mvc.Controller.ViewBag
    Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(System.Int32)
    Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(System.Int32, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, System.String, System.Text.Encoding)
    Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, Microsoft.Net.Http.Headers.MediaTypeHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.NoContent()
    Microsoft.AspNetCore.Mvc.ControllerBase.Ok()
    Microsoft.AspNetCore.Mvc.ControllerBase.Ok(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.Redirect(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPermanent(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPreserveMethod(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPermanentPreserveMethod(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirect(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPermanent(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPreserveMethod(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPermanentPreserveMethod(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPreserveMethod(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanentPreserveMethod(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePreserveMethod(System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanentPreserveMethod(System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePreserveMethod(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanentPreserveMethod(System.String, System.String, System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
    Microsoft.AspNetCore.Mvc.ControllerBase.Unauthorized()
    Microsoft.AspNetCore.Mvc.ControllerBase.NotFound()
    Microsoft.AspNetCore.Mvc.ControllerBase.NotFound(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest()
    Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
    Microsoft.AspNetCore.Mvc.ControllerBase.Created(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.Created(System.Uri, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.String, System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.String, System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.Accepted()
    Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri)
    Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String, System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String, System.Object, System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.Challenge()
    Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(System.String[])
    Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
    Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
    Microsoft.AspNetCore.Mvc.ControllerBase.Forbid()
    Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(System.String[])
    Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
    Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
    Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(System.String[])
    Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(System.Object, System.Type, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(System.Object, System.Type, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(System.Object)
    Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(System.Object, System.String)
    Microsoft.AspNetCore.Mvc.ControllerBase.HttpContext
    Microsoft.AspNetCore.Mvc.ControllerBase.Request
    Microsoft.AspNetCore.Mvc.ControllerBase.Response
    Microsoft.AspNetCore.Mvc.ControllerBase.RouteData
    Microsoft.AspNetCore.Mvc.ControllerBase.ModelState
    Microsoft.AspNetCore.Mvc.ControllerBase.ControllerContext
    Microsoft.AspNetCore.Mvc.ControllerBase.MetadataProvider
    Microsoft.AspNetCore.Mvc.ControllerBase.ModelBinderFactory
    Microsoft.AspNetCore.Mvc.ControllerBase.Url
    Microsoft.AspNetCore.Mvc.ControllerBase.ObjectValidator
    Microsoft.AspNetCore.Mvc.ControllerBase.User
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.Finalize()
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Downlink.Controllers
    Assembly: Downlink.dll
    Syntax
    public class ApiController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable

    Constructors

    | Improve this Doc View Source

    ApiController(IMediator)

    Declaration
    protected ApiController(IMediator mediator)
    Parameters
    Type Name Description
    MediatR.IMediator mediator

    Properties

    | Improve this Doc View Source

    Mediator

    Declaration
    protected IMediator Mediator { get; }
    Property Value
    Type Description
    MediatR.IMediator

    Methods

    | Improve this Doc View Source

    Gone()

    Declaration
    protected IActionResult Gone()
    Returns
    Type Description
    Microsoft.AspNetCore.Mvc.IActionResult

    Extension Methods

    ReflectionExtensions.IsAssignableTo<TTarget>(Object)
    • Improve this Doc
    • View Source
    Back to top Downlink is MIT licensed and © Alistair Chapman 2017