GetAggregateProjectTypeGuids() 공개 메소드

public GetAggregateProjectTypeGuids ( ) : IEnumerable
리턴 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());
        }