CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Interface ICsProperty

    Model definition of a property in C#.

    Inherited Members
    ICsMember.Name
    ICsMember.Security
    ICsMember.MemberType
    ICsMember.AddBeforeAsync(string, string)
    ICsMember.AddBeforeAsync(string)
    ICsMember.AddBeforeAsync(string, bool)
    ICsMember.AddAfterAsync(string, string)
    ICsMember.AddAfterAsync(string)
    ICsMember.DeleteAsync(string)
    ICsMember.DeleteAsync()
    ICsMember.GetSourceLocationAsync(string)
    ICsMember.GetSourceLocationAsync()
    ICsMember.ReplaceAsync(string, string)
    ICsMember.ReplaceAsync(string)
    ICsMember.CommentOutSyntaxAsync(string)
    ICsMember.GetMemberSyntaxAsync()
    ICsModel.LoadedFromSource
    ICsModel.Language
    ICsModel.ModelType
    ICsModel.SourceDocument
    ICsModel.GetModel<T>(string)
    ICsModel.GetModel(string)
    IModelStatus.IsLoaded
    IModelStatus.HasErrors
    IModelStatus.GetErrors()
    ISourceFiles.SourceFiles
    ISourceFiles.ModelSourceFile
    ICsAttributes.HasAttributes
    ICsAttributes.Attributes
    IDocumentation.HasDocumentation
    IDocumentation.Documentation
    IDocumentation.AddBeforeDocsAsync(string)
    IDocumentation.AddAfterDocsAsync(string)
    IDocumentation.ReplaceDocsAsync(string)
    IDocumentation.DeleteDocsAsync()
    IParent.Parent
    ILookup.LookupPath
    Namespace: CodeFactory.WinVs.Models.CSharp
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public interface ICsProperty : ICsMember, ICsModel, IModelStatus, ISourceFiles, ICsAttributes, IDocumentation, IParent, ILookup

    Properties

    GetMethod

    Provides access to the get method statement in the property. This will be null the property does not have a get statement.

    Declaration
    CsMethod GetMethod { get; }
    Property Value
    Type Description
    CsMethod

    GetSecurity

    The security scope that is assigned to the get accessor. Make sure you check the HasGet to determine if the property supports get operations.

    Declaration
    [Obsolete("This will be removed in later editions of the SDK. Use the GetMethod property to access the get method details.", false)]
    CsSecurity GetSecurity { get; }
    Property Value
    Type Description
    CsSecurity

    HasGet

    Flag that determines if this property supports get accessor.

    Declaration
    bool HasGet { get; }
    Property Value
    Type Description
    bool

    HasInit

    Flag that determines if this property supports init accessor.

    Declaration
    bool HasInit { get; }
    Property Value
    Type Description
    bool

    HasSet

    Flag that determines if this property supports set accessor.

    Declaration
    bool HasSet { get; }
    Property Value
    Type Description
    bool

    InitMethod

    Provides access to the init method statement in the property. This will be null the property does not have a init statement.

    Declaration
    CsMethod InitMethod { get; }
    Property Value
    Type Description
    CsMethod

    IsAbstract

    Flag that determines if the property is implemented as an abstract property.

    Declaration
    bool IsAbstract { get; }
    Property Value
    Type Description
    bool

    IsOverride

    Flag that determines if the property has been overridden.

    Declaration
    bool IsOverride { get; }
    Property Value
    Type Description
    bool

    IsSealed

    Flag that determines if the property has been sealed.

    Declaration
    bool IsSealed { get; }
    Property Value
    Type Description
    bool

    IsStatic

    Flag that determines if the property has been implemented as static.

    Declaration
    bool IsStatic { get; }
    Property Value
    Type Description
    bool

    IsVirtual

    Flag that determines if the property is implemented as virtual.

    Declaration
    bool IsVirtual { get; }
    Property Value
    Type Description
    bool

    PropertyType

    The source data type that is managed by this property.

    Declaration
    CsType PropertyType { get; }
    Property Value
    Type Description
    CsType

    SetMethod

    Provides access to the set method statement in the property. This will be null the property does not have a set statement.

    Declaration
    CsMethod SetMethod { get; }
    Property Value
    Type Description
    CsMethod

    SetSecurity

    The security scope that is assigned to the set accessor. Make sure you check the HasSet to determine if the property supports set operations.

    Declaration
    [Obsolete("This will be removed in later editions of the SDK. Use the SetMethod property to access the set method details.", false)]
    CsSecurity SetSecurity { get; }
    Property Value
    Type Description
    CsSecurity

    Methods

    LoadGetBodySyntaxAsync()

    The source code syntax that is stored in the body of the property get. This will be null if was not loaded from source code.

    Declaration
    [Obsolete("This will be removed in later editions of the SDK. Use the GetMethod property to access the get method details.", false)]
    Task<string> LoadGetBodySyntaxAsync()
    Returns
    Type Description
    Task<string>

    LoadSetBodySyntaxAsync()

    The source code syntax that is stored in the body of the property get. This will be null if was not loaded from source code.

    Declaration
    [Obsolete("This will be removed in later editions of the SDK. Use the SetMethod property to access the set method details.", false)]
    Task<string> LoadSetBodySyntaxAsync()
    Returns
    Type Description
    Task<string>

    Extension Methods

    GenerateCSharpDocumentationExtensions.GenerateCSharpXmlDocumentation(IDocumentation, int)
    GenerateCSharpDocumentationExtensions.GenerateCSharpXmlDocumentationEnumerator(IDocumentation)
    © CodeFactory, LLC. All rights reserved.