示例#1
0
 public void Unpublish(UpgradeableRecord record)
 {
     records.Remove(record);
     foreach (var client in clients)
     {
         client.RecordRemoved(record);
     }
 }
示例#2
0
 public override void RecordRemoved(UpgradeableRecord record)
 {
     if (record.BindingKey() != key)
     {
         return;
     }
     Remove(record.BindingKey());
 }
示例#3
0
 public void Publish(UpgradeableRecord record)
 {
     records.Add(record);
     foreach (var client in clients)
     {
         client.RecordAdded(record);
     }
 }
示例#4
0
 public override void RecordAdded(UpgradeableRecord record)
 {
     if (record.BindingKey() != key)
     {
         return;
     }
     Apply((AnimationCurveUpgradeableRecord)record);
 }
示例#5
0
 public override void RecordAdded(UpgradeableRecord record)
 {
     if (record.BindingKey() != key)
     {
         return;
     }
     Apply((FloatUpgradeableRecord)record);
 }
示例#6
0
 public abstract void RecordRemoved(UpgradeableRecord record);
示例#7
0
 public abstract void RecordAdded(UpgradeableRecord record);