Skip to content

Instantly share code, notes, and snippets.

@pietervp
Created July 3, 2012 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pietervp/3042027 to your computer and use it in GitHub Desktop.
Save pietervp/3042027 to your computer and use it in GitHub Desktop.
public interface IConcreteEntityA : IActivatableEntity
{
//...
}
public interface IConcreteEntityB : IActivatableEntity, IAuditEntity //not possible!!!
{
//...
}
public interface IAuditEntity
{
DateTime CreatedOn { get; set; }
DateTime ModifiedOn { get; set; }
}
public interface IActivatableEntity
{
bool IsActive { get; set; }
void Active();
void DeActivate();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment