Пример #1
0
        protected ParamMarker CreateParam(int index)
        {
            ParamMarker param = new ParamMarker(index);

            param.SetCacheEvalRst(cacheEvalRst);
            return(param);
        }
Пример #2
0
 public LimitFragment(ParamMarker offsetP, decimal size)
 {
     if (offsetP == null || size == null)
     {
         throw new ArgumentNullException();
     }
     this.offsetP = offsetP;
     this.size    = size;
 }
Пример #3
0
 public LimitFragment(ParamMarker offsetP, ParamMarker sizeP)
 {
     if (offsetP == null || sizeP == null)
     {
         throw new ArgumentNullException();
     }
     this.offsetP = offsetP;
     this.sizeP   = sizeP;
 }
Пример #4
0
 public LimitFragment(decimal offset, ParamMarker sizeP)
 {
     if (offset == null || sizeP == null)
     {
         throw new ArgumentNullException();
     }
     this.offset = offset;
     this.sizeP  = sizeP;
 }
Пример #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);
 }