Links

ResponsiveProfileCollection

Wisej.Base.ResponsiveProfileCollection
Namespace: Wisej.Base
Assembly: Wisej.Framework (3.1.0.0)
Collection of responsive profiles.
C#
VB.NET
public class ResponsiveProfileCollection : SynchronizedList<>
Public Class ResponsiveProfileCollection
Inherits SynchronizedList(Of )

Properties

CurrentProfile

ResponsiveProfile: Returns the current profile.

DefaultProfile

ResponsiveProfile: Returns the default profile.

Item(name)

ResponsiveProfile: Returns the ResponsiveProfile identified by the specified name .

Methods

Add(profile)

Adds a new ResponsiveProfile to the collection.
Parameter
Type
Description
profile
ResponsiveProfile to add to the collection.

AddRange(profiles)

Adds a list of ResponsiveProfile objects in the collection..
Parameter
Type
Description
profiles
List of ResponsiveProfile objects to add to the collection.

Contains(name)

Verifies if the ResponsiveProfile identified by the specified name is present in the collection.
Parameter
Type
Description
name
String
Name of the ResponsiveProfile to locate in the collection.
Returns: Boolean. True if the collection contains a ResponsiveProfile with the specified name .

Contains(profile)

Checks if the ResponsiveProfile instance is already present in the collection.
Parameter
Type
Description
profile
ResponsiveProfile to find in the collection.
Returns: Boolean.

Create(name)

Creates ore retrieves a ResponsiveProfile using the specified name .
Parameter
Type
Description
name
String
Name of the ResponsiveProfile to retrieve or to create.
Returns: ResponsiveProfile. Either an existing ResponsiveProfile with the specified name or a newly created ResponsiveProfile with the specified name .

Insert(index, profile)

Inserts a ResponsiveProfile instance into the collection at the specified index .
Parameter
Type
Description
index
Int32
Position in the collection.
profile
ResponsiveProfile to insert in the collection.

InsertRange(index, profiles)

Inserts a collection of ResponsiveProfile instances into the collection starting at the specified index .
Parameter
Type
Description
index
Int32
Position where to insert the profiles of ResponsiveProfile objects.
profiles
Collection of ResponsiveProfile objects to insert in the collection.

Remove(name)

Removes the ResponsiveProfile with the specified name.
Parameter
Type
Description
name
String
Name of the ResponsiveProfile to remove from the collection.