Ejemplo n.º 1
0
 internal static SetterDelegate ScopeTypeSetterDelegate(ScopeLocation scopeLocation)
 {
     return(delegate(object value, IPropertyBag propertyBag)
     {
         RoleFlagsFormat.SetScopeBits((uint)((ScopeType)value), propertyBag, scopeLocation);
     });
 }
Ejemplo n.º 2
0
 internal static object GetIsDeprecated(IPropertyBag propertyBag)
 {
     return(RoleState.Deprecated.Equals(RoleFlagsFormat.GetRoleState(propertyBag)));
 }
Ejemplo n.º 3
0
 internal static GetterDelegate ScopeTypeGetterDelegate(ScopeLocation scopeLocation)
 {
     return((IPropertyBag propertyBag) => (ScopeType)RoleFlagsFormat.GetScopeBits(propertyBag, scopeLocation));
 }