Show / Hide Table of Contents

Class SourceCodeCollection

Represents a collection of SourceCode objects.

Inheritance
System.Object
SourceCodeCollection
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class SourceCodeCollection : ObservableCollection<SourceCode>

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
System.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
System.String language

The language.

Returns
Type Description
System.Boolean

true if the specified language has language; otherwise, false.

SetSourceCodeForLanguage(String, String)

Sets the source code for the specified language.

Declaration
public void SetSourceCodeForLanguage(string language, string value)
Parameters
Type Name Description
System.String language

The language.

System.String value

The value.

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica