The VB code in AuthorizationRules that access the per-type rules reads like...
Private ReadOnly Property TypeRules() As AuthorizationRulesManager
Get
If mTypeRules Is Nothing Then
mTypeRules = SharedAuthorizationRules.GetManager(mBusinessObjectType, True)
End If
Return mTypeRules
End Get
End Property
However, the C# version in CVS reads like...
private AuthorizationRulesManager TypeRules
{
get
{
if (_typeRules == null)
_typeRules = new AuthorizationRulesManager();
return _typeRules;
}
}
I'm thinking it should read as follows...
private AuthorizationRulesManager TypeRules
{
get
{
if (_typeRules == null)
_typeRules = SharedAuthorizationRules.GetManager(_businessObjectType, true);
return _typeRules;
}
}
Copyright (c) Marimer LLC