/// <summary> /// Initializes a new link picker item. /// </summary> /// <param name="id">The ID of the content or media item.</param> /// <param name="name">The name (text) of the link.</param> /// <param name="url">The URL of the link.</param> /// <param name="target">The target of the link.</param> /// <param name="mode">The mode of the link - either <see cref="LinkPickerMode.Content"/>, /// <see cref="LinkPickerMode.Media"/> or <see cref="LinkPickerMode.Url"/>.</param> public LinkPickerItem(int id, string name, string url, string target, LinkPickerMode mode) { Id = id; Name = name; RawUrl = url; Target = target; Mode = mode; }
/// <summary> /// Initializes a new link picker item. /// </summary> /// <param name="id">The ID of the content or media item.</param> /// <param name="name">The name (text) of the link.</param> /// <param name="url">The URL of the link.</param> /// <param name="target">The target of the link.</param> /// <param name="mode">The mode of the link - either <see cref="LinkPickerMode.Content"/>, /// <see cref="LinkPickerMode.Media"/> or <see cref="LinkPickerMode.Url"/>.</param> public LinkPickerItem(int id, string name, string url, string target, LinkPickerMode mode) { Id = id; Name = name; RawUrl = url; Target = target; Mode = mode; }