public ValidateMagic ( string expected ) : void | ||
expected | string | |
Résultat | void |
public void ValidateMagic(string expected)
{
if (!MagicEquals(expected))
{
throw new ChunkMagicException(expected, Magic);
}
}