예제 #1
0
            public MemoryMapperTransactionSite(InlineMemoryMapper mapper, Component host, FixedArrayRef array) :
                base(host)
            {
                _mapper = mapper;
                _array  = array;

                // work-around, since concept is currently not working: It is not possible to decide "on-the-fly" whether
                // write access is required or not, since transaction site needs to be established immediately.
                IndicateWriteAccess(true);
            }
예제 #2
0
            public MemoryMapperTransactionSite(InlineMemoryMapper mapper, Component host, FixedArrayRef array):
                base(host)
            {
                _mapper = mapper;
                _array = array;

                // work-around, since concept is currently not working: It is not possible to decide "on-the-fly" whether
                // write access is required or not, since transaction site needs to be established immediately.
                IndicateWriteAccess(true);
            }