Ejemplo n.º 1
0
        public override void AcceptStore(StoreStatement stmt)
        {
            var sref = stmt.Container as SignalRef;

            if (sref == null)
            {
                Success = false;
                return;
            }
            if (sref.Prop != SignalRef.EReferencedProperty.Next)
            {
                Success = false;
                return;
            }
            var cstmt = new ConcurrentStatement(sref, stmt.Value);

            Statements.Add(cstmt);
        }
 public override void AcceptStore(StoreStatement stmt)
 {
     var sref = stmt.Container as SignalRef;
     if (sref == null)
     {
         Success = false;
         return;
     }
     if (sref.Prop != SignalRef.EReferencedProperty.Next)
     {
         Success = false;
         return;
     }
     var cstmt = new ConcurrentStatement(sref, stmt.Value);
     Statements.Add(cstmt);
 }