Exemple #1
0
        /// <summary>
        /// Registers the global filters.
        /// </summary>
        /// <param name="filters">The filters.</param>
        public new static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            BaseFilterConfig.RegisterGlobalFilters(filters);

            filters.Add(new AuthorizeAttribute());
        }
Exemple #2
0
        /// <summary>
        /// Registers the global filters.
        /// </summary>
        /// <param name="filters">The filters.</param>
        public new static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            BaseFilterConfig.RegisterGlobalFilters(filters);

            filters.Add(new PostWeddingMessageFlagAttribute());
        }
Exemple #3
0
 /// <summary>
 /// Registers the global filters.
 /// </summary>
 /// <param name="filters">The filters.</param>
 public new static void RegisterGlobalFilters(GlobalFilterCollection filters)
 {
     BaseFilterConfig.RegisterGlobalFilters(filters);
 }