Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
NullDisposable.cs
Go to the documentation of this file.
1
// Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2
// This file is distributed under GPL v3. See LICENSE.md for details.
3
using
System
;
4
5
namespace
SiliconStudio.Core
6
{
7
/// <summary>
8
/// This class is an implementation of the <see cref="IDisposable"/> interface that does nothing when disposed.
9
/// </summary>
10
public
class
NullDisposable
: IDisposable
11
{
12
/// <summary>
13
/// A static instance of the <see cref="NullDisposable"/> class.
14
/// </summary>
15
public
static
readonly
NullDisposable
Instance =
new
NullDisposable
();
16
17
/// <summary>
18
/// Implementation of the <see cref="IDisposable.Dispose"/> method. This method does nothing.
19
/// </summary>
20
public
void
Dispose
()
21
{
22
}
23
}
24
}
SiliconStudio.Core.NullDisposable.Dispose
void Dispose()
Implementation of the IDisposable.Dispose method. This method does nothing.
Definition:
NullDisposable.cs:20
SiliconStudio.Shaders.Parser.System
A system file.
SiliconStudio.Core.NullDisposable
This class is an implementation of the IDisposable interface that does nothing when disposed...
Definition:
NullDisposable.cs:10
sources
common
core
SiliconStudio.Core
NullDisposable.cs
Generated on Sat Dec 20 2014 21:51:10 for Paradox Game Engine by
1.8.7