public ICustomRuntimeRegistrationToken Register(ICustomRuntime customRuntime) { CustomRuntimeRegistration registration = new CustomRuntimeRegistration(this, customRuntime); _activeRegistrations[registration] = null; return(registration); }
ICustomRuntimeRegistrationToken ICustomRuntimeManager.Register(ICustomRuntime customRuntime) { Debug.Assert(customRuntime != null); return _customRuntimeManager.Register(customRuntime); }
public CustomRuntimeRegistration(CustomRuntimeManager customRuntimeManager, ICustomRuntime customRuntime) { _customRuntimeManager = customRuntimeManager; CustomRuntime = customRuntime; }
public ICustomRuntimeRegistrationToken Register(ICustomRuntime customRuntime) { CustomRuntimeRegistration registration = new CustomRuntimeRegistration(this, customRuntime); _activeRegistrations[registration] = null; return registration; }