Struct SourceCodeRef
Represents a reference to the source code which may be named buffer or project source item (i.e. solution project item)
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.CodeAnalysis.Source
Assembly: Azos.dll
Syntax
public struct SourceCodeRef
Constructors
SourceCodeRef(IProjectItem)
Declaration
public SourceCodeRef(IProjectItem srcItem)
Parameters
Type | Name | Description |
---|---|---|
IProjectItem | srcItem |
SourceCodeRef(String)
Declaration
public SourceCodeRef(string srcName)
Parameters
Type | Name | Description |
---|---|---|
System.String | srcName |
Fields
ProjectItem
References project source item, this property may be null
Declaration
public readonly IProjectItem ProjectItem
Field Value
Type | Description |
---|---|
IProjectItem |
SourceName
Provides name for the source, this property is set to ProjectItem.Name when IProjectItem is supplied in .ctor
Declaration
public readonly string SourceName
Field Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()