Gabriel Bider

Results 22 issues of Gabriel Bider

Today I stumbled upon a peculiar (although unintended) behaviour with Grace. It seems as if providing a dependency that inherits from another dependency automatically resolves that dependency. Repro: ```csharp public...

enhancement

I'm trying to export a series of classes, all inheriting from a mutual abstract class: ``` Container.Configure(_ => { _.Export(Assembly.GetAssembly(typeof(AbstractBaseClass)).GetTypes()).BasedOn().Lifestyle.Singleton(); }); ``` When locating these classes: ``` var childClassses =...

It is today possible to check whether a class has already been exported with the `IsExported` method. Unfortunately, it is a bit limited as it isn't able to check what...

A new feature called Source Generators is being developed by Microsoft, to be part of .NET 5 some time in the future. This is a way to implement reflection but...

I have the following scenario but am not sure how to solve it in Grace: A service requires a dependency that is resolved with a string parameter sent to its...

Would it be hard to add an option to use a Unicode border instead? Similar to what this tool has as an option: https://www.tablesgenerator.com/text_tables# ![image](https://user-images.githubusercontent.com/1554615/55790583-f575cb80-5abc-11e9-9cf4-dffd38926d22.png)

enhancement
help wanted

When running the command `npx jsconfig.json`, a file called `jsconfig.json` is generated at `C:\Users\\AppData\Roaming\npm` with the following contents: ``` #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") case `uname` in...

bug

Is there any way for the docs site to remember which target framework version you've selected? As of right now, when I navigate to docs from Google, it always defaults...

enhancement
Pri3

In .NET 8, the performance of `Enum`-related methods has been considerably improved, albeit not as fast as your excellent extension. Recently, Nick Chapsas promoted your extension and ran benchmarks on...

The current way RoslynTestKit is adding core metadata references to the fixture results in the compilation engine always emitting compilation errors. This can be seen if the overridable property `ThrowsWhenInputDocumentContainsError`...