Class File
BCM data extracted from a native file.
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class File : MetadataContainer, ICloneable<File>
Constructors
File()
Public constructor.
Declaration
public File()
File(String)
Declaration
public File(string Id)
Parameters
Type | Name | Description |
---|---|---|
System. |
Id |
Properties
CommentDefinitionIds
IDs of Comment
Declaration
public List<int> CommentDefinitionIds { get; set; }
Property Value
Type | Description |
---|---|
System. |
DependencyFiles
Dependency files used for converting to and from native format.
Declaration
public List<DependencyFile> DependencyFiles { get; set; }
Property Value
Type | Description |
---|---|
System. |
FileTypeDefinitionId
The ID of the filter used for converting the file from native format.
Declaration
public string FileTypeDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
System. |
Id
Gets or sets the identifier.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
The identifier. |
IdGenerator
Gets or sets the Id
Declaration
public IdGenerator IdGenerator { get; set; }
Property Value
Type | Description |
---|---|
Id |
The identifier generator. |
OriginalEncoding
Gets or sets the original encoding.
Declaration
public string OriginalEncoding { get; set; }
Property Value
Type | Description |
---|---|
System. |
The original encoding. |
OriginalFileName
The name of the native file from which this File was constructed.
Declaration
public string OriginalFileName { get; set; }
Property Value
Type | Description |
---|---|
System. |
ParagraphUnits
A collection of all the Paragraph
Declaration
public ParagraphUnitCollection ParagraphUnits { get; set; }
Property Value
Type | Description |
---|---|
Paragraph |
Parent
Declaration
public Document Parent { get; set; }
Property Value
Type | Description |
---|---|
Document |
PreferredTargetEncoding
Gets or sets the preferred target encoding.
Declaration
public string PreferredTargetEncoding { get; set; }
Property Value
Type | Description |
---|---|
System. |
The preferred target encoding. |
Skeleton
The File
Declaration
public FileSkeleton Skeleton { get; set; }
Property Value
Type | Description |
---|---|
File |
Methods
Clone()
Clones this instance.
Declaration
public File Clone()
Returns
Type | Description |
---|---|
File | A deep clone of this instance. |
Equals(File)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(File other)
Parameters
Type | Name | Description |
---|---|---|
File | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System. |
true if the current object is equal to the |
Equals(Object)
Performs a deep-equals comparison.
System.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A hash code for this instance. |
Overrides
ShouldSerializeCommentDefinitionIds()
Used by JSON.NET serializer.
Declaration
public bool ShouldSerializeCommentDefinitionIds()
Returns
Type | Description |
---|---|
System. |
True if the Comment |
ShouldSerializeDependencyFiles()
Used by JSON.NET serializer.
Declaration
public bool ShouldSerializeDependencyFiles()
Returns
Type | Description |
---|---|
System. |
True if the Dependency |