using System; public interface IHasDirtyFlag { bool IsDirty { get; set; } } public interface IBytesConverter { byte[] GetBytes(); void SetBytes(byte[] bytes, int offset = 0); int GetSize(); } public interface IOnPropertyChanged { event Action OnPropertyChanged; }