Ejemplo n.º 1
0
        public static void RecordStepIn(
            this ICyclicAccessRecord <AccessTrace> record,
            AccessContext context,
            object sender,
            string propertyName
            )
        {
            var trace = new AccessTrace()
            {
                Context = context, Sender = sender, PropertyName = propertyName
            };

            record.RecordStepIn(trace);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:CyclicAccessGuard"/> class.
 /// </summary>
 public CyclicAccessGuard(uint allowedNumberOfCycles, ICyclicAccessRecord <TraceT> accessRecord)
 {
     this.AllowedNumberOfCycles = allowedNumberOfCycles;
     this.AccessRecord          = accessRecord;
 }
Ejemplo n.º 3
0
 internal static void ResetCyclicAccessRecord()
 {
     cyclicAccessRecord = new CyclicExpressionAccessRecord();
 }