Table of Contents

Namespace Ecng.ComponentModel

Classes

AppToken

Application level CancellationToken.

AsyncTimeout

Represents an asynchronous timeout for an operation.

BaseCodeGenVisitor

Base class for code generation visitors. Provides common implementations for indentation management and writing code lines/text.

BaseObservableCollection

Base class for custom observable collections.

BasicSettingAttribute

Marks property as basic to be included into basic settings UI.

ComparableGreaterThanZeroAttribute<T>

Indicates that a comparable value must be greater than zero when provided.

ComparableNotNegativeAttribute<T>

Indicates that a comparable value must not be negative when provided.

ComparableNullOrMoreZeroAttribute<T>

Indicates that a comparable value must be either null or greater than zero.

ComparableNullOrNotNegativeAttribute<T>

Indicates that a comparable value must be either null or not negative.

ComparableValidationAttribute<T>

Provides a base class for validation attributes that compare values of a struct type.

ConvertibleObservableCollection<TItem, TDisplay>

Collection which maps items to another type to display.

CustomObjectWrapper<T>

Create instance.

CustomObjectWrapper<T>.ProxyEventDescriptor

Specialization of EventDescriptor.

CustomObjectWrapper<T>.ProxyPropDescriptor

Specialization of PropertyDescriptor.

DecimalGreaterThanZeroAttribute

Represents a validation attribute that ensures a decimal value is greater than zero when provided.

DecimalNotNegativeAttribute

Represents a validation attribute that ensures a decimal value is not negative when provided.

DecimalNullOrMoreZeroAttribute

Represents a validation attribute that ensures a decimal value is either null or greater than zero.

DecimalNullOrNotNegativeAttribute

Represents a validation attribute that ensures a decimal value is either null or not negative.

DispatcherNotifiableObject<T>

Forward INotifyPropertyChanged notifications to dispatcher thread. Multiple notifications for the same property may be forwarded only once.

DispatcherObservableCollection<TItem>

The class represents a synchronized collection that can be used in WPF applications.

DocAttribute

Online doc url attribute.

DummyDispatcher

Dummy dispatcher.

EditorExtensionAttribute

Specifies editor extension options for enums and properties.

EntityProperty

Represents an entity property with hierarchical structure.

EntityPropertyHelper

Provides helper methods for retrieving entity properties from a specified type.

Extensions

Provides a collection of extension methods for components, attributes, and debugging.

FileSizeFormatProvider

File size format provider.

FlattenedTypeDescriptor

Represents a type descriptor that flattens the properties of the specified object.

ICodeGenVisitorExtensions

Provides extension methods for ICodeGenVisitor for code generation tasks.

IconAttribute

Icon attribute.

IntGreaterThanZeroAttribute

Specifies that an integer value must be greater than zero when validated.

IntNotNegativeAttribute

Specifies that an integer value must not be negative when provided.

IntNullOrMoreZeroAttribute

Specifies that an integer value must be either null or greater than zero.

IntNullOrNotNegativeAttribute

Specifies that an integer value must be either null or not negative.

ItemsSourceAttribute

Specifies the items source type to be used for a property.

ItemsSourceBase

Represents a non-generic items source based on objects.

ItemsSourceBase<T>

Represents the base implementation for an items source containing values of type T.

ItemsSourceItem<T>

Represents an item source item with a strongly typed value. Provides functionality for property change notifications.

LikeComparesExtensions

Provides extension methods for comparing string values using a specified comparison operator.

NamedPropertyDescriptor

Represents a property descriptor with a defined name used for display purposes.

NotifiableObject

Provides base functionality for notifying property changes to registered observers. Implements both INotifyPropertyChangedEx and INotifyPropertyChanging.

NotifyPropertyChangedExHelper

Extension class for INotifyPropertyChangedEx.

OAuthAttribute

Indicates that the property is associated with an OAuth service, identified by a unique service identifier.

ObservableCollectionEx<TItem>
ObservableDictionary<TKey, TValue>

http://drwpf.com/blog/2007/09/16/can-i-bind-my-itemscontrol-to-a-dictionary/

ObservableDictionary<TKey, TValue>.KeyedDictionaryEntryCollection
OperatorRegistry

Provides a registry for operators to perform mathematical and comparison operations.

Price

Represents a price with a specific value and type.

PriceExtensions

Price extension methods.

ProcessSingleton

Provides functionality to ensure that only one instance of the application is running.

RangeHelper

Provides helper methods for manipulating Range objects.

Range<T>

Represents a generic range defined by a minimum and maximum value.

ServerCredentials

The class that contains a login and password.

Stat<TAction>

Provides statistical tracking for actions.

Stat<TAction>.Item

Represents an item that tracks the duration of an action.

StreamWriterCodeGenVisitor

Implements ICodeGenVisitor using a StreamWriter for code generation.

StringBuilderCodeGenVisitor

Implements ICodeGenVisitor using a StringBuilder for code generation.

TimeSpanEditorAttribute

TimeSpan editor attribute.

TimeSpanGreaterThanZeroAttribute

Indicates that a TimeSpan value must be greater than zero when provided.

TimeSpanNotNegativeAttribute

Indicates that a TimeSpan value must not be negative when provided.

TimeSpanNullOrMoreZeroAttribute

Indicates that a TimeSpan value must be either null or greater than zero.

TimeSpanNullOrNotNegativeAttribute

Indicates that a TimeSpan value must be either null or not negative.

TypeConverterHelper

Auxilary class for accessing typed data from type converters.

VectorIconAttribute

Represents an attribute that specifies a vector icon.

ViewModelBase

Базовый класс для реализации View-Model в модели MVVM

Structs

ObservableDictionary<TKey, TValue>.Enumerator
StatInfo<TAction>

Contains statistical information related to actions.

StatInfo<TAction>.Item<TValue>

Represents an item that holds a value, an IP address, and an action.

Interfaces

IAttributesEntity

Represents an entity that contains a collection of attributes.

ICodeGenVisitor

Code generation visitor.

IConvertibleObservableCollection<TItem>

Collection which maps items to another type to display.

ICustomTypeDescriptorEx

Provides an extended type descriptor that includes access to the underlying instance.

ICustomTypeDescriptorProvider

Provides a mechanism to retrieve a custom type descriptor for a given type and instance.

IDebugger

The interfaces describes debugger.

IDispatcher

Threads dispatcher.

IFileBrowserEditor

Defines methods for performing file browser editing operations.

IFileSaveEditor

Provides an interface for file save editor components.

IFolderBrowserEditor

Provides an interface for implementing folder browser editing functionality.

IItemsSource

Represents a source of items.

IItemsSourceItem

Represents an item used as a source for UI components, with properties for display, description, icon, and state.

IItemsSourceItem<TValue>

Represents an item source item with a strongly typed value.

IItemsSource<TValue>

Represents a strongly typed source of items.

ILastDirSelector

Interface describes last directory selector.

INotifyPropertiesChanged

The interface describing the type with a variable number of properties.

INotifyPropertyChangedEx

Extended version INotifyPropertyChanged.

IRange

Represents a range with a minimum and maximum value.

ITelegramChannel

Telegram channel.

ITelegramChannelEditor

Telegram channels editor.

IUndoRedoManager

Undo/redo manager.

IValidator

Provides functionality for validating objects.

Enums

ConnectionStates

Specifies the possible connection states.

PriceTypes

Measure units.

TimeSpanEditorMask

Show TimeSpan editor parts mask.