NServiceBus.Conventions.IsDataBusProperty C# (CSharp) Method

IsDataBusProperty() public method

Returns true if the given property should be send via the DataBus.
public IsDataBusProperty ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo
return bool
        public bool IsDataBusProperty(PropertyInfo property)
        {
            Guard.AgainstNull(nameof(property), property);
            try
            {
                return IsDataBusPropertyAction(property);
            }
            catch (Exception ex)
            {
                throw new Exception("Failed to evaluate DataBus Property convention. See inner exception for details.", ex);
            }
        }