/// <summary>Releases unmanaged and - optionally - managed resources.</summary> /// <param name="disposing"> /// <c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param> protected virtual void Dispose(bool disposing) { if (disposing) { context = null; } }
public SVGOperationContextScope(SVGService service, IDictionary <string, string> dictionary) { dictionary = SVGOperationContext.GetDefaults().Merge(dictionary, key => key.ToUpper()); context = new SVGOperationContext(service, dictionary); }
public ApplicationOptionsFactoryImpl(SVGOperationContext context) { this.context = context; }