• Articles
  • API Documentation
  • GitHub
Search Results for

    Show / Hide Table of Contents
    • Manifesto
    • Getting Started
      • Configure iOS
        • Create Storyboard/ViewController
      • Configure Android
        • Create Activity
      • Configure Core
        • Create ViewModel
    • XToolkit
      • Overview
      • Common
      • Bindings
        • Bindable
        • Advanced Bindings
        • Collections
      • Connectivity
      • Permissions
      • Push Notifications
      • Remote
      • WhiteLabel
        • iOS
        • Droid
        • Bootstrapper
        • Dependency Injection
        • MVVM
        • Navigation
        • Navigation Requirements
        • Validation
      • WhiteLabel.Essentials
      • WhiteLabel.Forms
      • Version Support
    • How to
      • Create iOS Custom View
      • Create iOS CollectionView
    • Practices
      • Android Resources Naming Convention
      • Unit Tests
    • Contributing
      • Contribution Workflow
      • Documentation
      • Developer Guide
      • NuGet Release Process

    XToolkit Common

    The most common components without dependencies. Almost all projects can should use this library.

    Install

    When you use this component separately from WhiteLabel.

    You can install via NuGet: Softeq.XToolkit.Common

    Install-Package Softeq.XToolkit.Common
    

    Description

    Common

    Collections

    Class Description
    ObservableRangeCollection Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.
    ObservableItemContentRangeCollection Additionally to notifications inherited from ObservableRangeCollection notifies when any of the items (INotifyPropertyChanged) is updated.
    ObservableKeyGroupsCollection Grouping of items by key into ObservableRange.
    BiDictionary Use this dictionary in case you need fast access to the key by value.

    Extensions

    • Assembly
    • DateTime
    • Dictionary
    • Enumerable
    • Enum
    • List
    • Stream
    • String
    • Task
    • Type

    Helpers

    • StringsHelper
    • TagsHelper
    • TextRange

    WeakObjects

    Class Description
    WeakAction Stores an Action without causing a hard reference to be created to the Action's owner. The owner can be garbage collected at any time.
    WeakFunc Stores a Func without causing a hard reference to be created to the Func's owner. The owner can be garbage collected at any time.
    WeakEventSubscription Weak subscription for any event.

    Commands

    Class Description
    RelayCommand Implementation of ICommand interface. Used WeakAction and WeakFunc.
    AsyncCommand Implementation of ICommand interface. Allows Commands to safely be used asynchronously with Task.

    Commands schema

    Other

    Class Description
    Timer Cross-platform Async timer.
    GenericEventArgs Generic EventArgs class.

    Common.iOS

    iOS Extensions

    • DateTime - DateTime to NSDate and back converter
    • UIColor
    • UIImage
    • UITextField
    • UIView
    • UIViewController

    Common.Droid

    • BoolToViewStateConverter

    Droid Extensions

    • Context
    • EditText
    • Intent
    • String
    • TextView
    • View

    • Improve this Doc
    In This Article
    Back to top Copyright © Softeq Development Corp.Generated by DocFX