Class Source
Represents a bibliography source and its publication metadata.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class Source
Constructors
Source()
Initializes a source with a generated unique tag.
Declaration
public Source()
Properties
BookTitle
Gets or sets the book title containing the source.
Declaration
public string BookTitle { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
City
Gets or sets the publication city.
Declaration
public string City { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Comments
Gets or sets free-form source comments.
Declaration
public string Comments { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Contributors
Gets the ordered contributors for this source.
Declaration
public IList<Contributor> Contributors { get; }
Property Value
| Type | Description |
|---|---|
| IList<Contributor> |
Day
Gets or sets the publication day.
Declaration
public string Day { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Edition
Gets or sets the edition text.
Declaration
public string Edition { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Guid
Gets or sets the source identifier GUID text.
Declaration
public string Guid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Issue
Gets or sets the issue text.
Declaration
public string Issue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
JournalName
Gets or sets the journal or periodical name.
Declaration
public string JournalName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Month
Gets or sets the publication month.
Declaration
public string Month { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Pages
Gets or sets the page range.
Declaration
public string Pages { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Publisher
Gets or sets the publisher name.
Declaration
public string Publisher { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SourceType
Gets or sets the source publication type.
Declaration
public SourceType SourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| SourceType |
StandardNumber
Gets or sets the standard number such as ISBN or ISSN.
Declaration
public string StandardNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Tag
Gets or sets the unique tag used by citation fields.
Declaration
public string Tag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Gets or sets the source title.
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Url
Gets or sets the source URL.
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Volume
Gets or sets the volume text.
Declaration
public string Volume { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Year
Gets or sets the publication year.
Declaration
public string Year { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
FormatBibliography()
Formats a readable bibliography entry for a bibliography field.
Declaration
public string FormatBibliography()
Returns
| Type | Description |
|---|---|
| string |
FormatCitation()
Formats the short author-year text used by a citation field.
Declaration
public string FormatCitation()
Returns
| Type | Description |
|---|---|
| string |