Show / Hide Table of Contents

Class AreaSerialized

Serializable (pure-data) object representing an Area.

Inheritance
Object
AreaSerialized
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public sealed class AreaSerialized : ValueType

Fields

PointHasher

The hashing algorithm to use for storing Points added to the area.

Declaration
public IEqualityComparer<Point> PointHasher
Field Value
Type Description
IEqualityComparer<Point>

Positions

Positions in the area.

Declaration
public List<PointSerialized> Positions
Field Value
Type Description
List<PointSerialized>

Operators

Implicit(Area to AreaSerialized)

Converts Area to AreaSerialized.

Declaration
public static implicit operator AreaSerialized(Area area)
Parameters
Type Name Description
Area area
Returns
Type Description
AreaSerialized

Implicit(AreaSerialized to Area)

Converts AreaSerialized to Area.

Declaration
public static implicit operator Area(AreaSerialized serialized)
Parameters
Type Name Description
AreaSerialized serialized
Returns
Type Description
Area

Extension Methods

PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>)
PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>, EventHandler<ValueChangedEventArgs<TProperty>>)
In This Article
Back to top Generated by DocFX