Interface ICanApplyID<T>
- Namespace
- Loehnert.TypeAndResult
- Assembly
- Loehnert.TypeAndResult.dll
Interface for a class which can apply an id.
public interface ICanApplyID<T> where T : EntityBase
Type Parameters
T
Type of the EntityBase class with the id to apply.
Methods
ApplyID(T)
void ApplyID(T source)
Parameters
source
TSource object.
Exceptions
- InvalidOperationException
Thrown when this doesn't equals with
source..
.