예제 #1
0
        public static bool TryStepIn(
            this ICyclicAccessGuard <AccessTrace> guard,
            AccessContext context,
            object sender,
            string propertyName
            )
        {
            var trace = new AccessTrace()
            {
                Context = context, Sender = sender, PropertyName = propertyName
            };

            return(guard.TryStepIn(trace));
        }
예제 #2
0
 public static bool TryStepIn(this ICyclicAccessGuard <AccessTrace> guard)
 {
     return(guard.TryStepIn(null));
 }