/// <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); }
public void AddGrant(S3Grantee grantee, S3Permission permission) { S3Grant item = new S3Grant(); item.WithGrantee(grantee); item.WithPermission(permission); this.grantList.Add(item); }
/// <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); }