Class SourceCodeCollection
Represents a collection of SourceCode objects.
Implements
Inherited Members
System.Collections.ObjectModel.Collection<Algenta.Colectica.Model.Ddi.SourceCode>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Algenta.Colectica.Model.Ddi.SourceCode>.System.Collections.IList.set_Item(System.Int32, System.Object)
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class SourceCodeCollection : ObservableCollection<SourceCode>, IList<SourceCode>, ICollection<SourceCode>, IList, ICollection, IReadOnlyList<SourceCode>, IReadOnlyCollection<SourceCode>, IEnumerable<SourceCode>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Properties
CurrentSourceCode
Gets the current source code for the language defined by SourceCode.CurrentLanguage
.
Declaration
public SourceCode CurrentSourceCode { get; }
Property Value
Type | Description |
---|---|
SourceCode |
Methods
GetSourceCodeForLanguage(String)
Gets the source code for the specified language.
Declaration
public SourceCode GetSourceCodeForLanguage(string language)
Parameters
Type | Name | Description |
---|---|---|
String | language | The language. |
Returns
Type | Description |
---|---|
SourceCode |
HasLanguage(String)
Determines whether source code is defined for the specified language.
Declaration
public bool HasLanguage(string language)
Parameters
Type | Name | Description |
---|---|---|
String | language | The language. |
Returns
Type | Description |
---|---|
Boolean |
|
SetSourceCodeForLanguage(String, String)
Sets the source code for the specified language.
Declaration
public void SetSourceCodeForLanguage(string language, string value)
Parameters
Type | Name | Description |
---|---|---|
String | language | The language. |
String | value | The value. |