XdtSource Class

Summary

Represents the source of an XDT transformation XML document.
Assembly
Cake.XdtTransform.dll
Namespace
Cake.XdtTransform
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["XdtSource"] class Type type-node Derived0["XdtDocumentSource"]-->Type click Derived0 "/api/Cake.XdtTransform/XdtDocumentSource" Derived1["XdtFragmentSource"]-->Type click Derived1 "/api/Cake.XdtTransform/XdtFragmentSource"

Syntax

public abstract class XdtSource

Constructors

Name Summary
XdtSource()

Methods

Name Value Summary
GetXdtStream() Stream
Gets the System.IO.Stream representing the transformation document.

Extension Methods

Name Value Summary
Dump<XdtSource>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<XdtSource>(XdtSource[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<XdtSource>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<XdtSource>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<XdtSource>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<XdtSource>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin