예제 #1
0
        private void CreateSetupBlocks()
        {
            _blocks.AddRange(CookiePropertySetter.GetCookiePropertySetters(_type, _handler, _context));

            foreach (var behaviorInfo in RequestBehaviorInfo.GetInPriorityOrder())
            {
                AddBehaviorBlock(behaviorInfo);
            }
        }
예제 #2
0
 private IEnumerable <BehaviorInfo> GetSetupBehaviorInfos()
 {
     return(RequestBehaviorInfo.GetInPriorityOrder().Where(HandlerHasBehavior));
 }