您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

PackageRelationshipCollection.cs 737B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace System.IO.Packaging
  8. {
  9. public class PackageRelationshipCollection : IEnumerable<PackageRelationship>, IEnumerable
  10. {
  11. internal List<PackageRelationship> Relationships { get; private set; }
  12. internal PackageRelationshipCollection()
  13. {
  14. Relationships = new List<PackageRelationship>();
  15. }
  16. public IEnumerator<PackageRelationship> GetEnumerator()
  17. {
  18. return Relationships.GetEnumerator();
  19. }
  20. IEnumerator IEnumerable.GetEnumerator()
  21. {
  22. return GetEnumerator();
  23. }
  24. }
  25. }