Пример #1
0
 public static void SetFullRights(this IAccessRights rights)
 {
     rights.CanRead         = true;
     rights.CanWrite        = true;
     rights.CanChangeAccess = true;
     rights.IsOwner         = true;
 }
Пример #2
0
 public static void CopyTo(this IAccessRights original, IAccessRights target)
 {
     target.CanRead         = original.CanRead;
     target.CanWrite        = original.CanWrite;
     target.CanChangeAccess = original.CanChangeAccess;
 }
Пример #3
0
 public WebCallerProxy(IAccessRights accessRights, IWebCaller webCaller)
 {
     _accessRights = accessRights;
     _webCaller    = webCaller;
 }