Junior.Route.AutoRouting.ParameterMappers.HttpApplicationStateBaseMapper.CanMapTypeAsync C# (CSharp) Method

CanMapTypeAsync() public method

public CanMapTypeAsync ( System.Web.HttpContextBase context, Type parameterType ) : Task
context System.Web.HttpContextBase
parameterType System.Type
return Task
        public Task<bool> CanMapTypeAsync(HttpContextBase context, Type parameterType)
        {
            context.ThrowIfNull("context");
            parameterType.ThrowIfNull("parameterType");

            return (parameterType == typeof(HttpApplicationStateBase)).AsCompletedTask();
        }
HttpApplicationStateBaseMapper