forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ContentImporterContext.cs
41 lines (35 loc) · 1.39 KB
/
ContentImporterContext.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
namespace Microsoft.Xna.Framework.Content.Pipeline
{
/// <summary>
/// Provides properties that define logging behavior for the importer.
/// </summary>
public abstract class ContentImporterContext
{
/// <summary>
/// The absolute path to the root of the build intermediate (object) directory.
/// </summary>
public abstract string IntermediateDirectory { get; }
/// <summary>
/// Gets the logger for an importer.
/// </summary>
public abstract ContentBuildLogger Logger { get; }
/// <summary>
/// The absolute path to the root of the build output (binaries) directory.
/// </summary>
public abstract string OutputDirectory { get; }
/// <summary>
/// Initializes a new instance of ContentImporterContext.
/// </summary>
public ContentImporterContext()
{
}
/// <summary>
/// Adds a dependency to the specified file. This causes a rebuild of the file, when modified, on subsequent incremental builds.
/// </summary>
/// <param name="filename">Name of an asset file.</param>
public abstract void AddDependency(string filename);
}
}