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

FindStandardDirective() static private method

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