Exemplo n.º 1
0
        protected ParamMarker CreateParam(int index)
        {
            ParamMarker param = new ParamMarker(index);

            param.SetCacheEvalRst(cacheEvalRst);
            return(param);
        }
Exemplo n.º 2
0
 public LimitFragment(ParamMarker offsetP, decimal size)
 {
     if (offsetP == null || size == null)
     {
         throw new ArgumentNullException();
     }
     this.offsetP = offsetP;
     this.size    = size;
 }
Exemplo n.º 3
0
 public LimitFragment(ParamMarker offsetP, ParamMarker sizeP)
 {
     if (offsetP == null || sizeP == null)
     {
         throw new ArgumentNullException();
     }
     this.offsetP = offsetP;
     this.sizeP   = sizeP;
 }
Exemplo n.º 4
0
 public LimitFragment(decimal offset, ParamMarker sizeP)
 {
     if (offset == null || sizeP == null)
     {
         throw new ArgumentNullException();
     }
     this.offset = offset;
     this.sizeP  = sizeP;
 }
Exemplo n.º 5
0
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj.GetType().IsAssignableFrom(typeof(ParamMarker)))
     {
         ParamMarker that = (ParamMarker)obj;
         return(this.ParamIndex == this.ParamIndex);
     }
     return(false);
 }