public EntityViewModel(IComparer <EntityViewModel <TEntity, TKey> > comparer , ITextPresentationStrategy strategy , TEntity entity) { // TODO: Complete member initialization this.CompareStrategy = comparer; this.TextStrategy = strategy; this.Data = entity; }
public EntityViewModel(ITextPresentationStrategy strategy, TEntity entity) : this(new DefaultLookupComparer <TEntity, TKey>(), strategy, entity) { }