Struct AttributeRef
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
[JsonConverter(typeof(LdJsonConverters.AttributeRefConverter))]
public readonly struct AttributeRef : IEquatable<AttributeRef>, IJsonSerializable
Properties
Defined
Declaration
public bool Defined { get; }
Property Value
Depth
Declaration
public int Depth { get; }
Property Value
Error
Declaration
public string Error { get; }
Property Value
Valid
Declaration
public bool Valid { get; }
Property Value
Methods
Equals(AttributeRef)
Declaration
public bool Equals(AttributeRef other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
FromLiteral(string)
Declaration
public static AttributeRef FromLiteral(string attributeName)
Parameters
Type |
Name |
Description |
string |
attributeName |
|
Returns
FromPath(string)
Declaration
public static AttributeRef FromPath(string refPath)
Parameters
Type |
Name |
Description |
string |
refPath |
|
Returns
GetComponent(int)
Declaration
public string GetComponent(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements