C# Класс SobekCM.Resource_Object.Bib_Info.Name_Info

Наследование: XML_Node_Base_Type
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add_Role ( string Role ) : void

Add a new role to this name entity

Add_Role ( string Role, string Authority ) : void

Add a new role to this name entity

Add_Role ( string Role, string Authority, Name_Info_Role_Type_Enum Role_Type ) : void

Add a new role to this name entity

Clear ( ) : void

Clears all the data associated with this item

Name_Info ( ) : System

Constructor creates a new instance of the Name_Info class

Name_Info ( string Full_Name, string Role ) : System

Constructor creates a new instance of the Name_Info class

ToString ( ) : string

Returns this name as a general string for display purposes

By default, this includes the role(s) in the string

ToString ( bool IncludeRole ) : string

Returns this identifier as a general string for display purposes

Приватные методы

Метод Описание
Add_MODS ( bool MainEntityFlag, TextWriter ReturnValue ) : void

Writes this location as MODS to a writer writing to a stream ( either a file or web response stream )

to_MARC_HTML ( bool ExcludeRelatorCodes ) : SobekCM.Resource_Object.MARC.MARC_Field

Writes this abstract as a MARC tag for aggregation into a MARC record

Описание методов

Add_Role() публичный Метод

Add a new role to this name entity
public Add_Role ( string Role ) : void
Role string Text of the role
Результат void

Add_Role() публичный Метод

Add a new role to this name entity
public Add_Role ( string Role, string Authority ) : void
Role string Text of the role
Authority string Authority for this role term
Результат void

Add_Role() публичный Метод

Add a new role to this name entity
public Add_Role ( string Role, string Authority, Name_Info_Role_Type_Enum Role_Type ) : void
Role string Text of the role
Authority string Authority for this role term
Role_Type Name_Info_Role_Type_Enum Type of role
Результат void

Clear() публичный Метод

Clears all the data associated with this item
public Clear ( ) : void
Результат void

Name_Info() публичный Метод

Constructor creates a new instance of the Name_Info class
public Name_Info ( ) : System
Результат System

Name_Info() публичный Метод

Constructor creates a new instance of the Name_Info class
public Name_Info ( string Full_Name, string Role ) : System
Full_Name string Full name of this entity
Role string Role term for this entity's relationship with the resource
Результат System

ToString() публичный Метод

Returns this name as a general string for display purposes
By default, this includes the role(s) in the string
public ToString ( ) : string
Результат string

ToString() публичный Метод

Returns this identifier as a general string for display purposes
public ToString ( bool IncludeRole ) : string
IncludeRole bool Flag indicates whether to include the role(s) in this string
Результат string