An open API service indexing awesome lists of open source software.

https://github.com/nonchalant/observablewrapper-csharp


https://github.com/nonchalant/observablewrapper-csharp

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

```CSharp
using ObservableWrapperGenerator;
using R3;

public partial class BeforeCode
{
private readonly Subject _number = new();
public Observable Number => _number.AsObservable();

private readonly BehaviorSubject _text = new("AAA");
public Observable Text => _text.AsObservable();
}

public partial class AfterCode
{
[ObservableWrapper]
private readonly Subject _number = new();

[ObservableWrapper]
private readonly BehaviorSubject _text = new("AAA");
}
```

### Reference

- https://qiita.com/amenone_games/items/762cbea245f95b212cfa
- https://learning.unity3d.jp/10120/