Adjust project structure
This commit is contained in:
1 parent
d38912f5da
commit
e3c436f939
2111 files changed
+14028
-47199
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
|
||||
namespace HandyControl.Data
|
||||
{
|
||||
internal class GifFrameDimension
|
||||
{
|
||||
public GifFrameDimension(Guid guid) => Guid = guid;
|
||||
|
||||
public Guid Guid { get; }
|
||||
|
||||
public static GifFrameDimension Time { get; } = new GifFrameDimension(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}"));
|
||||
|
||||
public static GifFrameDimension Resolution { get; } = new GifFrameDimension(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}"));
|
||||
|
||||
public static GifFrameDimension Page { get; } = new GifFrameDimension(new Guid("{7462dc86-6180-4c7e-8e3f-ee7333a7a483}"));
|
||||
|
||||
public override bool Equals(object o) => o is GifFrameDimension format && Guid == format.Guid;
|
||||
|
||||
public override int GetHashCode() => Guid.GetHashCode();
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (Equals(this, Time)) return "Time";
|
||||
if (Equals(this, Resolution)) return "Resolution";
|
||||
if (Equals(this, Page)) return "Page";
|
||||
return "[FrameDimension: " + Guid + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user