public static void StepInOrThrow( this ICyclicAccessGuard <AccessTrace> guard, AccessContext context, object sender, string propertyName ) { var trace = new AccessTrace() { Context = context, Sender = sender, PropertyName = propertyName }; guard.StepInOrThrow(trace); }
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); }
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)); }