Beispiel #1
0
        /// <summary>
        /// Initializes a new instance of the AnyParticleValidator.
        /// </summary>
        /// <param name="particleConstraint"></param>
        internal NsAnyParticleValidator(NsAnyParticle particleConstraint)
            : base()
        {
            Debug.Assert(particleConstraint != null);
            Debug.Assert(particleConstraint.ParticleType == ParticleType.AnyWithUri);

            this._nsAnyParticleConstraint = particleConstraint;
        }
        /// <summary>
        /// Initializes a new instance of the AnyParticleValidator.
        /// </summary>
        /// <param name="particleConstraint"></param>
        internal NsAnyParticleValidator(NsAnyParticle particleConstraint)
            : base()
        {
            Debug.Assert(particleConstraint != null);
            Debug.Assert(particleConstraint.ParticleType == ParticleType.AnyWithUri);

            this._nsAnyParticleConstraint = particleConstraint;
        }