示例#1
0
        public void AddOrUpdateSignalSource(SignalSource signalSource)
        {
            var builder = signalSources.ToBuilder();

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