public IEnumerable <Guid> GetAggregateProjectKinds(IVsHierarchy hierarchy) { ProjectMock dteProject = hierarchy as ProjectMock; if (dteProject == null) { FluentAssertions.Execution.Execute.Assertion.FailWith($"Only expecting {nameof(ProjectMock)} type"); } return(dteProject.GetAggregateProjectTypeGuids()); }
public IEnumerable <Guid> GetAggregateProjectKinds(IVsHierarchy hierarchy) { ProjectMock dteProject = hierarchy as ProjectMock; if (dteProject == null) { Assert.Inconclusive($"Only expecting {nameof(ProjectMock)} type"); } return(dteProject.GetAggregateProjectTypeGuids()); }