コード例 #1
0
 bool IsAllowedType(Type type)
 {
     return(type != null &&
            !type.IsValueType &&
            !(type.GetCustomAttributes(typeof(CompilerGeneratedAttribute), false).Length > 0) &&
            !TypesToSkip.Contains(type));
 }
コード例 #2
0
ファイル: AssemblyScanner.cs プロジェクト: Raagh/NServiceBus
 bool IsAllowedType(Type type)
 {
     return(type != null &&
            !type.IsValueType &&
            !IsCompilerGenerated(type) &&
            !TypesToSkip.Contains(type));
 }