Esempio n. 1
0
        public void AddOrUpdateSignalSource(SignalSource signalSource)
        {
            var builder = signalSources.ToBuilder();

            builder.Add(signalSource);
            signalSources = builder.ToImmutable();
        }
Esempio n. 2
0
 public SignalAmount(SignalSource signalSource, int amount)
 {
     this.signalSource = signalSource;
     this.amount       = amount;
 }