Example #1
0
 public AutoMemoryManagementContext(IRuntimeGlobalAccessor runtimeGlobalAccessor)
 {
     this.RuntimeGlobalAccessor = runtimeGlobalAccessor;
 }
 public AutoMemoryManagementContextImpl(IRuntimeGlobalAccessor runtimeGlobalAccessor)
 {
 }
 public IAutoMemoryManagementContext CreateManagerContext(IRuntimeGlobalAccessor runtimeGlobalAccessor)
 {
     return(new AutoMemoryManagementContextImpl(runtimeGlobalAccessor));
 }
 public RuntimeGlobalAccessorChecker(IRuntimeGlobalAccessor runtimeInfoAccessor)
 {
     _underlyingRuntimeAccessor = runtimeInfoAccessor;
 }
        IAutoMemoryManagementContext IAutoMemoryManagerFabric.CreateManagerContext(IRuntimeGlobalAccessor runtimeInfoAccessor)
        {
            var underlyingFabric = this.FindGcToCheck();

            return(new AutoMemoryManagerCheckerContext(underlyingFabric.CreateManagerContext(new RuntimeGlobalAccessorChecker(runtimeInfoAccessor))));
        }
Example #6
0
 IAutoMemoryManagementContext IAutoMemoryManagerFabric.CreateManagerContext(IRuntimeGlobalAccessor runtimeInfoAccessor)
 {
     return(new AutoMemoryManagementContext(runtimeInfoAccessor));
 }