public EntityOperationContext(T entity, OperationInfo operationInfo, EntityButtonContext context, EntityOperationSettings <T> settings) { Entity = entity; OperationInfo = operationInfo; Context = context; OperationSettings = settings; }
public ContextualOperationContext(SelectedItemsMenuContext ctx, OperationInfo info, ContextualOperationSettings <T> settings, EntityOperationSettings <T> entityOperationSettings) { this.Context = ctx; this.OperationInfo = info; this.OperationSettings = settings; this.Entities = Context.Lites.Cast <Lite <T> >().ToList(); this.EntityOperationSettings = entityOperationSettings; }