Exemplo n.º 1
0
 protected void WriteUTF8ResourceString(HtmlTextWriter output, int offset, int size, bool fAsciiOnly)
 {
     if (((offset < 0) || (size < 0)) || ((offset + size) > this._maxResourceOffset))
     {
         throw new ArgumentOutOfRangeException("offset");
     }
     output.WriteUTF8ResourceString(this.StringResourcePointer, offset, size, fAsciiOnly);
 }
Exemplo n.º 2
0
        protected void WriteUTF8ResourceString(HtmlTextWriter output, int offset, int size, bool fAsciiOnly)
        {
            // Make sure we don't access invalid data
            if (offset < 0 || offset + size > _maxResourceOffset)
            {
                throw new ArgumentOutOfRangeException("offset");
            }

            output.WriteUTF8ResourceString(StringResourcePointer, offset, size, fAsciiOnly);
        }
 protected internal override void Render(HtmlTextWriter output)
 {
     if (this._size == 0)
     {
         base.Render(output);
     }
     else
     {
         output.WriteUTF8ResourceString(this._tplControl.StringResourcePointer, this._offset, this._size, this._fAsciiOnly);
     }
 }
 protected internal override void Render(HtmlTextWriter output)
 {
     if (this._size == 0)
     {
         base.Render(output);
     }
     else
     {
         output.WriteUTF8ResourceString(this._tplControl.StringResourcePointer, this._offset, this._size, this._fAsciiOnly);
     }
 }
Exemplo n.º 5
0
        protected internal override void Render(HtmlTextWriter output)
        {
            // If it's just a normal string, call the base
            if (_size == 0)
            {
                base.Render(output);
                return;
            }

            output.WriteUTF8ResourceString(_tplControl.StringResourcePointer, _offset, _size, _fAsciiOnly);
        }
        protected internal override void Render(HtmlTextWriter output) {

            // If it's just a normal string, call the base
            if (_size == 0) {
                base.Render(output);
                return;
            }

            output.WriteUTF8ResourceString(_tplControl.StringResourcePointer, _offset, _size, _fAsciiOnly);
        }
 protected void WriteUTF8ResourceString(HtmlTextWriter output, int offset, int size, bool fAsciiOnly)
 {
     if (((offset < 0) || (size < 0)) || ((offset + size) > this._maxResourceOffset))
     {
         throw new ArgumentOutOfRangeException("offset");
     }
     output.WriteUTF8ResourceString(this.StringResourcePointer, offset, size, fAsciiOnly);
 }
    protected void WriteUTF8ResourceString(HtmlTextWriter output, int offset, int size, bool fAsciiOnly) {

        // Make sure we don't access invalid data
        checked {
            if (offset < 0 || size < 0 || offset + size > _maxResourceOffset)
                throw new ArgumentOutOfRangeException("offset");
        }

        output.WriteUTF8ResourceString(StringResourcePointer, offset, size, fAsciiOnly);
    }