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

Search Results for

    Class ManualUsingStatementNamespace

    Manual C# data model that supports the IUsingStatementNamespace interface.

    Inheritance
    object
    ManualUsingStatementNamespace
    Implements
    IUsingStatementNamespace
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CodeFactory.WinVs.Models.CSharp
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public class ManualUsingStatementNamespace : IUsingStatementNamespace

    Constructors

    ManualUsingStatementNamespace(string, bool, string)

    Creates a new instance of the ManualUsingStatementNamespace

    Declaration
    public ManualUsingStatementNamespace(string referenceNamespace, bool hasAlias = false, string alias = null)
    Parameters
    Type Name Description
    string referenceNamespace

    The target C# namespace assoicated with a source code file using statement.

    bool hasAlias

    Optional parameter that determines if the namespadce has an alias, default is false.

    string alias

    Optional parameter that identifies the alias for the namespace, default is null.

    Properties

    Alias

    The alias assigned to the namespace being imported. This will be null if the HasAlias is false.

    Declaration
    public string Alias { get; }
    Property Value
    Type Description
    string

    HasAlias

    Flag that determines if the namespace reference has an alias.

    Declaration
    public bool HasAlias { get; }
    Property Value
    Type Description
    bool

    ReferenceNamespace

    The target namespace that is being imported into the sources scope.

    Declaration
    public string ReferenceNamespace { get; }
    Property Value
    Type Description
    string

    Implements

    IUsingStatementNamespace
    © CodeFactory, LLC. All rights reserved.