Adf.Business.SmartReferences.SmartReferencePropertyParser.IsParsable C# (CSharp) Method

IsParsable() public method

Indicates whether the supplied Type is parsable or not.
public IsParsable ( Type type ) : bool
type System.Type The supplied .
return bool
        public bool IsParsable(Type type)
        {
            return type.IsGenericType && type.GetGenericTypeDefinition().Equals(typeof(SmartReference<>));
        }