Change folder structure, add solution to the root.
This commit is contained in:
23
DaggerFramework/Source/Resources/Resource.cs
Executable file
23
DaggerFramework/Source/Resources/Resource.cs
Executable file
@@ -0,0 +1,23 @@
|
||||
namespace DaggerFramework
|
||||
{
|
||||
public abstract class Resource : IDisposable
|
||||
{
|
||||
public string? Path { get => _path; set => _path = value; }
|
||||
public byte[]? Buffer { get => _buffer; set => _buffer = value; }
|
||||
|
||||
public Resource(string path, byte[] buffer)
|
||||
{
|
||||
_path = path;
|
||||
_buffer = buffer;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Buffer = null;
|
||||
Path = null;
|
||||
}
|
||||
|
||||
private string? _path;
|
||||
private byte[]? _buffer;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user