コード例 #1
0
ファイル: PropertyBase.cs プロジェクト: AlexeyRaga/Ziggurat
 //ignore events I don't care about
 public void When(IPropertyDefinitionEvent evt)
 {
 }
コード例 #2
0
 //Redirect all property events to properties
 public void When(IPropertyDefinitionEvent evt)
 {
     var propertyToDeliverEvent = _properties.FirstOrDefault(x => x.Id == evt.PropertyId);
     if (propertyToDeliverEvent != null)
         ((dynamic)propertyToDeliverEvent).When((dynamic)evt);
 }