[ObleakSubscription] // This attribute is irrelevant as it's on the class public ComplexClass(string s) : base(s) { SerialDisposable = new SerialDisposable(); MethodModel = new ThreeMethodsWithMultipleSubscribesModel(); Subject = new Subject <string>(); // NO CALLS TO SUBSCRIBE HERE }
public ComplexClass() { SerialDisposable = new SerialDisposable(); MethodModel = new ThreeMethodsWithMultipleSubscribesModel(); Subject = new Subject <string>(); DisposableTestContainer.Add( this.WhenAnyValue(x => x.StringProperty).Subscribe()); }