Class FieldDefinitions
Inheritance
System.Object
FieldDefinitions
Implements
System.Collections.Generic.IEnumerable<
Field>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
public class FieldDefinitions : IEnumerable<Field>, IEnumerable, IFieldDefinitions
Constructors
Declaration
public FieldDefinitions()
Declaration
public FieldDefinitions(FieldDefinitions other)
Parameters
Declaration
public FieldDefinitions(ICollection<Field> fields)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<Field> |
fields |
|
Properties
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public ICollection<Field> Fields { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<Field> |
|
Declaration
public Field this[Guid guid] { get; }
Parameters
Type |
Name |
Description |
System.Guid |
guid |
|
Property Value
Declaration
public Field this[string name] { get; }
Parameters
Type |
Name |
Description |
System.String |
name |
|
Property Value
Methods
Declaration
Parameters
Type |
Name |
Description |
Field |
f |
|
Declaration
public Field Add(string fieldName, FieldValueType fieldType)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
FieldValueType |
fieldType |
|
Returns
Declaration
Declaration
public bool Contains(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool Exists(Field f)
Parameters
Type |
Name |
Description |
Field |
f |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool Exists(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public IEnumerator<Field> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<Field> |
|
Declaration
public Field Lookup(Guid guid)
Parameters
Type |
Name |
Description |
System.Guid |
guid |
|
Returns
Declaration
public Field Lookup(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Declaration
public IField LookupIField(Guid guid)
Parameters
Type |
Name |
Description |
System.Guid |
guid |
|
Returns
Declaration
public IField LookupIField(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Declaration
public bool Remove(Field f)
Parameters
Type |
Name |
Description |
Field |
f |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool Remove(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public List<Field> ToList()
Returns
Type |
Description |
System.Collections.Generic.List<Field> |
|
Explicit Interface Implementations
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable