Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Discord.Net.Core/Utils/Cacheable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public struct Cacheable<TEntity, TId>
/// </remarks>
public TEntity Value { get; }
private Func<Task<TEntity>> DownloadFunc { get; }

internal Cacheable(TEntity value, TId id, bool hasValue, Func<Task<TEntity>> downloadFunc)
public Cacheable(TEntity value, TId id, bool hasValue, Func<Task<TEntity>> downloadFunc)
{
Value = value;
Id = id;
Expand Down Expand Up @@ -84,7 +84,7 @@ public struct Cacheable<TCachedEntity, TDownloadableEntity, TRelationship, TId>
public TCachedEntity Value { get; }
private Func<Task<TDownloadableEntity>> DownloadFunc { get; }

internal Cacheable(TCachedEntity value, TId id, bool hasValue, Func<Task<TDownloadableEntity>> downloadFunc)
public Cacheable(TCachedEntity value, TId id, bool hasValue, Func<Task<TDownloadableEntity>> downloadFunc)
{
Value = value;
Id = id;
Expand Down