Class DependencyFile
Files marked as dependencies for the BCM content. Used for conversion from and to native formats.
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class DependencyFile : MetadataContainer, ICloneable<DependencyFile>
Constructors
DependencyFile()
Declaration
public DependencyFile()
Properties
EmbeddedContent
Gets or sets the embedded content.
Declaration
public string EmbeddedContent { get; set; }
Property Value
Type | Description |
---|---|
System.String | The embedded content. |
Remarks
In the cases where the dependency file is stored inline, this will contain the B64-encoded ZIP archive of the dependency file
FileId
The id of the given file in the BCM document. This is used for multi-file sections in the BCM document and for matching the dependency section to the given file section in the BCM document
Declaration
public string FileId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileName
Gets or sets the name of the file.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the file. |
Id
The DependencyFile Id.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Location
Gets or sets the file location.
Declaration
public string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String | The file location. |
Provider
Gets or sets the system providing the file.
Declaration
public string Provider { get; set; }
Property Value
Type | Description |
---|---|
System.String | The system providing the file. |
Usage
Gets or sets the purpose of the dependency file.
Declaration
public DependencyFileUsage Usage { get; set; }
Property Value
Type | Description |
---|---|
DependencyFileUsage | The purpose of the dependency file. |
Methods
Clone()
Clones this instance.
Declaration
public DependencyFile Clone()
Returns
Type | Description |
---|---|
DependencyFile |
Equals(DependencyFile)
Performs a deep-equals comparison.
Declaration
public bool Equals(DependencyFile other)
Parameters
Type | Name | Description |
---|---|---|
DependencyFile | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current object is equal to the |
Equals(Object)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance. |