예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelationProxy"/> class.
 /// </summary>
 /// <param name="newRelation">The new relation.</param>
 /// <param name="status">The status.</param>
 public RelationProxy(IReadonlyRelation <IRelatableEntity, IRelatableEntity> newRelation, RelationProxyStatus status)
 {
     Item   = newRelation;
     Status = status;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelationProxy"/> class.
 /// </summary>
 /// <param name="newRelation">The new relation.</param>
 /// <param name="status">The status.</param>
 public RelationProxy(IReadonlyRelation<IRelatableEntity, IRelatableEntity> newRelation, RelationProxyStatus status)
 {
     Item = newRelation;
     Status = status;
 }