コード例 #1
0
		public static IAppBuilder UseConfigurationPage(this IAppBuilder builder, ConfigurationPageOptions options)
		{
			if (builder == null)
			{
				throw new ArgumentNullException("builder");
			}
			return builder.Use(typeof(ConfigurationPageMiddleware), options);
		}
コード例 #2
0
 public static IAppBuilder UseConfigurationPage(this IAppBuilder builder, ConfigurationPageOptions options)
 {
     if (builder == null)
     {
         throw new ArgumentNullException("builder");
     }
     return(builder.Use(typeof(ConfigurationPageMiddleware), options));
 }
コード例 #3
0
 public ConfigurationPageMiddleware(AppFunc next, ConfigurationPageOptions options)
 {
     m_next    = next;
     m_options = options;
 }