Beispiel #1
0
 DbgRuntimeObjectIdService GetRuntimeObjectIdService(DbgRuntime runtime)
 {
     return(runtime.GetOrCreateData <DbgRuntimeObjectIdService>(() => {
         var service = new DbgRuntimeObjectIdServiceImpl(runtime, GetEngineObjectIdFactory(runtime.Guid));
         service.ObjectIdsChanged += DbgRuntimeObjectIdService_ObjectIdsChanged;
         return service;
     }));
 }
 public DbgObjectIdImpl(DbgRuntimeObjectIdServiceImpl owner, DbgEngineObjectId engineObjectId)
 {
     this.owner     = owner ?? throw new ArgumentNullException(nameof(owner));
     EngineObjectId = engineObjectId ?? throw new ArgumentNullException(nameof(engineObjectId));
 }