Exemplo n.º 1
0
 public WonkaEthCustomOpRule(int pnRuleID,
                             TARGET_RECORD peTargetRecord,
                             int pnTargetAttrId,
                             string psCustomOpName,
                             WonkaBizRulesXmlReader.ExecuteCustomOperator poCustomOpDelegate,
                             WonkaBizSource poCustomOpSource)
     : base(pnRuleID, peTargetRecord, pnTargetAttrId, psCustomOpName, poCustomOpDelegate, poCustomOpSource)
 {
 }
Exemplo n.º 2
0
        public CustomOperatorRule(int pnRuleID,
                                  TARGET_RECORD peTargetRecord,
                                  int pnTargetAttrId,
                                  string psCustomOpName,
                                  WonkaBizRulesXmlReader.ExecuteCustomOperator poCustomOpDelegate,
                                  WonkaBizSource poCustomOpSource)
            : base(pnRuleID, RULE_TYPE.RT_CUSTOM_OP)
        {
            Init(peTargetRecord, pnTargetAttrId, null);

            CustomOpName     = psCustomOpName;
            CustomOpDelegate = poCustomOpDelegate;
            CustomOpSource   = poCustomOpSource;
        }
Exemplo n.º 3
0
        public WonkaBizSource(string psSourceId, string psSenderAddr, string psPwd, string psContractAddr, string psABI, WonkaBizRulesXmlReader.ExecuteCustomOperator poCustomOpDelegate, string psCustomOpMethodName)
        {
            this.SourceId     = psSourceId;
            this.TypeOfSource = SOURCE_TYPE.SRC_TYPE_CONTRACT;

            this.SenderAddress   = psSenderAddr;
            this.Password        = psPwd;
            this.ContractAddress = psContractAddr;
            this.ContractABI     = psABI;

            this.APIServerAddress = string.Empty;
            this.APIServerPort    = -1;
			this.SqlServer        = this.SqlDatabase = this.SqlUsername = this.SqlPassword = this.SqlQueryOrProcedure = string.Empty;

            this.CustomOpDelegate    = poCustomOpDelegate;
            this.CustomOpMethodName  = psCustomOpMethodName;
            this.CustomOpRuleBuilder = null;
        }