protected DependencyReader(DependencyReader parent, long virtualOrigin)
            : base(parent, virtualOrigin)
        {
            if (parent == null)
            {
                throw new ArgumentNullException(nameof(parent));
            }

            registeredTypes     = parent.registeredTypes;
            registeredInstances = parent.registeredInstances;
            ctorLookup          = parent.ctorLookup;
            DynamicReadEnabled  = true;
        }
Exemple #2
0
        public Pointer64(DependencyReader reader, IAddressTranslator translator)
        {
            if (reader == null)
            {
                throw new ArgumentNullException(nameof(reader));
            }

            if (translator == null)
            {
                throw new ArgumentNullException(nameof(translator));
            }

            this._value     = reader.ReadInt64();
            this.translator = translator;
        }
Exemple #3
0
 public Pointer(DependencyReader reader, IAddressTranslator translator)
     : this(reader, translator, null)
 {
 }