System.Xml.Schema.DtdValidator.MeetsStandAloneConstraint C# (CSharp) 메소드

MeetsStandAloneConstraint() 개인적인 메소드

private MeetsStandAloneConstraint ( ) : bool
리턴 bool
        private bool MeetsStandAloneConstraint() {
            if (reader.StandAlone &&                  // VC 1 - iv
                 context.ElementDecl != null &&
                 context.ElementDecl.IsDeclaredInExternal && 
                 context.ElementDecl.ContentValidator.ContentType == XmlSchemaContentType.ElementOnly) {
                 SendValidationEvent(Res.Sch_StandAlone);
                 return false;
            }
            return true;
        }