public IMemoryAlias CreateMemoryAlias(IWriteableSnapshotStructure targetStructure, MemoryIndex index) { CopyMemoryAlias aliases = new CopyMemoryAlias(); aliases.SetSourceIndex(index); return(aliases); }
/// <summary> /// Initializes a new instance of the <see cref="CopyMemoryAlias"/> class. /// </summary> /// <param name="memoryAlias">The memory alias.</param> public CopyMemoryAlias(CopyMemoryAlias memoryAlias) { this.sourceIndex = memoryAlias.sourceIndex; this.mayAliases = memoryAlias.mayAliases.Clone(); this.mustAliases = memoryAlias.mustAliases.Clone(); }