PdfRpt.Core.Helper.DumpNestedProperties.isNestedProperty C# (CSharp) Méthode

isNestedProperty() private static méthode

private static isNestedProperty ( Type type ) : bool
type System.Type
Résultat bool
        private static bool isNestedProperty(Type type)
        {
            if (type.Assembly.FullName.StartsWith("mscorlib", StringComparison.OrdinalIgnoreCase)) return false;
            return
                   (type.IsClass || type.IsInterface) &&
                   !type.IsValueType &&
                   !string.IsNullOrEmpty(type.Namespace) &&
                   !type.Namespace.StartsWith("System.", StringComparison.OrdinalIgnoreCase);
        }