C# Class FlatRedBall.Glue.VSHelpers.CodeBuildItemAdder

Extracts code files from an assembly and saves them to disk, relative to the current project.
Mostrar archivo Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
Add ( string resourceName ) : void

Adds the argument resourceName to the internal list.

AddFolder ( string folderName, Assembly assembly ) : void
CodeBuildItemAdder ( ) : System
PerformAddAndSave ( Assembly assembly ) : bool

Private Methods

Method Description
DetermineIfShouldCopyAndAdd ( string destinationFile, Assembly assembly ) : bool
SaveResource ( Assembly assembly, List filesToAddToProject, string resourceName, string destinationDirectory, string destination ) : void
SaveResourceFileToProject ( Assembly assembly, bool succeeded, List filesToAddToProject, string resourceName ) : bool

Method Details

Add() public method

Adds the argument resourceName to the internal list.
public Add ( string resourceName ) : void
resourceName string The name of the resource. This is usally in the format of /// ProjectNamespace.Folder.FileName.cs
return void

AddFolder() public method

public AddFolder ( string folderName, Assembly assembly ) : void
folderName string
assembly System.Reflection.Assembly
return void

CodeBuildItemAdder() public method

public CodeBuildItemAdder ( ) : System
return System

PerformAddAndSave() public method

public PerformAddAndSave ( Assembly assembly ) : bool
assembly System.Reflection.Assembly
return bool