View Source
Class ArtifactBase<TUdi>
Provides a base class to all artifacts.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public abstract class ArtifactBase<TUdi> : IArtifact, IArtifactSignature where TUdi : Udi
Type Parameters
Constructors
View Source
ArtifactBase(TUdi, Nullable<IEnumerable<ArtifactDependency>>)
Declaration
protected ArtifactBase(TUdi udi, IEnumerable<ArtifactDependency>? dependencies = null)
Parameters
Type |
Name |
Description |
TUdi |
udi |
|
System.Nullable<IEnumerable<ArtifactDependency>> |
dependencies |
|
Properties
View Source
Alias
Declaration
public string Alias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Checksum
Declaration
public string Checksum { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Dependencies
Declaration
public IEnumerable<ArtifactDependency> Dependencies { get; set; }
Property Value
View Source
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Udi
Declaration
public TUdi Udi { get; set; }
Property Value
Methods
View Source
GetChecksum()
Declaration
protected abstract string GetChecksum()
Returns
Type |
Description |
System.String |
|
View Source
ShouldSerializeChecksum()
Prevents the Checksum property from being serialized.
Declaration
public bool ShouldSerializeChecksum()
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
View Source
IArtifactSignature.Udi
Declaration
Udi IArtifactSignature.Udi { get; }
Returns