CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Interface ICsSource

    Source definition from a source that was written in C#.

    Inherited Members
    ICsModel.ModelType
    ICsModel.GetModel<T>(string)
    ICsModel.GetModel(string)
    IDotNetSource.HostedInProject
    IDotNetSource.ProjectName
    IDotNetModel.LoadedFromSource
    IDotNetModel.Language
    IDotNetModel.SourceDocument
    IModelStatus.IsLoaded
    IModelStatus.HasErrors
    IModelStatus.GetErrors()
    ILookup.LookupPath
    IParent.Parent
    Namespace: CodeFactory.DotNet.CSharp
    Assembly: CodeFactory.DotNet.dll
    Syntax
    public interface ICsSource : ICsModel, IDotNetSource, IDotNetModel, IModelStatus, ILookup, IParent, IParent

    Properties

    | Improve this Doc View Source

    Classes

    The classes that were defined in the source.

    Declaration
    IReadOnlyList<CsClass> Classes { get; }
    Property Value
    Type Description
    IReadOnlyList<CsClass>
    | Improve this Doc View Source

    Delegates

    The delegates that were defined in the source.

    Declaration
    IReadOnlyList<CsDelegate> Delegates { get; }
    Property Value
    Type Description
    IReadOnlyList<CsDelegate>
    | Improve this Doc View Source

    Enums

    The enumerations that were defined in the source.

    Declaration
    IReadOnlyList<CsEnum> Enums { get; }
    Property Value
    Type Description
    IReadOnlyList<CsEnum>
    | Improve this Doc View Source

    Interfaces

    The interfaces that were defined in the source.

    Declaration
    IReadOnlyList<CsInterface> Interfaces { get; }
    Property Value
    Type Description
    IReadOnlyList<CsInterface>
    | Improve this Doc View Source

    NamespaceReferences

    The namespaces that are used as references to access other libraries not hosted in the source document.

    Declaration
    IReadOnlyList<CsUsingStatement> NamespaceReferences { get; }
    Property Value
    Type Description
    IReadOnlyList<CsUsingStatement>
    | Improve this Doc View Source

    Namespaces

    The namespaces that were defined in the source.

    Declaration
    IReadOnlyList<CsNamespace> Namespaces { get; }
    Property Value
    Type Description
    IReadOnlyList<CsNamespace>
    | Improve this Doc View Source

    Records

    The records that were defined in the source.

    Declaration
    IReadOnlyList<CsRecord> Records { get; }
    Property Value
    Type Description
    IReadOnlyList<CsRecord>
    | Improve this Doc View Source

    RecordStructures

    The record structures that were defined in the source.

    Declaration
    IReadOnlyList<CsRecordStructure> RecordStructures { get; }
    Property Value
    Type Description
    IReadOnlyList<CsRecordStructure>
    | Improve this Doc View Source

    Structures

    The structures that were defined in the source.

    Declaration
    IReadOnlyList<CsStructure> Structures { get; }
    Property Value
    Type Description
    IReadOnlyList<CsStructure>

    Methods

    | Improve this Doc View Source

    AddToBeginningAsync(string)

    Adds the source code to the beginning of the ICsSource model.

    Declaration
    Task<CsSource> AddToBeginningAsync(string sourceCode)
    Parameters
    Type Name Description
    string sourceCode

    The source code that is to be added to the document.

    Returns
    Type Description
    Task<CsSource>

    A newly loaded copy of the ICsSource model after the changes have been applied.

    Exceptions
    Type Condition
    DocumentException

    Error is raised when errors occur updating the source document.

    | Improve this Doc View Source

    AddToEndAsync(string)

    Adds the source code the end of the ICsSource model.

    Declaration
    Task<CsSource> AddToEndAsync(string sourceCode)
    Parameters
    Type Name Description
    string sourceCode

    The source code that is to be added to the document.

    Returns
    Type Description
    Task<CsSource>

    A newly loaded copy of the ICsSource model after the changes have been applied.

    Exceptions
    Type Condition
    DocumentException

    Error is raised when errors occur updating the source document.

    | Improve this Doc View Source

    DeleteAsync()

    Deletes the content from the ICsSource model.

    Declaration
    Task<CsSource> DeleteAsync()
    Returns
    Type Description
    Task<CsSource>

    A newly loaded copy of the ICsSource model after the delegate has been removed from the document.

    Exceptions
    Type Condition
    DocumentException

    Error is raised when errors occur updating the source document.

    | Improve this Doc View Source

    ReplaceAsync(string)

    Replaces the content of the ICsSource model.

    Declaration
    Task<CsSource> ReplaceAsync(string sourceCode)
    Parameters
    Type Name Description
    string sourceCode

    The source code that is to be used to replace the original definition in the document.

    Returns
    Type Description
    Task<CsSource>

    A newly loaded copy of the ICsSource model after the changes have been applied.

    Exceptions
    Type Condition
    DocumentException

    Error is raised when errors occur updating the source document.

    Extension Methods

    CsMemberExtensions.SourceMissingInterfaceMembers(ICsSource)
    © CodeFactory, LLC. All rights reserved.