static void CheckIs(TypeSet typeSet, ParameterType type, bool dec = false, bool integer = false, bool enumeration = false, bool dynamicEnum = false, bool localDynamicEnum = false, bool localizedString = false) { Assert.That(typeSet.IsDecimal(type), Is.EqualTo(dec)); Assert.That(typeSet.IsDynamicEnum(type), Is.EqualTo(dynamicEnum)); Assert.That(typeSet.IsEnum(type), Is.EqualTo(enumeration)); Assert.That(typeSet.IsInteger(type), Is.EqualTo(integer)); Assert.That(typeSet.IsLocalDynamicEnum(type), Is.EqualTo(localDynamicEnum)); Assert.That(typeSet.IsLocalizedString(type), Is.EqualTo(localizedString)); }
public bool IsInteger(ID <ParameterType> type) { return(m_types.IsInteger(type)); }