コード例 #1
0
 public EntityOperationContext(T entity, OperationInfo operationInfo, EntityButtonContext context, EntityOperationSettings <T> settings)
 {
     Entity            = entity;
     OperationInfo     = operationInfo;
     Context           = context;
     OperationSettings = settings;
 }
コード例 #2
0
 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;
 }