コード例 #1
0
        /// <summary>
        ///     Converts the specified memory region.
        /// </summary>
        /// <param name="memoryRegion">The memory region.</param>
        /// <returns>IClrMemoryRegion.</returns>
        public IClrMemoryRegion Convert(ClrMd.ClrMemoryRegion memoryRegion)
        {
            if (memoryRegion == null)
            {
                return(null);
            }
            var item = new MemoryRegionAdapter(this, memoryRegion);

            return(Cache.GetOrAdd <IClrMemoryRegion>(memoryRegion, () => item, () => item.Setup()));
        }
コード例 #2
0
 public RegionInformation(ClrMemoryRegion region)
 {
     this.region = region;
 }
コード例 #3
0
 public MDMemoryRegion(ClrMemoryRegion region)
 {
     m_region = region;
 }