Closed arphox closed 3 years ago
I suggest trying all code examples before publishing them to the wiki. I fixed these kinds of errors in the Containers.md file.
Oops 😳!
I think I fixed up most of the examples in the wiki recently, but I must have missed this one. Thanks!
Also, I don't know if the code snippets are meant to be runnable, but:
Not sure. I see the benefit to making them runnable, but I like the current order where I first show the code, then explain what happens. I don't want all the boilerplat of a main method. Will have to think about it.
I suggest trying all code examples before publishing them to the wiki. I fixed these kinds of errors in the Containers.md file.
Also, I don't know if the code snippets are meant to be runnable, but:
namespace Examples { [Register(typeof(A))] public partial class MyContainer : IContainer { }
}