2020-03-02 02:26:06 +01:00
|
|
|
using System;
|
|
|
|
using UnityAtoms.BaseAtoms;
|
|
|
|
|
|
|
|
namespace UnityAtoms.BaseAtoms
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-03-09 00:37:52 +01:00
|
|
|
/// Reference of type `string`. Inherits from `EquatableAtomReference<string, StringPair, StringConstant, StringVariable, StringEvent, StringPairEvent, StringStringFunction, StringVariableInstancer, AtomCollection, AtomList>`.
|
2020-03-02 02:26:06 +01:00
|
|
|
/// </summary>
|
|
|
|
[Serializable]
|
|
|
|
public sealed class StringReference : EquatableAtomReference<
|
|
|
|
string,
|
|
|
|
StringPair,
|
|
|
|
StringConstant,
|
|
|
|
StringVariable,
|
|
|
|
StringEvent,
|
|
|
|
StringPairEvent,
|
|
|
|
StringStringFunction,
|
2020-03-19 08:39:43 +01:00
|
|
|
StringVariableInstancer>, IEquatable<StringReference>
|
2020-03-02 02:26:06 +01:00
|
|
|
{
|
|
|
|
public StringReference() : base() { }
|
|
|
|
public StringReference(string value) : base(value) { }
|
|
|
|
public bool Equals(StringReference other) { return base.Equals(other); }
|
|
|
|
}
|
|
|
|
}
|