C# 클래스 Nuclex.Testing.Xna.MockedGraphicsDeviceService.GraphicsDeviceKeeper

Keeps a graphics device alive for RAII-like usage
RAII means "Resource Acquisition Is Initialization" and is a very widespread pattern in languages with deterministic finalization (read: not .NET).
상속: IDisposable
파일 보기 프로젝트 열기: csce3513/Team18

공개 메소드들

메소드 설명
Dispose ( ) : void

Immediately releases all resources owned by the instancer

GraphicsDeviceKeeper ( MockedGraphicsDeviceService dummyService )

Initializes a new graphics device keeper

메소드 상세

Dispose() 공개 메소드

Immediately releases all resources owned by the instancer
public Dispose ( ) : void
리턴 void

GraphicsDeviceKeeper() 공개 메소드

Initializes a new graphics device keeper
public GraphicsDeviceKeeper ( MockedGraphicsDeviceService dummyService )
dummyService MockedGraphicsDeviceService /// Dummy graphics device service for whose graphics device the keeper /// will be responsible ///