Class Verification
Verify that the instances of the meta-model satisfy the invariants.
Inheritance
Inherited Members
Namespace: AasCore.Aas3_0_RC02
Assembly: AasCore.Aas3_0_RC02.dll
Syntax
public static class Verification
Examples
Here is an example how to verify an instance of IHasSemantics:
var anInstance = new Aas.IHasSemantics(
// ... some constructor arguments ...
);
foreach (var error in Verification.Verify(anInstance))
{
System.Console.Writeln(
$"{error.Cause} at: " +
Reporting.GenerateJsonPath(error.PathSegments));
}
Methods
| Improve this Doc View SourceDataSpecificationIec61360sForDocumentHaveAppropriateDataType(IEnumerable<IEmbeddedDataSpecification>)
Check that the DataType is defined appropriately for all data specifications whose content is given as IEC 61360.
Declaration
public static bool DataSpecificationIec61360sForDocumentHaveAppropriateDataType(IEnumerable<IEmbeddedDataSpecification> embeddedDataSpecifications)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IEmbeddedDataSpecification> | embeddedDataSpecifications |
Returns
Type | Description |
---|---|
System.Boolean |
DataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType(IEnumerable<IEmbeddedDataSpecification>)
Check that the DataType is defined appropriately for all data specifications whose content is given as IEC 61360.
Declaration
public static bool DataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType(IEnumerable<IEmbeddedDataSpecification> embeddedDataSpecifications)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IEmbeddedDataSpecification> | embeddedDataSpecifications |
Returns
Type | Description |
---|---|
System.Boolean |
DataSpecificationIec61360sForReferenceHaveAppropriateDataType(IEnumerable<IEmbeddedDataSpecification>)
Check that the DataType is defined appropriately for all data specifications whose content is given as IEC 61360.
Declaration
public static bool DataSpecificationIec61360sForReferenceHaveAppropriateDataType(IEnumerable<IEmbeddedDataSpecification> embeddedDataSpecifications)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IEmbeddedDataSpecification> | embeddedDataSpecifications |
Returns
Type | Description |
---|---|
System.Boolean |
DataSpecificationIec61360sHaveDataType(IEnumerable<IEmbeddedDataSpecification>)
Check that the DataType is defined for all data specifications whose content is given as IEC 61360.
Declaration
public static bool DataSpecificationIec61360sHaveDataType(IEnumerable<IEmbeddedDataSpecification> embeddedDataSpecifications)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IEmbeddedDataSpecification> | embeddedDataSpecifications |
Returns
Type | Description |
---|---|
System.Boolean |
DataSpecificationIec61360sHaveDefinitionAtLeastInEnglish(IEnumerable<IEmbeddedDataSpecification>)
Check that the Definition is defined for all data specifications whose content is given as IEC 61360 at least in English.
Declaration
public static bool DataSpecificationIec61360sHaveDefinitionAtLeastInEnglish(IEnumerable<IEmbeddedDataSpecification> embeddedDataSpecifications)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IEmbeddedDataSpecification> | embeddedDataSpecifications |
Returns
Type | Description |
---|---|
System.Boolean |
DataSpecificationIec61360sHaveValue(IEnumerable<IEmbeddedDataSpecification>)
Check that the Value is defined for all data specifications whose content is given as IEC 61360.
Declaration
public static bool DataSpecificationIec61360sHaveValue(IEnumerable<IEmbeddedDataSpecification> embeddedDataSpecifications)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IEmbeddedDataSpecification> | embeddedDataSpecifications |
Returns
Type | Description |
---|---|
System.Boolean |
ExtensionNamesAreUnique(IEnumerable<IExtension>)
Check that all Name are unique among
extensions
.
Declaration
public static bool ExtensionNamesAreUnique(IEnumerable<IExtension> extensions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IExtension> | extensions |
Returns
Type | Description |
---|---|
System.Boolean |
IdShortsAreUnique(IEnumerable<IReferable>)
Check that all IdShort are unique among
referables
.
Declaration
public static bool IdShortsAreUnique(IEnumerable<IReferable> referables)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IReferable> | referables |
Returns
Type | Description |
---|---|
System.Boolean |
IsBcp47ForEnglish(String)
Check that the text
corresponds to a BCP47 code for english.
Declaration
public static bool IsBcp47ForEnglish(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Boolean |
IsLeapYear(BigInteger)
Check whether the given year is a leap year.
Declaration
public static bool IsLeapYear(BigInteger year)
Parameters
Type | Name | Description |
---|---|---|
System.Numerics.BigInteger | year | to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if |
Remarks
Year 1 BCE is a leap year.
IsModelReferenceTo(IReference, KeyTypes)
Check that the target of the model reference matches the expectedType
.
Declaration
public static bool IsModelReferenceTo(IReference reference, KeyTypes expectedType)
Parameters
Type | Name | Description |
---|---|---|
IReference | reference | |
KeyTypes | expectedType |
Returns
Type | Description |
---|---|
System.Boolean |
IsModelReferenceToReferable(IReference)
Check that the target of the reference matches a AasReferables.
Declaration
public static bool IsModelReferenceToReferable(IReference reference)
Parameters
Type | Name | Description |
---|---|---|
IReference | reference |
Returns
Type | Description |
---|---|
System.Boolean |
IsXsDateTimeStampUtc(String)
Check that value
is a xs:dateTimeStamp
with
the time zone set to UTC.
Declaration
public static bool IsXsDateTimeStampUtc(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
System.Boolean |
LangStringsHaveUniqueLanguages(IEnumerable<ILangString>)
Check that langStrings
are specified each for a unique
language.
Declaration
public static bool LangStringsHaveUniqueLanguages(IEnumerable<ILangString> langStrings)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ILangString> | langStrings |
Returns
Type | Description |
---|---|
System.Boolean |
MatchesBcp47(String)
Check that text
is a valid BCP 47 language tag.
Declaration
public static bool MatchesBcp47(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
| Improve this Doc View SourceMatchesGlobalAssetIdLiterally(String)
Check that the text
matches globalAssetId
case-insensitive.
Declaration
public static bool MatchesGlobalAssetIdLiterally(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | which needs to match |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
The case-insensitivity depends on the culture. For example in Turkish, uppercase "i" is "İ", not "I". We assume the culture to be English, and explicitly check for English case-folding.
MatchesIdShort(String)
Check that text
is a valid short ID.
Declaration
public static bool MatchesIdShort(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Boolean |
MatchesMimeType(String)
Check that text
conforms to the pattern of MIME type.
Declaration
public static bool MatchesMimeType(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
The definition has been taken from: https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1, https://www.rfc-editor.org/rfc/rfc7230#section-3.2.3 and https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6.
MatchesRfc8089Path(String)
Check that text
is a path conforming to the pattern of RFC 8089.
Declaration
public static bool MatchesRfc8089Path(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
The definition has been taken from: https://datatracker.ietf.org/doc/html/rfc8089
MatchesXsAnyUri(String)
Check that text
conforms to the pattern of an xs:anyURI
.
Declaration
public static bool MatchesXsAnyUri(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsBase64Binary(String)
Check that text
conforms to the pattern of an xs:base64Binary
.
Declaration
public static bool MatchesXsBase64Binary(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsBoolean(String)
Check that text
conforms to the pattern of an xs:boolean
.
Declaration
public static bool MatchesXsBoolean(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsByte(String)
Check that text
conforms to the pattern of an xs:byte
.
Declaration
public static bool MatchesXsByte(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsDate(String)
Check that text
conforms to the pattern of an xs:date
.
Declaration
public static bool MatchesXsDate(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsDateTime(String)
Check that text
conforms to the pattern of an xs:dateTime
.
Declaration
public static bool MatchesXsDateTime(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsDateTimeStamp(String)
Check that text
conforms to the pattern of an xs:dateTimeStamp
.
Declaration
public static bool MatchesXsDateTimeStamp(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsDateTimeStampUtc(String)
Check that text
conforms to the pattern of an xs:dateTimeStamp
.
Declaration
public static bool MatchesXsDateTimeStampUtc(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
The time zone must be fixed to UTC. We verify only that the text
matches
a pre-defined pattern. We do not verify that the day of month is
correct nor do we check for leap seconds.
See: https://www.w3.org/TR/xmlschema11-2/#dateTimeStamp
MatchesXsDayTimeDuration(String)
Check that text
conforms to the pattern of an xs:dayTimeDuration
.
Declaration
public static bool MatchesXsDayTimeDuration(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsDecimal(String)
Check that text
conforms to the pattern of an xs:decimal
.
Declaration
public static bool MatchesXsDecimal(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsDouble(String)
Check that text
conforms to the pattern of an xs:double
.
Declaration
public static bool MatchesXsDouble(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsDuration(String)
Check that text
conforms to the pattern of an xs:duration
.
Declaration
public static bool MatchesXsDuration(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsFloat(String)
Check that text
conforms to the pattern of an xs:float
.
Declaration
public static bool MatchesXsFloat(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsGDay(String)
Check that text
conforms to the pattern of an xs:gDay
.
Declaration
public static bool MatchesXsGDay(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsGMonth(String)
Check that text
conforms to the pattern of an xs:gMonth
.
Declaration
public static bool MatchesXsGMonth(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsGMonthDay(String)
Check that text
conforms to the pattern of an xs:gMonthDay
.
Declaration
public static bool MatchesXsGMonthDay(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsGYear(String)
Check that text
conforms to the pattern of an xs:gYear
.
Declaration
public static bool MatchesXsGYear(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsGYearMonth(String)
Check that text
conforms to the pattern of an xs:gYearMonth
.
Declaration
public static bool MatchesXsGYearMonth(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsHexBinary(String)
Check that text
conforms to the pattern of an xs:hexBinary
.
Declaration
public static bool MatchesXsHexBinary(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsInt(String)
Check that text
conforms to the pattern of an xs:int
.
Declaration
public static bool MatchesXsInt(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsInteger(String)
Check that text
conforms to the pattern of an xs:integer
.
Declaration
public static bool MatchesXsInteger(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsLong(String)
Check that text
conforms to the pattern of an xs:long
.
Declaration
public static bool MatchesXsLong(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsNegativeInteger(String)
Check that text
conforms to the pattern of an xs:negativeInteger
.
Declaration
public static bool MatchesXsNegativeInteger(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsNonNegativeInteger(String)
Check that text
conforms to the pattern of an xs:nonNegativeInteger
.
Declaration
public static bool MatchesXsNonNegativeInteger(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsNonPositiveInteger(String)
Check that text
conforms to the pattern of an xs:nonPositiveInteger
.
Declaration
public static bool MatchesXsNonPositiveInteger(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsPositiveInteger(String)
Check that text
conforms to the pattern of an xs:positiveInteger
.
Declaration
public static bool MatchesXsPositiveInteger(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsShort(String)
Check that text
conforms to the pattern of an xs:short
.
Declaration
public static bool MatchesXsShort(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsString(String)
Check that text
conforms to the pattern of an xs:string
.
Declaration
public static bool MatchesXsString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsTime(String)
Check that text
conforms to the pattern of an xs:time
.
Declaration
public static bool MatchesXsTime(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsUnsignedByte(String)
Check that text
conforms to the pattern of an xs:unsignedByte
.
Declaration
public static bool MatchesXsUnsignedByte(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsUnsignedInt(String)
Check that text
conforms to the pattern of an xs:unsignedInt
.
Declaration
public static bool MatchesXsUnsignedInt(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsUnsignedLong(String)
Check that text
conforms to the pattern of an xs:unsignedLong
.
Declaration
public static bool MatchesXsUnsignedLong(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsUnsignedShort(String)
Check that text
conforms to the pattern of an xs:unsignedShort
.
Declaration
public static bool MatchesXsUnsignedShort(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourceMatchesXsYearMonthDuration(String)
Check that text
conforms to the pattern of an xs:yearMonthDuration
.
Declaration
public static bool MatchesXsYearMonthDuration(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be checked |
Returns
Type | Description |
---|---|
System.Boolean | True if the |
Remarks
| Improve this Doc View SourcePropertiesOrRangesHaveValueType(IEnumerable<ISubmodelElement>, Nullable<DataTypeDefXsd>)
Declaration
public static bool PropertiesOrRangesHaveValueType(IEnumerable<ISubmodelElement> elements, DataTypeDefXsd? valueType)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ISubmodelElement> | elements | |
System.Nullable<DataTypeDefXsd> | valueType |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
We have to use nullable valueType since the compiler does not really handle nullable C# value types.
See https://endjin.com/blog/2022/02/csharp-10-generics-nullable-references-improvements-allownull
QualifierTypesAreUnique(IEnumerable<IQualifier>)
Check that there are no duplicate Type's
in the qualifiers
.
Declaration
public static bool QualifierTypesAreUnique(IEnumerable<IQualifier> qualifiers)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IQualifier> | qualifiers |
Returns
Type | Description |
---|---|
System.Boolean |
ReferenceKeyValuesEqual(IReference, IReference)
Declaration
public static bool ReferenceKeyValuesEqual(IReference that, IReference other)
Parameters
Type | Name | Description |
---|---|---|
IReference | that | |
IReference | other |
Returns
Type | Description |
---|---|
System.Boolean |
SubmodelElementIsOfType(ISubmodelElement, AasSubmodelElements)
Declaration
public static bool SubmodelElementIsOfType(ISubmodelElement element, AasSubmodelElements expectedType)
Parameters
Type | Name | Description |
---|---|---|
ISubmodelElement | element | |
AasSubmodelElements | expectedType |
Returns
Type | Description |
---|---|
System.Boolean |
SubmodelElementsHaveIdenticalSemanticIds(IEnumerable<ISubmodelElement>)
Check that all elements
have the identical
SemanticId's.
Declaration
public static bool SubmodelElementsHaveIdenticalSemanticIds(IEnumerable<ISubmodelElement> elements)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ISubmodelElement> | elements |
Returns
Type | Description |
---|---|
System.Boolean |
ValueConsistentWithXsdType(String, DataTypeDefXsd)
Check that the value
is consistent with
the given valueType
.
Declaration
public static bool ValueConsistentWithXsdType(string value, DataTypeDefXsd valueType)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | |
DataTypeDefXsd | valueType |
Returns
Type | Description |
---|---|
System.Boolean |
Verify(IClass)
Verify the constraints of that
recursively.
Declaration
public static IEnumerable<Reporting.Error> Verify(IClass that)
Parameters
Type | Name | Description |
---|---|---|
IClass | that | The instance of the meta-model to be verified |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyAasSubmodelElements(AasSubmodelElements)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyAasSubmodelElements(AasSubmodelElements that)
Parameters
Type | Name | Description |
---|---|---|
AasSubmodelElements | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyAssetKind(AssetKind)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyAssetKind(AssetKind that)
Parameters
Type | Name | Description |
---|---|---|
AssetKind | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyBcp47LanguageTag(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyBcp47LanguageTag(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyBlobType(Byte[])
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyBlobType(byte[] that)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyContentType(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyContentType(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyDataTypeDefXsd(DataTypeDefXsd)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyDataTypeDefXsd(DataTypeDefXsd that)
Parameters
Type | Name | Description |
---|---|---|
DataTypeDefXsd | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyDataTypeIec61360(DataTypeIec61360)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyDataTypeIec61360(DataTypeIec61360 that)
Parameters
Type | Name | Description |
---|---|---|
DataTypeIec61360 | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyDateTimeStampUtc(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyDateTimeStampUtc(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyDirection(Direction)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyDirection(Direction that)
Parameters
Type | Name | Description |
---|---|---|
Direction | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyEntityType(EntityType)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyEntityType(EntityType that)
Parameters
Type | Name | Description |
---|---|---|
EntityType | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyIdentifier(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyIdentifier(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyIdShort(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyIdShort(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyKeyTypes(KeyTypes)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyKeyTypes(KeyTypes that)
Parameters
Type | Name | Description |
---|---|---|
KeyTypes | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyLevelType(LevelType)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyLevelType(LevelType that)
Parameters
Type | Name | Description |
---|---|---|
LevelType | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyModelingKind(ModelingKind)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyModelingKind(ModelingKind that)
Parameters
Type | Name | Description |
---|---|---|
ModelingKind | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyNonEmptyString(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyNonEmptyString(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyPathType(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyPathType(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyQualifierKind(QualifierKind)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyQualifierKind(QualifierKind that)
Parameters
Type | Name | Description |
---|---|---|
QualifierKind | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyQualifierType(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyQualifierType(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyReferenceTypes(ReferenceTypes)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyReferenceTypes(ReferenceTypes that)
Parameters
Type | Name | Description |
---|---|---|
ReferenceTypes | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyStateOfEvent(StateOfEvent)
Verify that that
is a valid enumeration value.
Declaration
public static IEnumerable<Reporting.Error> VerifyStateOfEvent(StateOfEvent that)
Parameters
Type | Name | Description |
---|---|---|
StateOfEvent | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |
VerifyValueDataType(String)
Verify the constraints of that
.
Declaration
public static IEnumerable<Reporting.Error> VerifyValueDataType(string that)
Parameters
Type | Name | Description |
---|---|---|
System.String | that |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Reporting.Error> |