Flavien/quickwire

how to use RegisterFactory?

li-zheng-hao opened this issue · 0 comments

this is a great library that I am planning to integrate it into my project,but currently I have some questions

i see this in readme:

When applying the [RegisterFactory] attribute to a static method, the static method will be registered as a factory used

what does it mean? What is the useage of this attribute?

some sample code or a more detailed explanation would be greatly appreciated😊