コード例 #1
0
        /// <summary>
        /// Synchronously executes a <see cref="SwitchAction" /> on the current call.
        /// </summary>
        /// <param name="action">The action to be executed.</param>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="action" /> is <c>null</c>.</exception>
        public void Execute(SwitchAction action)
        {
            if (action == null)
            {
                throw new ArgumentNullException("action");
            }

            ActionRenderingContext.Execute(action);
        }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="action"></param>
 public void Execute(SwitchAction action)
 {
     throw new NotImplementedException();
 }