Ejemplo n.º 1
0
        public JsOperationOptions Options()
        {
            var result = new JsOperationOptions(OperationInfo.OperationSymbol, this.Prefix)
            {
                isLite = OperationInfo.Lite
            };

            result.confirmMessage = OperationSettings != null && OperationSettings.ConfirmMessage != null?OperationSettings.ConfirmMessage(this) :
                                        OperationInfo.OperationType == OperationType.Delete ? OperationMessage.PleaseConfirmYouDLikeToDeleteTheEntityFromTheSystem.NiceToString() : null;

            return(result);
        }
Ejemplo n.º 2
0
 internal JsOperationFunction SetOptions(JsOperationOptions operationOptions)
 {
     this.operationOptions = operationOptions;
     return this;
 }
Ejemplo n.º 3
0
        public JsOperationOptions Options()
        {
            var result = new JsOperationOptions(OperationInfo.OperationSymbol, this.Prefix){ isLite = OperationInfo.Lite};

            result.confirmMessage = OperationSettings != null && OperationSettings.ConfirmMessage != null ? OperationSettings.ConfirmMessage(this) :
                OperationInfo.OperationType == OperationType.Delete ? OperationMessage.PleaseConfirmYouDLikeToDeleteTheSelectedEntitiesFromTheSystem.NiceToString() : null;

            return result;
        }