System.Collections.Generic.IEnumerable.Contains(XmlQualifiedName)

Here are the examples of the csharp api System.Collections.Generic.IEnumerable.Contains(XmlQualifiedName) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

19 Source : QueryExtensions.cs
with Microsoft Public License
from mamift

public static bool DefinesXsdType(this XmlSchemaSet schemas, XmlQualifiedName name)
        {
            return schemas.GlobalXsdTypes().QNames().Contains(name);
        }

19 Source : QueryExtensions.cs
with Microsoft Public License
from mamift

public static bool DefinesXsdElement(this XmlSchemaSet schemas, XmlQualifiedName name)
        {
            return schemas.GlobalXsdElements().QNames().Contains(name);
        }

19 Source : QueryExtensions.cs
with Microsoft Public License
from mamift

public static bool DefinesXsdAttribute(this XmlSchemaSet schemas, XmlQualifiedName name)
        {
            return schemas.GlobalXsdAttributes().QNames().Contains(name);
        }