public DirectivePropertyInfo(string name, Type type, XamlTextSyntax ts, AllowedMemberLocation location, IList <string> namespaceList)
     : base(name, type)
 {
     TextSyntax      = ts;
     AllowedLocation = location;
     NamespaceList   = namespaceList;
 }
Example #2
0
 internal DirectiveProperty(XamlSchemaContext context, DirectivePropertyInfo dpi)
 {
     _directiveName    = dpi.Name;
     _textSyntax       = dpi.TextSyntax;
     _allowedLocations = dpi.AllowedLocation;
     _xamlType         = context.GetXamlType(dpi.Type);
     _xmlNamespaces    = dpi.NamespaceList;
 }