C# 클래스 Rock.Services.NuGet.WebProjectSystem

상속: NuGet.PhysicalFileSystem, IProjectSystem, IFileSystem
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
AddFile ( string path, Stream stream ) : void

Workaround to deal with the "because it is being used by another process" dll problem. This method will always add the file to the filesystem.

AddFrameworkReference ( string name ) : void

Adds the framework reference.

AddImport ( string targetFullPath, ProjectImportLocation location ) : void

Adds the import.

AddReference ( string referencePath, Stream stream ) : void

Adds the reference.

FileExists ( string path ) : bool

Workaround until we get to NuGet 2.7 - Always treat the file as though it does not exist so that it will be replaced.

FileExistsInProject ( string path ) : bool

Files the exists in project.

GetPropertyValue ( string propertyName ) : dynamic

Gets the property value.

IsSupportedFile ( string path ) : bool

Determines whether [is supported file] [the specified path].

ReferenceExists ( string name ) : bool

References the exists.

RemoveImport ( string targetFullPath ) : void

Removes the import.

RemoveReference ( string name ) : void

Removes the reference.

ResolvePath ( string path ) : string

Resolves the path.

WebProjectSystem ( string siteRoot ) : System

Initializes a new instance of the WebProjectSystem class.

보호된 메소드들

메소드 설명
GetReferencePath ( string name ) : string

Gets the reference path.

비공개 메소드들

메소드 설명
ProcessFilesToDelete ( string deleteListFile ) : void

Deletes each file listed in the App_Data/deletefile.lst and then deletes that file.

메소드 상세

AddFile() 공개 메소드

Workaround to deal with the "because it is being used by another process" dll problem. This method will always add the file to the filesystem.
public AddFile ( string path, Stream stream ) : void
path string
stream Stream
리턴 void

AddFrameworkReference() 공개 메소드

Adds the framework reference.
public AddFrameworkReference ( string name ) : void
name string The name.
리턴 void

AddImport() 공개 메소드

Adds the import.
public AddImport ( string targetFullPath, ProjectImportLocation location ) : void
targetFullPath string The target full path.
location ProjectImportLocation The location.
리턴 void

AddReference() 공개 메소드

Adds the reference.
public AddReference ( string referencePath, Stream stream ) : void
referencePath string The reference path.
stream Stream The stream.
리턴 void

FileExists() 공개 메소드

Workaround until we get to NuGet 2.7 - Always treat the file as though it does not exist so that it will be replaced.
public FileExists ( string path ) : bool
path string
리턴 bool

FileExistsInProject() 공개 메소드

Files the exists in project.
public FileExistsInProject ( string path ) : bool
path string The path.
리턴 bool

GetPropertyValue() 공개 메소드

Gets the property value.
public GetPropertyValue ( string propertyName ) : dynamic
propertyName string Name of the property.
리턴 dynamic

GetReferencePath() 보호된 메소드

Gets the reference path.
protected GetReferencePath ( string name ) : string
name string The name.
리턴 string

IsSupportedFile() 공개 메소드

Determines whether [is supported file] [the specified path].
public IsSupportedFile ( string path ) : bool
path string The path.
리턴 bool

ReferenceExists() 공개 메소드

References the exists.
public ReferenceExists ( string name ) : bool
name string The name.
리턴 bool

RemoveImport() 공개 메소드

Removes the import.
public RemoveImport ( string targetFullPath ) : void
targetFullPath string The target full path.
리턴 void

RemoveReference() 공개 메소드

Removes the reference.
public RemoveReference ( string name ) : void
name string The name.
리턴 void

ResolvePath() 공개 메소드

Resolves the path.
public ResolvePath ( string path ) : string
path string The path.
리턴 string

WebProjectSystem() 공개 메소드

Initializes a new instance of the WebProjectSystem class.
public WebProjectSystem ( string siteRoot ) : System
siteRoot string The site root.
리턴 System