コード例 #1
0
ファイル: Ce.cs プロジェクト: ericlemes/FluentCodeMetrics
        internal TypeSetCe(IEnumerable <Ce> source)
        {
            this.source = source;

            var allReferences = from member in source
                                from reference in member.References
                                select reference;

            this.references = new ReferencedTypesTypeSet(allReferences.Distinct(), null);
        }
コード例 #2
0
ファイル: Ce.cs プロジェクト: ericlemes/FluentCodeMetrics
 internal TypeCe(ReferencedTypesTypeSet refs, Type type)
 {
     references = refs;
     this.type  = type;
 }