Table of Contents

Class ContentRequestedArgs

Namespace
MonoGame.Framework.Content.Pipeline.Builder.Server
Assembly
MonoGame.Framework.Content.Pipeline.dll

EventArgs for the ContentRequested event that gets raised when content is being requested by an IContentProvider.

public class ContentRequestedArgs : EventArgs
Inheritance
ContentRequestedArgs
Inherited Members

Constructors

ContentRequestedArgs(string)

EventArgs for the ContentRequested event that gets raised when content is being requested by an IContentProvider.

public ContentRequestedArgs(string contentPath)

Parameters

contentPath string

Represents a relative output path for the content.

Properties

CompilationStarted

Determines if ContentServer should wait for the content to be compiled.

public bool CompilationStarted { get; set; }

Property Value

bool

ContentPath

A relative output path for the content.

public string ContentPath { get; }

Property Value

string

FilePath

An absolute path on the system to the content file passed by ContentPath.

public string FilePath { get; set; }

Property Value

string