Class ABRoslyn
- Namespace
- SunamoRoslyn._public
- Assembly
- SunamoRoslyn.dll
Represents a name-value pair for Roslyn code analysis.
public class ABRoslyn
- Inheritance
-
ABRoslyn
- Inherited Members
- Extension Methods
Constructors
ABRoslyn(string, object)
Initializes a new instance of the ABRoslyn class.
public ABRoslyn(string name, object value)
Parameters
Properties
A
The name component of the pair.
public string A { get; set; }
Property Value
B
The value component of the pair.
public object B { get; set; }
Property Value
Methods
Get(string, object)
Creates a new ABRoslyn instance from a string name and value.
public static ABRoslyn Get(string name, object value)
Parameters
Returns
Get(Type, object)
Creates a new ABRoslyn instance from a type and value.
public static ABRoslyn Get(Type name, object value)
Parameters
nameTypeThe type whose full name will be used as the name component.
valueobjectThe value component.
Returns
ToString()
Returns a string representation of this name-value pair.
public override string ToString()
Returns
- string
A string in the format "Name:Value".