Class TemplatePackager
Inheritance
System.Object
TemplatePackager
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.Templating
Assembly:ClickTwice.Templating.dll
Syntax
public class TemplatePackager
Constructors
| Improve this Doc View SourceTemplatePackager(TemplatePackageSettings)
Declaration
public TemplatePackager(TemplatePackageSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplatePackageSettings | settings |
TemplatePackager(String, String, String, String)
Declaration
public TemplatePackager(string id, string version, string authors, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | |
| System.String | version | |
| System.String | authors | |
| System.String | description |
Properties
| Improve this Doc View SourcePublishDestination
Declaration
public Uri PublishDestination { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Uri |
Methods
| Improve this Doc View SourcePackage(String, PackagingMode)
Declaration
public FileInfo Package(string templateProjectDirectory, PackagingMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | templateProjectDirectory | |
| PackagingMode | mode |
Returns
| Type | Description |
|---|---|
| System.IO.FileInfo |
PublishPackage(String)
Declaration
public void PublishPackage(string pathToNupkg)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | pathToNupkg |
PublishPackage(String, String)
Declaration
public void PublishPackage(string pathToNupkg, string apiKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | pathToNupkg | |
| System.String | apiKey |