NServiceBus.Conventions.ConventionCache.ApplyConvention C# (CSharp) Method

ApplyConvention() public method

public ApplyConvention ( Type type, bool>.Func action ) : bool
type System.Type
action bool>.Func
return bool
            public bool ApplyConvention(Type type, Func<RuntimeTypeHandle, bool> action)
            {
                return cache.GetOrAdd(type.TypeHandle, action);
            }
Conventions.ConventionCache