示例#1
0
 /// <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;
     }
 }
示例#2
0
 public HTMLOperationContextScope(HTMLService service, IDictionary <string, string> dictionary)
 {
     dictionary = HTMLOperationContext.GetDefaults().Merge(dictionary, key => key.ToUpper());
     context    = new HTMLOperationContext(service, dictionary);
 }
示例#3
0
 public ApplicationOptionsFactoryImpl(HTMLOperationContext context)
 {
     this.context = context;
 }