Class Perspective
Represents an architectural perspective, that can be applied to elements and relationships. See https://www.viewpoints-and-perspectives.info/home/perspectives/ for more details of this concept
[DataContract]
public sealed class Perspective : IEquatable<Perspective>
- Inheritance
-
Perspective
- Implements
- Inherited Members
Properties
Description
The content of this perspective.
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; }
Property Value
Name
The name of this perspective.
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; }
Property Value
Methods
Equals(Perspective)
Compares this perspective with another by name.
public bool Equals(Perspective other)
Parameters
otherPerspectiveThe perspective to compare with.
Returns
Equals(object)
Compares this perspective with another object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with.
Returns
- bool
true when
objis a matching Perspective; otherwise, false.
GetHashCode()
Returns a hash code derived from the perspective name.
public override int GetHashCode()
Returns
- int
A hash code for the current perspective.