public CrossOriginPolicy(AllowCrossOrigin allowKind, string originList)
        {
            this.AllowCrossOriginKind = allowKind;
            this.AllowOriginList      = originList;

#if DEBUG
            if (allowKind == AllowCrossOrigin.Some && originList == null)
            {
                throw new NotSupportedException();
            }
#endif
        }
        public CrossOriginPolicy(AllowCrossOrigin allowKind, string originList)
        {
            this.AllowCrossOriginKind = allowKind;
            this.AllowOriginList = originList;

#if DEBUG
            if (allowKind == AllowCrossOrigin.Some && originList == null)
            {
                throw new NotSupportedException();
            }
#endif
        }