GetAggregateProjectTypeGuids() public method

public GetAggregateProjectTypeGuids ( ) : IEnumerable
return IEnumerable
示例#1
0
        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());
        }