/// <summary> /// Public constructor /// </summary> public MockTypeLib() { _containedTypeInfos = new List<MockTypeInfo>(); _typeLibAttributes.guid = Guid.NewGuid(); _exportedFromComPlus = null; _memoryHelper = new MockUnmanagedMemoryHelper(); _faultInjector = new MockFaultInjectionHelper<MockTypeLibrariesFailurePoints>(); }
/// <summary> /// Sets the fault injection object for this type /// </summary> /// <param name="faultInjector"></param> public void SetFaultInjector(MockFaultInjectionHelper<MockTypeLibrariesFailurePoints> faultInjector) { _faultInjector = faultInjector; }