vault/csharp/Naveego.Vault/Secret.cs
/// <summary>
///     Returns a new secret with the new <paramref name="data" />
///     and a shallow copy of all other properties.
/// </summary>
/// <param name="data"></param>
/// <typeparam name="TOther"></typeparam>
/// <returns></returns>
Returns a new secret with the new
and a shallow copy of all other properties.
Returns a new secret with the new and a shallow copy of all other properties .
public Secret<TOther> ReWrap<TOther>(TOther data)
        {
            return new Secret<TOther>
            {
                Data = data,
                Renewable = Renewable,
                LeaseDuration = LeaseDuration,
                Auth = Auth,
                Warnings = Warnings,
                LeaseId = LeaseId,
                RequestId = RequestId
            };
        }
public Secret < TOther > ReWrap < TOther > ( TOther data ) { return new Secret < TOther > { Data = data , Renewable = Renewable , LeaseDuration = LeaseDuration , Auth = Auth , Warnings = Warnings , LeaseId = LeaseId , RequestId = RequestId } ; }
Returns a new secret with the new
and a shallow copy of all other properties.
Returns a new secret with the new and a shallow copy of all other properties .
None
data
TOther
None
typeparam
None