Skip to main content
Version: 4.1

ResponsiveProfileCollection

Namespace: Wisej.Base

Assembly: Wisej.Framework (4.1.0.0)

Collection of responsive profiles.

public class ResponsiveProfileCollection : SynchronizedList<>

Properties

Instance member CurrentProfile

ResponsiveProfile: Returns the current profile.

Instance member DefaultProfile

ResponsiveProfile: Returns the default profile.

Instance member Item(name)

ResponsiveProfile: Returns the ResponsiveProfile identified by the specified name .

Methods

Instance member Add(profile)

Adds a new ResponsiveProfile to the collection.

ParameterTypeDescription
profileResponsiveProfileResponsiveProfile to add to the collection.

Instance member AddRange(profiles)

Adds a list of ResponsiveProfile objects in the collection..

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

Instance member Contains(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 member Contains(profile)

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

ParameterTypeDescription
profileResponsiveProfileResponsiveProfile to find in the collection.

Returns: Boolean.

Instance member Create(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 member Insert(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 member InsertRange(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 member Remove(name)

Removes the ResponsiveProfile with the specified name.

ParameterTypeDescription
nameStringName of the ResponsiveProfile to remove from the collection.