You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That changelog did not help us. We've resolved one issue. However, we've not idea out addPolicies usage.
`
///
/// Called when [register].
///
/// The sender.
/// The instance containing the event data.
private void OnRegister(object sender, RegisterEventArgs e)
{
System.Diagnostics.Debug.Assert(false, "OnRegister");
if (e != null && e.TypeFrom != null && e.TypeFrom.IsInterface)
{
/*var interfaceInterceptor = new Interceptor();
interfaceInterceptor.AddPolicies(e.TypeFrom, e.TypeTo, e.Name, Context.Policies);
var interceptionBehavior = new InterceptionBehavior<LogMethodInterceptionBehavior>();
interceptionBehavior.AddPolicies(e.TypeFrom, e.TypeTo, e.Name, Context.Policies);*/
}
}
`
At the minute, AddPolicies is throwing compile time error stating Context.Policies is read-only.
Activity