/// <summary>Indexer used to retrieve the offset of a code cave, through a call to <see cref="GetCodeCaveOffset(TCodeCave)"/>.</summary> /// <param name="codeCaveID">The identifier of the code cave whose offset is to be retrieved.</param> /// <returns>Returns the offset of the given code cave.</returns> public int this[TCodeCave codeCaveID] { get { return(m_injector.GetCodeCaveOffset(codeCaveID)); } internal set { this.SendPropertyChangedNotification(DEFAULT_INDEXER_PROPERTY_NAME); } }
/// <summary> /// Indexer used to retrieve the address where a code cave has been injected, through a call /// to <see cref="Injector{TMemoryAlterationSetID, TCodeCave, TVariable}"/>.GetInjectedCodeCaveAddress(). /// </summary> /// <param name="codeCaveID">The identifier of the code cave whose injected address is to be retrieved.</param> /// <returns>Returns the address where the code cave has been injected.</returns> public IntPtr this[TCodeCave codeCaveID] { get { return(m_injector.GetInjectedCodeCaveAddress(codeCaveID).Address); } internal set { this.SendPropertyChangedNotification(DEFAULT_INDEXER_PROPERTY_NAME); } }