/// <summary> /// Returns the Context Item as strongly typed /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> protected virtual T GetContext <T>(GetKnownOptions options = null) where T : class { return(MvcContext.GetContextItem <T>(options)); }
/// <summary> /// Returns the Context Item as strongly typed /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public T GetContext <T>(GetKnownOptions options = null) where T : class { return(MvcContext.GetContextItem <T>(options ?? new GetKnownOptions())); }