ArchiMetrics.Analysis.Metrics.ClassCouplingAnalyzerBase.GetCollectedTypesNames C# (CSharp) Method

GetCollectedTypesNames() protected method

protected GetCollectedTypesNames ( IEnumerable calledProperties, IEnumerable calledMethods, IEnumerable usedEvents ) : IEnumerable
calledProperties IEnumerable
calledMethods IEnumerable
usedEvents IEnumerable
return IEnumerable
		protected IEnumerable<ITypeCoupling> GetCollectedTypesNames(IEnumerable<IPropertySymbol> calledProperties, IEnumerable<IMethodSymbol> calledMethods, IEnumerable<IEventSymbol> usedEvents)
		{
			var memberCouplings = _types.Select(x => CresateTypeCoupling(calledProperties, calledMethods, usedEvents, x)).AsArray();
			var inheritedCouplings = _types
				.Select(x => x.Value)
				.SelectMany(GetInheritedTypeNames);
			var interfaces = _types.SelectMany(x => x.Value.AllInterfaces);
			var inheritedTypeCouplings = inheritedCouplings.Concat(interfaces)
				.Select(CreateTypeCoupling)
				.Except(memberCouplings);

			return memberCouplings.Concat(inheritedTypeCouplings);
		}

Same methods

ClassCouplingAnalyzerBase::GetCollectedTypesNames ( ) : IEnumerable