Class BasePublishManager
Inheritance
System.Object
BasePublishManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:ClickTwice.Publisher.Core
Assembly:ClickTwice.Publisher.Core.dll
Syntax
public abstract class BasePublishManager : Manager, IPublishManager, IDisposable
Constructors
|
Improve this Doc
View Source
BasePublishManager(String)
Declaration
public BasePublishManager(string projectFilePath)
Parameters
Type |
Name |
Description |
System.String |
projectFilePath |
|
Properties
|
Improve this Doc
View Source
AdditionalProperties
Declaration
public Dictionary<string, string> AdditionalProperties { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
|
|
Improve this Doc
View Source
BuildConfigurators
Declaration
public List<IBuildConfigurator> BuildConfigurators { protected get; set; }
Property Value
Implements
|
Improve this Doc
View Source
Configuration
Declaration
public virtual string Configuration { protected get; set; }
Property Value
Type |
Description |
System.String |
|
Implements
|
Improve this Doc
View Source
Declaration
public List<IInputHandler> InputHandlers { protected get; set; }
Property Value
Implements
|
Improve this Doc
View Source
Loggers
Declaration
public List<IPublishLogger> Loggers { get; set; }
Property Value
Implements
|
Improve this Doc
View Source
OutputHandlers
Declaration
public List<IOutputHandler> OutputHandlers { protected get; set; }
Property Value
Implements
|
Improve this Doc
View Source
Declaration
public virtual string Platform { protected get; set; }
Property Value
Type |
Description |
System.String |
|
Implements
Methods
|
Improve this Doc
View Source
BuildProject(Dictionary<String, String>, List<String>)
Declaration
protected abstract bool BuildProject(Dictionary<string, string> props, List<string> targets)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
props |
|
System.Collections.Generic.List<System.String> |
targets |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CloseLoggers(String)
Declaration
protected void CloseLoggers(string targetPath)
Parameters
Type |
Name |
Description |
System.String |
targetPath |
|
|
Improve this Doc
View Source
Dispose()
Declaration
public virtual void Dispose()
Implements
System.IDisposable.Dispose()
|
Improve this Doc
View Source
Log(String, Boolean)
Declaration
protected void Log(string content, bool isBuildMessage = false)
Parameters
Type |
Name |
Description |
System.String |
content |
|
System.Boolean |
isBuildMessage |
|
|
Improve this Doc
View Source
OnBuildFailed(Exception)
Declaration
protected virtual void OnBuildFailed(Exception ex)
Parameters
Type |
Name |
Description |
System.Exception |
ex |
|
|
Improve this Doc
View Source
PostBuild(FileSystemInfo)
Declaration
protected virtual void PostBuild(FileSystemInfo targetPath)
Parameters
Type |
Name |
Description |
System.IO.FileSystemInfo |
targetPath |
|
|
Improve this Doc
View Source
Declaration
protected List<HandlerResponse> ProcessInputHandlers()
Returns
|
Improve this Doc
View Source
ProcessOutputHandlers(FileSystemInfo)
Declaration
protected List<HandlerResponse> ProcessOutputHandlers(FileSystemInfo outputPath)
Parameters
Type |
Name |
Description |
System.IO.FileSystemInfo |
outputPath |
|
Returns
|
Improve this Doc
View Source
PublishApp(String, PublishBehaviour)
Declaration
public virtual List<HandlerResponse> PublishApp(string targetPath, PublishBehaviour behaviour = PublishBehaviour.CleanFirst)
Parameters
Returns
Implements
Exceptions
Type |
Condition |
HandlerProcessingException |
Thrown when input or output handlers encounter an exception.
|
OperationInProgressException |
Thrown when a build or publish operation is already in progress.
|
System.ArgumentOutOfRangeException |
Invalid behaviour type provided.
|
System.Security.SecurityException |
The caller does not have the required permission.
|
BuildFailedException |
Thrown when the build fails.
|
|
Improve this Doc
View Source
RunConfigurators(Dictionary<String, String>, List<String>)
Declaration
protected KeyValuePair<Dictionary<string, string>, List<string>> RunConfigurators(Dictionary<string, string> props, List<string> targetList)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
props |
|
System.Collections.Generic.List<System.String> |
targetList |
|
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.Collections.Generic.Dictionary<System.String, System.String>, System.Collections.Generic.List<System.String>> |
|
|
Improve this Doc
View Source
SaveVersionToProjectFile(String)
Declaration
protected void SaveVersionToProjectFile(string v)
Parameters
Type |
Name |
Description |
System.String |
v |
|
|
Improve this Doc
View Source
SyncVersionNumber()
Reads the assembly version number from AssemblyInfo.cs and updates it in the project file
Declaration
protected void SyncVersionNumber()