SpaceBubble Class

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

An object representing a space in the weavy client context.

public class SpaceBubble
Inheritance:
System.Object → SpaceBubble

Constructors

SpaceBubble() Default constructor.
SpaceBubble(Space, Bubble) Constructor that populates values from space and bubble.
SpaceBubble(Space, BubbleType) Constructor when bubble is defined in script.

Properties

BubbleId Gets or sets id of the bubble.
ConnectedToUrl Gets or sets the url the bubble just was connected with.
Icon Gets or sets the url to the space icon.
IsAdmin Gets or sets a value indicating if the current user has admin permission for the space.
IsStarred Gets or sets a value indicating if the current user has starred the space.
Name Gets or sets the name of the space.
SpaceId Gets or sets id of the space.
Teamname Gets or sets the teamname of the space.
Type Gets or sets the type of bubble. (personal or global).
Url Get or sets the url to open.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.