TypeKitchen icon indicating copy to clipboard operation
TypeKitchen copied to clipboard

Documentation

Open SuperJMN opened this issue 5 years ago • 3 comments

Hi! the idea is interesting. I'm always having troubles with tasks like invoking the ToList extensoin method on something via reflection.

However, I haven't found any documentation in this project. I hope you could add samples to clarify how this library can be used.

Thanks :)

SuperJMN avatar Mar 17 '20 22:03 SuperJMN

@SuperJMN This is a fair point.

I just started a GitBook for this: https://daniel-crenna.gitbook.io/typekitchen/

I added field & property access, I'll ping you when I get an example for your use case added, should be shortly.

danielcrenna avatar Mar 24 '20 19:03 danielcrenna

Thanks a lot! I'm really looking forward to it

SuperJMN avatar Mar 27 '20 15:03 SuperJMN

@danielcrenna I've found a interesting use case for TypeKitchen:

await instance.ExecuteTask("Method", parameters)

Given that instance is a reference to MyClass, and having this

class MyClass 
{
     Task<object> Method(int a, int b, string c) { ... }
}

What do you think?

SuperJMN avatar Apr 02 '20 08:04 SuperJMN