Profile Class

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

Default user profile.

[Guid("39594c70-9609-4ace-b5cc-db436d375598")]
[Plugin(Name = "Default profile", Description = "Default user profile.")]
public class Profile : ProfileBase, IExtension, IExpando, IDynamicMetaObjectProvider, IEnumerable<KeyValuePair<string, object>>, IEnumerable, ICloneable, IValidatableObject, ITaggable, IHasAvatar
Inheritance:
System.Object → ExpandoProfileBaseProfile
Attributes:
System.Runtime.InteropServices.GuidAttribute, PluginAttribute
Implements:
IExtension, IExpando, ITaggable, IHasAvatar

Constructors

Profile() Initializes a new instance of the Profile class.

Properties

Bio Gets or sets the bio.
Department Gets or sets the department.
Location Gets or sets the location.
Phone Gets or sets the phone number.
Tags Gets or sets the list of tags for the profile.
Title Gets or sets the title.

Methods

GetExcerpt() Gets an excerpt or summary suitable for display in lists and search results.

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.