コード例 #1
0
        /// <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
        {
            options = options == null ? new GetKnownOptions() : options;

            return(WebContext.GetContextItem <T>(options));
        }