We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Assertion for object disposal
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static void DisposedIf<TDisposable>( bool disposed, TDisposable thisReference, string messageFormat, params Object[] args ) where TDisposable : IDisposable
VB
Public Shared Sub DisposedIf(Of TDisposable As IDisposable) ( disposed As Boolean, thisReference As TDisposable, messageFormat As String, ParamArray args As Object() )
F#
static member DisposedIf : disposed : bool * thisReference : 'TDisposable * messageFormat : string * args : Object[] -> unit when 'TDisposable : IDisposable
Code ClassDisposedIf OverloadCodeJam Namespace