Show More
Commit Description:
Various UI improvements.
Commit Description:
Various UI improvements.
References:
File last commit:
Show/Diff file:
Action:
FNA/src/Content/ContentReaders/BooleanReader.cs
33 lines | 587 B | text/x-csharp | CSharpLexer
33 lines | 587 B | text/x-csharp | CSharpLexer
r0 | #region License | |||
/* FNA - XNA4 Reimplementation for Desktop Platforms | ||||
* Copyright 2009-2020 Ethan Lee and the MonoGame Team | ||||
* | ||||
* Released under the Microsoft Public License. | ||||
* See LICENSE for details. | ||||
*/ | ||||
#endregion | ||||
namespace Microsoft.Xna.Framework.Content | ||||
{ | ||||
internal class BooleanReader : ContentTypeReader<bool> | ||||
{ | ||||
#region Internal Constructor | ||||
internal BooleanReader() | ||||
{ | ||||
} | ||||
#endregion | ||||
#region Protected Read Method | ||||
protected internal override bool Read( | ||||
ContentReader input, | ||||
bool existingInstance | ||||
) { | ||||
return input.ReadBoolean(); | ||||
} | ||||
#endregion | ||||
} | ||||
} | ||||