Microsoft.R.Core.Formatting.FormattingScope.Dispose C# (CSharp) Метод

Dispose() публичный Метод

public Dispose ( ) : void
Результат void
        public void Dispose() {
            _tb.IndentBuilder.SetIndentLevel(_previousIndentLevel);
        }
    }

Usage Example

Пример #1
0
 public void TryCloseScope(int tokenIndex)
 {
     if (_formattingScopes.Count > 1)
     {
         if (_formattingScopes.Peek().CloseCurlyBraceTokenIndex == tokenIndex)
         {
             FormattingScope scope = _formattingScopes.Pop();
             scope.Dispose();
         }
     }
 }
All Usage Examples Of Microsoft.R.Core.Formatting.FormattingScope::Dispose