public bool IsOperation(OperationContextOperationType operationType) { if ((OperationContextOperationType)this.GetValueByField(OperationContextFieldName.OperationType) == operationType) { return(true); } return(false); }
/// <summary> /// Verifica se o contexto é um operação do tipo informado. /// </summary> /// <param name="operationType"></param> /// <returns></returns> public bool IsOperation(OperationContextOperationType operationType) { return(((OperationContextOperationType)this.GetValueByField(OperationContextFieldName.OperationType)) == operationType); }
public bool IsOperation(OperationContextOperationType operationType) { if ((OperationContextOperationType)this.GetValueByField(OperationContextFieldName.OperationType) == operationType) { return true; } return false; }