BinaryDataLoadSaveTests CreateTypeFromShortName Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Core
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CreateTypeFromShortName()
Examples

[Test]
public void CreateTypeFromShortName()
{
    Assert.IsNotNull(BinaryDataExtensions.GetTypeFromShortNameOrFullNameIfNotFound("Int32"));
    Assert.IsNotNull(BinaryDataExtensions.GetTypeFromShortNameOrFullNameIfNotFound("Material"));
    Assert.Throws<TypeLoadException>(
        () => BinaryDataExtensions.GetTypeFromShortNameOrFullNameIfNotFound("abc535"));
}
See Also