System.Xaml.XamlXmlReader.FindStandardDirective C# (CSharp) Method

FindStandardDirective() private method

private FindStandardDirective ( string name, AllowedMemberLocations loc ) : XamlDirective
name string
loc AllowedMemberLocations
return XamlDirective
		XamlDirective FindStandardDirective (string name, AllowedMemberLocations loc)
		{
			return XamlLanguage.AllDirectives.FirstOrDefault (dd => (dd.AllowedLocation & loc) != 0 && dd.Name == name);
		}