コード例 #1
0
 /// <summary>
 /// Creates a S3Grant and adds it to the list of grants.
 /// </summary>
 /// <param name="grantee">The grantee for the grant.</param>
 /// <param name="permission">The permission for the grantee.</param>
 public void AddGrant(S3Grantee grantee, S3Permission permission)
 {
     S3Grant grant = new S3Grant();
     grant.WithGrantee(grantee);
     grant.WithPermission(permission);
     this.grantList.Add(grant);
 }
コード例 #2
0
 public void AddGrant(S3Grantee grantee, S3Permission permission)
 {
     S3Grant item = new S3Grant();
     item.WithGrantee(grantee);
     item.WithPermission(permission);
     this.grantList.Add(item);
 }
コード例 #3
0
        /// <summary>
        /// Creates a S3Grant and adds it to the list of grants.
        /// </summary>
        /// <param name="grantee">The grantee for the grant.</param>
        /// <param name="permission">The permission for the grantee.</param>
        public void AddGrant(S3Grantee grantee, S3Permission permission)
        {
            S3Grant grant = new S3Grant();

            grant.WithGrantee(grantee);
            grant.WithPermission(permission);
            Grants.Add(grant);
        }
コード例 #4
0
        public void AddGrant(S3Grantee grantee, S3Permission permission)
        {
            S3Grant item = new S3Grant();

            item.WithGrantee(grantee);
            item.WithPermission(permission);
            this.grantList.Add(item);
        }