Exemplo n.º 1
0
        public IMemoryAlias CreateMemoryAlias(IWriteableSnapshotStructure targetStructure, MemoryIndex index)
        {
            CopyMemoryAlias aliases = new CopyMemoryAlias();

            aliases.SetSourceIndex(index);
            return(aliases);
        }
Exemplo n.º 2
0
 /// <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();
 }