• Documentation
  • API Reference
Show / Hide Table of Contents
  • Cake.ClickTwice
    • CakeLogger
    • CakeTemplatePublisher
    • ClickTwiceAliases
    • ClickTwiceManager
    • ClickTwiceManagerExtensions
    • ClickTwiceRunner
    • ManifestPublisher
    • PublishException
    • TemplatePackageSettingsExtensions
  • ClickTwice.Handlers.AppDetailsPage
    • AppDetailsPageHandler
  • ClickTwice.Publisher.Core
    • AppInfoManager
    • BasePublishManager
    • CoreExtensions
    • InformationSource
    • IPublishManager
    • Manager
    • ManifestManager
    • OperationType
    • PublishBehaviour
  • ClickTwice.Publisher.Core.Exceptions
    • BuildFailedException
    • HandlerProcessingException
    • OperationInProgressException
  • ClickTwice.Publisher.Core.Handlers
    • AppInfoHandler
    • BuildConfigurator
    • HandlerResponse
    • HandlerResult
    • IBuildConfigurator
    • IHandler
    • IInputHandler
    • InstallPageHandler
    • IOutputHandler
    • PublishPageHandler
  • ClickTwice.Publisher.Core.Loggers
    • ConsoleLogger
    • FileLogger
    • IPublishLogger
  • ClickTwice.Publisher.Core.Manifests
    • AppManifest
    • ContactDetails
    • ExtendedAppInfo
    • LinkList
  • ClickTwice.Publisher.Core.Resources
    • LaunchPage
    • LaunchPageBase
    • LaunchPageBase.ToStringInstanceHelper
    • LaunchPageModel
    • PublishPage
    • PublishPageBase
    • PublishPageBase.ToStringInstanceHelper
  • ClickTwice.Publisher.MSBuild
    • DirectPublisher
    • MSBuildPlatform
    • MSBuildResolver
    • MSBuildToolVersion
    • PlatformTarget
    • PublishManager
  • ClickTwice.Publisher.MSBuild.Loggers
    • BuildMessageLogger
  • ClickTwice.Templating
    • ITemplatePublisher
    • PackagingMode
    • TemplatePackager
    • TemplatePackageSettings
  • ClickTwice.UpdateManager
    • DownloadSize
    • UpdateEventArgs
    • UpdateInfo
    • UpdateManagerViewModel
    • UpdateManagerViewModel.UpdateHandler
  • ScriptCs.ClickTwice
    • ClickTwicePack
    • ClickTwicePackSettings
    • IScriptHost
    • Publisher
    • ScriptPack
    • ScriptTemplatePublisher

Class PublishPageBase

Base class for this transformation

Inheritance
System.Object
PublishPageBase
PublishPage
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.Resources
Assembly:ClickTwice.Publisher.Core.dll
Syntax
public class PublishPageBase

Properties

| Improve this Doc View Source

CurrentIndent

Gets the current indent we use when adding lines to the output

Declaration
public string CurrentIndent { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Errors

The error collection for the generation process

Declaration
public CompilerErrorCollection Errors { get; }
Property Value
Type Description
System.CodeDom.Compiler.CompilerErrorCollection
| Improve this Doc View Source

GenerationEnvironment

The string builder that generation-time code is using to assemble generated output

Declaration
protected StringBuilder GenerationEnvironment { get; set; }
Property Value
Type Description
System.Text.StringBuilder
| Improve this Doc View Source

Session

Current transformation session

Declaration
public virtual IDictionary<string, object> Session { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>
| Improve this Doc View Source

ToStringHelper

Helper to produce culture-oriented representation of an object as a string

Declaration
public PublishPageBase.ToStringInstanceHelper ToStringHelper { get; }
Property Value
Type Description
PublishPageBase.ToStringInstanceHelper

Methods

| Improve this Doc View Source

ClearIndent()

Remove any indentation

Declaration
public void ClearIndent()
| Improve this Doc View Source

Error(String)

Raise an error

Declaration
public void Error(string message)
Parameters
Type Name Description
System.String message
| Improve this Doc View Source

PopIndent()

Remove the last indent that was added with PushIndent

Declaration
public string PopIndent()
Returns
Type Description
System.String
| Improve this Doc View Source

PushIndent(String)

Increase the indent

Declaration
public void PushIndent(string indent)
Parameters
Type Name Description
System.String indent
| Improve this Doc View Source

Warning(String)

Raise a warning

Declaration
public void Warning(string message)
Parameters
Type Name Description
System.String message
| Improve this Doc View Source

Write(String)

Write text directly into the generated output

Declaration
public void Write(string textToAppend)
Parameters
Type Name Description
System.String textToAppend
| Improve this Doc View Source

Write(String, Object[])

Write formatted text directly into the generated output

Declaration
public void Write(string format, params object[] args)
Parameters
Type Name Description
System.String format
System.Object[] args
| Improve this Doc View Source

WriteLine(String)

Write text directly into the generated output

Declaration
public void WriteLine(string textToAppend)
Parameters
Type Name Description
System.String textToAppend
| Improve this Doc View Source

WriteLine(String, Object[])

Write formatted text directly into the generated output

Declaration
public void WriteLine(string format, params object[] args)
Parameters
Type Name Description
System.String format
System.Object[] args
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 Alistair Chapman