System.Xml.Schema.XsdBuilder.InitSimpleContentRestriction C# (CSharp) Méthode

InitSimpleContentRestriction() private static méthode

private static InitSimpleContentRestriction ( XsdBuilder builder, string value ) : void
builder XsdBuilder
value string
Résultat void
        private static void InitSimpleContentRestriction(XsdBuilder builder, string value)
        {
            if (builder._simpleContent.Content != null)
            {
                builder.SendValidationEvent(SR.Sch_DupElement, "restriction");
            }
            builder._xso = builder._simpleContentRestriction = new XmlSchemaSimpleContentRestriction();
            builder._simpleContent.Content = builder._simpleContentRestriction;
        }
XsdBuilder