Exemplo n.º 1
0
 void EmitAttributes(INodeWithAttributes node, CustomAttributeSetter setCustomAttribute)
 {
     foreach (Attribute attribute in node.Attributes)
     {
         setCustomAttribute(GetCustomAttributeBuilder(attribute));
     }
 }
Exemplo n.º 2
0
		void EmitAttributes(INodeWithAttributes node, CustomAttributeSetter setCustomAttribute, TypeCreator knownTypes)
		{
			foreach (Attribute attribute in node.Attributes)
				knownTypes.CreateAttributeTypes(attribute);
			foreach (Attribute attribute in node.Attributes)
				setCustomAttribute(GetCustomAttributeBuilder(attribute));
		}