System.Composition.Convention.ImportConventionBuilder.IsSupportedImportManyType C# (CSharp) 메소드

IsSupportedImportManyType() 개인적인 메소드

private IsSupportedImportManyType ( TypeInfo typeInfo ) : bool
typeInfo TypeInfo
리턴 bool
        private bool IsSupportedImportManyType(TypeInfo typeInfo)
        {
            return typeInfo.IsArray ||
                (typeInfo.IsGenericTypeDefinition && s_supportedImportManyTypes.Contains(typeInfo.AsType())) ||
                (typeInfo.AsType().IsConstructedGenericType && s_supportedImportManyTypes.Contains(typeInfo.GetGenericTypeDefinition()));
        }
    }