示例#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));
 }