示例#1
0
 void IMessage.ReallocateTextBuffer(IStringSliceReallocator alloc)
 {
     text      = alloc.Reallocate(text);
     textML    = null;
     rawText   = alloc.Reallocate(rawText);
     rawTextML = null;
 }
示例#2
0
 protected override void DoReallocateTextBuffer(IStringSliceReallocator alloc)
 {
     base.DoReallocateTextBuffer(alloc);
     message = alloc.Reallocate(message);
 }
示例#3
0
 void IMessage.ReallocateTextBuffer(IStringSliceReallocator alloc)
 {
     DoReallocateTextBuffer(alloc);
 }
示例#4
0
 protected virtual void DoReallocateTextBuffer(IStringSliceReallocator alloc)
 {
     rawText = alloc.Reallocate(rawText);
 }