mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-30 20:02:49 -05:00
27 lines
877 B
C#
27 lines
877 B
C#
|
using System;
|
||
|
using UnityAtoms.BaseAtoms;
|
||
|
|
||
|
namespace UnityAtoms.BaseAtoms
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Reference of type `string`. Inherits from `EquatableAtomReference<string, StringPair, StringConstant, StringVariable, StringEvent, StringPairEvent, StringStringFunction, StringVariableInstancer>`.
|
||
|
/// </summary>
|
||
|
[Serializable]
|
||
|
public sealed class StringReference : EquatableAtomReference<
|
||
|
string,
|
||
|
StringPair,
|
||
|
StringConstant,
|
||
|
StringVariable,
|
||
|
StringEvent,
|
||
|
StringPairEvent,
|
||
|
StringStringFunction,
|
||
|
StringVariableInstancer,
|
||
|
AtomCollection,
|
||
|
AtomList>, IEquatable<StringReference>
|
||
|
{
|
||
|
public StringReference() : base() { }
|
||
|
public StringReference(string value) : base(value) { }
|
||
|
public bool Equals(StringReference other) { return base.Equals(other); }
|
||
|
}
|
||
|
}
|