Ejemplo n.º 1
0
 public static void SetFullRights(this IAccessRights rights)
 {
     rights.CanRead         = true;
     rights.CanWrite        = true;
     rights.CanChangeAccess = true;
     rights.IsOwner         = true;
 }
Ejemplo n.º 2
0
 public static void CopyTo(this IAccessRights original, IAccessRights target)
 {
     target.CanRead         = original.CanRead;
     target.CanWrite        = original.CanWrite;
     target.CanChangeAccess = original.CanChangeAccess;
 }
Ejemplo n.º 3
0
 public WebCallerProxy(IAccessRights accessRights, IWebCaller webCaller)
 {
     _accessRights = accessRights;
     _webCaller    = webCaller;
 }