Skip to main content
Version: 3.5

ResponsiveProfileCollection

Namespace: Wisej.Base

Assembly: Wisej.Framework (3.5.0.0)

Collection of responsive profiles.

public class ResponsiveProfileCollection : SynchronizedList<>

Properties​

Instance memberCurrentProfile​

ResponsiveProfile: Returns the current profile.

Instance memberDefaultProfile​

ResponsiveProfile: Returns the default profile.

Instance memberItem(name)​

ResponsiveProfile: Returns the ResponsiveProfile identified by the specified name .

Methods​

Instance memberAdd(profile)​

Adds a new ResponsiveProfile to the collection.

ParameterTypeDescription
profileResponsiveProfileResponsiveProfile to add to the collection.

Instance memberAddRange(profiles)​

Adds a list of ResponsiveProfile objects in the collection..

ParameterTypeDescription
profilesIEnumerable<ResponsiveProfile>List of ResponsiveProfile objects to add to the collection.

Instance memberContains(name)​

Verifies if the ResponsiveProfile identified by the specified name is present in the collection.

ParameterTypeDescription
nameStringName of the ResponsiveProfile to locate in the collection.

Returns: Boolean. True if the collection contains a ResponsiveProfile with the specified name .

Instance memberContains(profile)​

Checks if the ResponsiveProfile instance is already present in the collection.

ParameterTypeDescription
profileResponsiveProfileResponsiveProfile to find in the collection.

Returns: Boolean.

Instance memberCreate(name)​

Creates ore retrieves a ResponsiveProfile using the specified name .

ParameterTypeDescription
nameStringName 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 .

Instance memberInsert(index, profile)​

Inserts a ResponsiveProfile instance into the collection at the specified index .

ParameterTypeDescription
indexInt32Position in the collection.
profileResponsiveProfileResponsiveProfile to insert in the collection.

Instance memberInsertRange(index, profiles)​

Inserts a collection of ResponsiveProfile instances into the collection starting at the specified index .

ParameterTypeDescription
indexInt32Position where to insert the profiles of ResponsiveProfile objects.
profilesIEnumerable<ResponsiveProfile>Collection of ResponsiveProfile objects to insert in the collection.

Instance memberRemove(name)​

Removes the ResponsiveProfile with the specified name.

ParameterTypeDescription
nameStringName of the ResponsiveProfile to remove from the collection.