System.Xaml.XamlXmlParser.FindStandardDirective C# (CSharp) Метод

FindStandardDirective() статический приватный Метод

static private FindStandardDirective ( string name, AllowedMemberLocations loc ) : XamlDirective
name string
loc AllowedMemberLocations
Результат XamlDirective
		static XamlDirective FindStandardDirective (string name, AllowedMemberLocations loc)
		{
			return XamlLanguage.AllDirectives.FirstOrDefault (dd => (dd.AllowedLocation & loc) != 0 && dd.Name == name);
		}