ValueExtensions Class

Provides extension methods to filter and sort instances of the Value class.

Inheritance Hierarchy

SystemObject
  TcHmiSrv.Core.Tools.Queries.ExtensionsValueExtensions

Namespace: TcHmiSrv.Core.Tools.Queries.Extensions
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public static class ValueExtensions

The ValueExtensions type exposes the following members.

Methods

 

Name

Description

ValueExtensions Class 1:

OrderBy

Sorts the Values of a sequence according to the specified String.
When using this method to order and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that sorting was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.

ValueExtensions Class 2:

Where(IEnumerableValue, Value)

Filters a sequence of Values based on a Value that contains filters.
When using this method to filter and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that filtering was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.

ValueExtensions Class 3:

Where(IEnumerableValue, Value, Boolean)

Filters a sequence of Values based on a Value that contains filters.
When using this method to filter and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that filtering was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Tools.Queries.Extensions Namespace

Copyright © Beckhoff Automation GmbH & Co. KG