# Class MasterListWithPaginatedOptionsDto

Namespace
  adas_core.Domain.Models.DTO

Assembly
  adas-core.Domain.dll

Represents a data transfer object that combines a master list with pagination options and a collection of unit information items.

    public class MasterListWithPaginatedOptionsDto

Inheritance
  object
  MasterListWithPaginatedOptionsDto

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Remarks

This DTO packages a MasterList together with the configured `pageSize` and a list of UnitInfoDto entries for transport across application boundaries.

## Constructors

### MasterListWithPaginatedOptionsDto(MasterList, int, List<UnitInfoDto>)

Represents a data transfer object that combines a master list with pagination options and a collection of unit information items.

    public MasterListWithPaginatedOptionsDto(MasterList masterList, int pageSize, List<UnitInfoDto> units)

#### Parameters

`masterList` MasterList
`pageSize` int
`units` List<UnitInfoDto>

#### Remarks

This DTO packages a MasterList together with the configured `pageSize` and a list of UnitInfoDto entries for transport across application boundaries.

## Properties

### CanAddElement

    public bool CanAddElement { get; set; }

#### Property Value

bool

### DefaultLocale

    public LocaleEnum? DefaultLocale { get; set; }

#### Property Value

LocaleEnum?

### Description

    public string Description { get; set; }

#### Property Value

string

### Id

    public ObjectId Id { get; set; }

#### Property Value

ObjectId

### ListType

    public MasterListType ListType { get; set; }

#### Property Value

MasterListType

### Name

    public string Name { get; set; }

#### Property Value

string

### OptionListDetails

    public OptionListDetails? OptionListDetails { get; set; }

#### Property Value

OptionListDetails

### Options

    public List<OptionList> Options { get; set; }

#### Property Value

List<OptionList>

### TotalOptionsCount

    public int TotalOptionsCount { get; set; }

#### Property Value

int

### Units

    public List<UnitInfoDto> Units { get; set; }

#### Property Value

List<UnitInfoDto>