Exemplo n.º 1
0
 public DirectivePropertyInfo(string name, Type type, XamlTextSyntax ts, AllowedMemberLocation location, IList <string> namespaceList)
     : base(name, type)
 {
     TextSyntax      = ts;
     AllowedLocation = location;
     NamespaceList   = namespaceList;
 }
Exemplo n.º 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;
 }