Skip to content

Commit

Permalink
Revert "Adds ContentIdentity of the imported asset to reduce the need…
Browse files Browse the repository at this point in the history
… for special types in importers. (MonoGame#6013)"

This reverts commit ca7072a.
  • Loading branch information
nkast committed Nov 30, 2018
1 parent ed9563a commit 861b29b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
Expand Up @@ -34,8 +34,6 @@ public PipelineProcessorContext(PipelineManager manager, PipelineBuildEvent pipe

public override ContentBuildLogger Logger { get { return _manager.Logger; } }

public override ContentIdentity SourceIdentity { get { return new ContentIdentity(_pipelineEvent.SourceFile); } }

public override void AddDependency(string filename)
{
_pipelineEvent.Dependencies.AddUnique(filename);
Expand Down
Expand Up @@ -25,11 +25,6 @@ public abstract class ContentProcessorContext
/// Gets the logger interface used for status messages or warnings.
/// </summary>
public abstract ContentBuildLogger Logger { get; }

/// <summary>
/// Gets the ContentIdentity representing the source asset imported.
/// </summary>
public abstract ContentIdentity SourceIdentity { get; }

/// <summary>
/// Gets the output path of the content processor.
Expand Down
7 changes: 0 additions & 7 deletions Test/ContentPipeline/TestProcessorContext.cs
Expand Up @@ -49,13 +49,6 @@ public override OpaqueDataDictionary Parameters
get { throw new NotImplementedException(); }
}

#if !XNA
public override ContentIdentity SourceIdentity
{
get { throw new NotImplementedException(); }
}
#endif

public override TargetPlatform TargetPlatform
{
get { return _targetPlatform; }
Expand Down

0 comments on commit 861b29b

Please sign in to comment.