Export attributes should only be allowed on class
See original GitHub issueI wanted to export some instances with attributes, so I was pleasantly surprised that ExportAttribute
can be put on a property.
Some research later, I find nothing in Grace code that looks at export attributes on anything else than a class, so their attribute target should probably be changed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Python 2: export class attributes from a local variable to the ...
I'm writing all the classes so I can guarantee no name collisions. Making MyClass a subclass of Stuffclass won't work, because I actually...
Read more >Attributed programming model overview (MEF)
In the attributed programming model, imports and exports are declared by decorating classes or members with the Import and Export attributes.
Read more >Attributes on an Export scenario
I am only able to export attributes resulting in one per line attr. ... No, for some reason I can export most of...
Read more >Exporting attributes of CI class into Spreadsheet
Hi, My colleague doesn't have admin rights to see attributes of various CI classes. So, he is looking for me to walk him...
Read more >Export features to individual feature classes based on ...
This article provides two alternative workflows to export features to individual feature classes based on unique attributes using the Split By ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah it is interesting how fluent registrations became so popular because registering hundreds (we have 500+) by hand sounds horrible. I usually just export a whole assembly by interface and apply lifestyles based on naming convention and patch any missing piece with fluent registration (there isn’t usually much).
I’ll make the change to the attribute usage to clear up any confusion. Sorry for the inconvenience.
@ipjohnson sorry to necro that old issue, but I do have a related question:
I have cases where some of my assemblies has to export from a factory method. Is there a way to achieve this with attributes and automatic discovery?