System.Xaml.XamlDirective.XamlDirective C# (CSharp) Method

XamlDirective() public method

public XamlDirective ( IEnumerable xamlNamespaces, string name, XamlType xamlType, XamlValueConverter typeConverter, AllowedMemberLocations allowedLocation ) : System
xamlNamespaces IEnumerable
name string
xamlType XamlType
typeConverter XamlValueConverter
allowedLocation AllowedMemberLocations
return System
		public XamlDirective (IEnumerable<string> xamlNamespaces, string name, XamlType xamlType, XamlValueConverter<TypeConverter> typeConverter, AllowedMemberLocations allowedLocation)
			: base (true, xamlNamespaces != null ? xamlNamespaces.FirstOrDefault () : null, name)
		{
			if (xamlNamespaces == null)
				throw new ArgumentNullException ("xamlNamespaces");
			if (xamlType == null)
				throw new ArgumentNullException ("xamlType");

			type = xamlType;
			xaml_namespaces = new List<string> (xamlNamespaces);
			AllowedLocation = allowedLocation;
			type_converter = typeConverter;
			
			invoker = new DirectiveMemberInvoker (this);
		}

Same methods

XamlDirective::XamlDirective ( string xamlNamespace, string name ) : System