LogoLogo
HomeNewsSupportVideos
v4.0
v4.0
  • Wisej.NET API
  • What's New
  • Releases
  • Concepts
  • Themes
  • Extensions
  • Wisej.Web
    • General
      • Application
        • Client
        • ClientBrowser
        • ClientCollection
        • ClientPlatform
        • ClientProfile
        • ClientTheme
        • Configuration
        • LoadConfigurationEventArgs
        • LoadConfigurationEventHandler
        • PlatformProvider
        • Application.FormCollection
        • Application.PageCollection
        • Application.RequestType
        • HashChangedEventArgs
        • HashChangedEventHandler
        • LicenseErrorEventArgs
        • LicenseErrorEventHandler
        • RequestEventArgs
        • RequestEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
      • BackgroundWorker
      • BindableComponent
      • Clipboard
      • Component
      • Control
        • Control.ControlCollection
        • ControlEventArgs
        • ControlEventHandler
        • DragEventArgs
        • DragEventHandler
        • FocusEventArgs
        • FocusEventHandler
        • HelpEventArgs
        • HelpEventHandler
        • JavaScript.ClientEvent
        • JavaScript.ClientEventCollection
        • KeyEventArgs
        • KeyEventHandler
        • KeyPressEventArgs
        • KeyPressEventHandler
        • LayoutEventArgs
        • LayoutEventHandler
        • MouseEventArgs
        • MouseEventHandler
        • PaintEventArgs
        • PaintEventHandler
        • PinchEventArgs
        • PinchEventHandler
        • PreviewKeyDownEventArgs
        • PreviewKeyDownEventHandler
        • QueryContinueDragEventArgs
        • QueryContinueDragEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
        • RotateEventArgs
        • RotateEventHandler
        • SwipeAxis
        • SwipeDirection
        • SwipeEventArgs
        • SwipeEventHandler
        • TouchEventArgs
        • TouchEventHandler
        • TrackEventArgs
        • TrackEventHandler
        • WebEventArgs
        • WebEventHandler
        • WidgetEventArgs
        • WidgetEventHandler
      • Cursor
      • Cursors
      • DataObject
      • Padding
      • Screen
      • SessionReference<T>
    • Buttons
      • Button
        • MenuButtonItemClickedEventArgs
        • MenuButtonItemClickedEventHandler
      • ButtonBase
      • CheckBox
      • RadioButton
      • SplitButton
    • Common Dialogs
      • ColorDialog
      • CommonDialog
      • FileDialog
      • FileDialogLoadPathEventArgs
      • FileDialogLoadPathEventHandler
      • FileDialogRootCollection
      • FileDialogUI
      • FolderBrowserDialog
      • FolderBrowserDialogUI
      • OpenFileDialog
      • SaveFileDialog
    • Containers
      • Accordion
        • Accordion.PanelCollection
        • AccordionAction
        • AccordionCancelEventArgs
        • AccordionCancelEventHandler
        • AccordionEventArgs
        • AccordionEventHandler
        • AccordionPanel
      • ContainerControl
        • AcceleratorEventArgs
        • AcceleratorEventHandler
      • DataRepeater
        • DataRepeaterAddRemoveItemsCancelEventArgs
        • DataRepeaterAddRemoveItemsCancelEventHandler
        • DataRepeaterAddRemoveItemsEventArgs
        • DataRepeaterAddRemoveItemsEventHandler
        • DataRepeaterDataErrorEventArgs
        • DataRepeaterDataErrorEventHandler
        • DataRepeaterItem
        • DataRepeaterItemCloneEventArgs
        • DataRepeaterItemCloneEventHandler
        • DataRepeaterItemEventArgs
        • DataRepeaterItemEventHandler
        • DataRepeaterItemValueEventArgs
        • DataRepeaterItemValueEventHandler
        • DataRepeaterLayoutStyles
      • Desktop
        • DesktopTaskBarItem
        • DesktopTaskBarItemClickEventArgs
        • DesktopTaskBarItemClickEventHandler
        • DesktopTaskBarItemCollection
        • DesktopTaskBarItemControl
        • DesktopTaskBarItemDateTime
      • FlexLayoutPanel
        • FlexLayoutStyle
      • FlowLayoutPanel
        • FlowDirection
      • Form
        • CloseReason
        • FormBorderStyle
        • FormClosedEventArgs
        • FormClosedEventHandler
        • FormClosingEventArgs
        • FormClosingEventHandler
        • FormStartPosition
        • FormWindowState
        • MdiClient
        • MdiTabProperties
      • GroupBox
      • Page
      • Panel
      • ScrollableControl
        • ScrollEventArgs
        • ScrollEventHandler
      • SlideBar
      • SplitContainer
        • FixedPanel
        • SplitterCancelEventArgs
        • SplitterCancelEventHandler
        • SplitterEventArgs
        • SplitterEventHandler
        • SplitterPanel
      • StatusBar
        • StatusBar.StatusBarPanelCollection
        • StatusBarControl
        • StatusBarPanel
        • StatusBarPanelAutoSize
        • StatusBarPanelBorderStyle
        • StatusBarPanelClickEventArgs
        • StatusBarPanelClickEventHandler
      • TabControl
        • TabAlignment
        • TabControl.TabPageCollection
        • TabControlAction
        • TabControlCancelEventArgs
        • TabControlCancelEventHandler
        • TabControlEventArgs
        • TabControlEventHandler
        • TabPage
        • TabSizeMode
      • TableLayoutPanel
        • ColumnStyle
        • RowStyle
        • TableLayoutColumnStyleCollection
        • TableLayoutControlCollection
        • TableLayoutPanelCellPosition
        • TableLayoutPanelGrowStyle
        • TableLayoutRowStyleCollection
        • TableLayoutSettings
        • TableLayoutStyle
        • TableLayoutStyleCollection
      • ToolBar
        • ToolBar.ToolBarButtonCollection
        • ToolBarButton
        • ToolBarButtonClickEventArgs
        • ToolBarButtonClickEventHandler
        • ToolBarButtonSizeMode
        • ToolBarButtonStyle
        • ToolBarTextAlign
      • UserControl
      • UserPopup
    • Content
      • AspNetPanel
      • Canvas
        • CanvasCompositeOperation
        • CanvasLineCap
        • CanvasLineJoin
        • CanvasRepeatPattern
        • CanvasTextAlign
        • CanvasTextBaseline
      • HtmlPanel
        • HtmlPanelElementClickArgs
        • HtmlPanelElementClickHandler
      • IFramePanel
      • ImageList
        • ImageList.ImageCollection
        • ImageListEntry
      • Label
      • Line
      • LinkLabel
        • LinkArea
        • LinkLabelLinkClickedEventArgs
        • LinkLabelLinkClickedEventHandler
      • PdfViewer
        • PdfViewerType
      • PictureBox
      • ProgressBar
      • ScrollBar
        • HScrollBar
        • HScrollProperties
        • ScrollEventArgs
        • ScrollEventHandler
        • ScrollProperties
        • VScrollBar
        • VScrollProperties
      • Shape
        • Shape.Border
      • Spacer
      • Upload
        • CaptureMode
        • UploadedEventArgs
        • UploadedEventHandler
        • UploadErrorEventArgs
        • UploadErrorEventHandler
        • UploadErrorType
        • UploadingEventArgs
        • UploadingEventHandler
        • UploadProgressEventArgs
        • UploadProgressEventHandler
      • WebBrowser
        • WebBrowserDocumentCompletedEventArgs
        • WebBrowserDocumentCompletedEventHandler
      • Widget
        • WebRequestEventArgs
        • WebRequestHandler
    • Data Binding
      • Binding
      • BindingCompleteContext
      • BindingCompleteEventArgs
      • BindingCompleteEventHandler
      • BindingCompleteState
      • BindingContext
      • BindingManagerBase
      • BindingManagerDataErrorEventArgs
      • BindingManagerDataErrorEventHandler
      • BindingMemberInfo
      • BindingNavigator
      • BindingsCollection
      • BindingSource
      • Command
      • Command<T>
      • CommandArgs
      • CommandArgs<T>
      • CommandManager
      • ControlBindingsCollection
      • ControlUpdateMode
      • ConvertEventArgs
      • ConvertEventHandler
      • CurrencyManager
      • DataSourceUpdateMode
      • IBindableComponent
      • IBinding
      • ICurrencyManagerProvider
      • ItemChangedEventArgs
      • ItemChangedEventHandler
      • ListBindingHelper
      • PropertyManager
    • Editors
      • CharacterCasing
      • ComponentTool
      • ComponentToolCollection
      • DateTimePicker
      • DomainUpDown
        • DomainUpDown.DomainUpDownItemCollection
      • InputType
      • LabelWrapper
      • MaskedTextBox
        • TypeValidationEventArgs
        • TypeValidationEventHandler
      • MonthCalendar
        • DateRangeEventArgs
        • DateRangeEventHandler
        • SelectionRange
      • NumericUpDown
      • TagTextBox
        • TagTextBoxEventArgs
        • TagTextBoxEventHandler
        • TagTextBoxMousEventArgs
        • TagTextBoxMousEventHandler
        • TagTextBoxRenderEventArgs
        • TagTextBoxRenderEventHandler
      • TextBox
      • TextBoxBase
      • TextBoxMode
      • TextBoxType
      • TimeUpDown
        • TimeUpDownFormat
      • ToolClickEventArgs
      • ToolClickEventHandler
      • TrackBar
      • TypedTextBox
      • UpDownBase
    • Enumerations
      • AccessibleRole
      • AnchorStyles
      • Appearance
      • AutoComplete
      • AutoCompleteMode
      • AutoScaleMode
      • AutoSizeMode
      • AutoValidate
      • BorderStyle
      • BoundsSpecified
      • CheckState
      • ColorDepth
      • ComboBoxStyle
      • ControlStyles
      • DataFormats
      • DataFormats.Format
      • DateTimePickerFormat
      • Day
      • DialogResult
      • Display
      • DockStyle
      • DragAction
      • DragDropEffects
      • GetChildAtPointSkip
      • HeaderPosition
      • HorizontalAlignment
      • ImageLayout
      • ImagePosition
      • ImeMode
      • Keys
      • LabelPosition
      • LeftRightAlignment
      • LineStyle
      • LinkBehavior
      • MaskFormat
      • MouseButtons
      • ObjectFit
      • Orientation
      • PanelAutoShowMode
      • PictureBoxSizeMode
      • Placement
      • PlacementMode
      • Position
      • ProgressBarStyle
      • RightToLeft
      • ScrollBars
      • ScrollEventType
      • ScrollOrientation
      • SelectionMode
      • Shortcut
      • SizeType
      • SortOrder
      • TabOrderManagerDirection
      • TextDataFormat
      • TextImageRelation
      • TickStyle
      • ValidationConstraints
      • VerticalAlignment
    • Extenders
      • Animation
        • Animation.Properties
        • AnimationEventArgs
        • AnimationEventHandler
        • AnimationTiming
      • ErrorAnimationType
      • ErrorBlinkStyle
      • ErrorIconAlignment
      • ErrorProvider
        • ErrorProviderErrorChangedEventArgs
        • ErrorProviderErrorChangedHandler
      • HelpTip
      • JavaScript
        • JavaScript.ClientEvent
        • JavaScript.ClientEventCollection
      • Rotation
        • Rotation.Properties
      • StyleSheet
      • TabOrderManager
      • ToolTip
      • ToolTipIcon
      • Validation
        • CurrencyValidationRule
        • DecimalValidationRule
        • EmailValidationRule
        • IntegerValidationRule
        • RegexValidationRule
        • RequiredValidationRule
        • TelephoneValidationRule
        • ValidationEventArgs
        • ValidationEventHandler
        • ValidationRule
    • Interfaces
      • IButtonControl
      • ICommand
      • ICommandSource
      • IContainerControl
      • IDataObject
      • IDropTarget
      • IErrorProvider
      • IImage
      • ILabel
      • IModified
      • IReadOnly
      • IUserData
      • IValidation
    • Lists & Grids
      • CheckedListBox
        • CheckedListBox.CheckedIndexCollection
        • CheckedListBox.CheckedObjectCollection
        • CheckedListBox.ObjectCollection
        • ItemCheckEventArgs
        • ItemCheckEventHandler
      • ComboBox
        • ComboBox.ObjectCollection
      • DataGridView
        • BaseCollection
        • DataGridView.CustomSummary
        • DataGridView.HitTestInfo
        • DataGridView.HitTestType
        • DataGridViewAutoSizeColumnMode
        • DataGridViewAutoSizeColumnsMode
        • DataGridViewAutoSizeRowMode
        • DataGridViewAutoSizeRowsMode
        • DataGridViewBand
        • DataGridViewBindingCompleteEventArgs
        • DataGridViewBindingCompleteEventHandler
        • DataGridViewButtonCell
        • DataGridViewButtonColumn
        • DataGridViewCell
        • DataGridViewCellBorderStyle
        • DataGridViewCellCancelEventArgs
        • DataGridViewCellCancelEventHandler
        • DataGridViewCellCollection
        • DataGridViewCellCommandEventArgs
        • DataGridViewCellCommandEventHandler
        • DataGridViewCellContextMenuNeededEventArgs
        • DataGridViewCellContextMenuNeededEventHandler
        • DataGridViewCellErrorTextNeededEventArgs
        • DataGridViewCellErrorTextNeededEventHandler
        • DataGridViewCellEventArgs
        • DataGridViewCellEventHandler
        • DataGridViewCellFormattingEventArgs
        • DataGridViewCellFormattingEventHandler
        • DataGridViewCellMouseEventArgs
        • DataGridViewCellMouseEventHandler
        • DataGridViewCellPaintEventArgs
        • DataGridViewCellPaintEventHandler
        • DataGridViewCellParsingEventArgs
        • DataGridViewCellParsingEventHandler
        • DataGridViewCellStateChangedEventArgs
        • DataGridViewCellStateChangedEventHandler
        • DataGridViewCellStyle
        • DataGridViewCellStyleContentChangedEventArgs
        • DataGridViewCellStyleContentChangedEventHandler
        • DataGridViewCellStyleScopes
        • DataGridViewCellToolTipTextNeededEventArgs
        • DataGridViewCellToolTipTextNeededEventHandler
        • DataGridViewCellValidatingEventArgs
        • DataGridViewCellValidatingEventHandler
        • DataGridViewCellValueEventArgs
        • DataGridViewCellValueEventHandler
        • DataGridViewCheckBoxCell
        • DataGridViewCheckBoxColumn
        • DataGridViewChildRowCollection
        • DataGridViewClipboardCopyMode
        • DataGridViewCollectionChangeEventArgs
        • DataGridViewColumn
        • DataGridViewColumnCollection
        • DataGridViewColumnEventArgs
        • DataGridViewColumnEventHandler
        • DataGridViewColumnHeaderCell
        • DataGridViewColumnHeadersHeightSizeMode
        • DataGridViewColumnSortMode
        • DataGridViewColumnsSortMode
        • DataGridViewColumnStateChangedEventArgs
        • DataGridViewColumnStateChangedEventHandler
        • DataGridViewComboBoxCell
        • DataGridViewComboBoxCell.ObjectCollection
        • DataGridViewComboBoxColumn
        • DataGridViewComboBoxEditingControl
        • DataGridViewContentAlignment
        • DataGridViewDataErrorEventArgs
        • DataGridViewDataErrorEventHandler
        • DataGridViewDataReadEventArgs
        • DataGridViewDataReadEventHandler
        • DataGridViewDataUpdatedEventArgs
        • DataGridViewDataUpdatedEventHandler
        • DataGridViewDateTimePickerCell
        • DataGridViewDateTimePickerColumn
        • DataGridViewDateTimePickerEditingControl
        • DataGridViewEditingControlShowingEventArgs
        • DataGridViewEditingControlShowingEventHandler
        • DataGridViewEditMode
        • DataGridViewElement
        • DataGridViewElementStates
        • DataGridViewHeaderCell
        • DataGridViewImageCell
        • DataGridViewImageCellLayout
        • DataGridViewImageColumn
        • DataGridViewLinkCell
        • DataGridViewLinkColumn
        • DataGridViewMaskedTextBoxCell
        • DataGridViewMaskedTextBoxColumn
        • DataGridViewMaskedTextBoxEditingControl
        • DataGridViewNumericUpDownCell
        • DataGridViewNumericUpDownColumn
        • DataGridViewNumericUpDownEditingControl
        • DataGridViewRow
        • DataGridViewRowCancelEventArgs
        • DataGridViewRowCancelEventHandler
        • DataGridViewRowCollection
        • DataGridViewRowErrorTextNeededEventArgs
        • DataGridViewRowErrorTextNeededEventHandler
        • DataGridViewRowEventArgs
        • DataGridViewRowEventHandler
        • DataGridViewRowHeaderCell
        • DataGridViewRowHeadersWidthSizeMode
        • DataGridViewRowHeightInfoNeededEventArgs
        • DataGridViewRowHeightInfoNeededEventHandler
        • DataGridViewRowsAddedEventArgs
        • DataGridViewRowsAddedEventHandler
        • DataGridViewRowsRemovedEventArgs
        • DataGridViewRowsRemovedEventHandler
        • DataGridViewRowStateChangedEventArgs
        • DataGridViewRowStateChangedEventHandler
        • DataGridViewSelectedCellCollection
        • DataGridViewSelectedColumnCollection
        • DataGridViewSelectedRowCollection
        • DataGridViewSelectionMode
        • DataGridViewSortCompareEventArgs
        • DataGridViewSortCompareEventHandler
        • DataGridViewSortSelectionMode
        • DataGridViewSummaryRow
        • DataGridViewTextBoxCell
        • DataGridViewTextBoxColumn
        • DataGridViewTextBoxEditingControl
        • DataGridViewToolClickEventArgs
        • DataGridViewToolClickEventHandler
        • DataGridViewTriState
        • IDataGridViewEditingControl
        • InputType
        • ScrollEventArgs
        • ScrollEventHandler
        • SummaryRowPosition
        • SummaryType
        • TextBoxMode
        • TextBoxType
      • ListBox
        • ListBox.ObjectCollection
        • ListBox.SelectedIndexCollection
        • ListBox.SelectedObjectCollection
      • ListControl
        • ListControlConvertEventArgs
        • ListControlConvertEventHandler
      • ListView
        • CacheVirtualItemsEventArgs
        • CacheVirtualItemsEventHandler
        • ColumnClickEventArgs
        • ColumnClickEventHandler
        • ColumnHeader
        • ColumnHeaderAutoResizeStyle
        • ColumnHeaderStyle
        • ColumnReorderedEventArgs
        • ColumnReorderedEventHandler
        • ColumnWidthChangedEventArgs
        • ColumnWidthChangedEventHandler
        • GridLineStyle
        • ImageColumnHeader
        • ItemCheckedEventArgs
        • ItemCheckedEventHandler
        • ItemClickEventArgs
        • ItemClickEventHandler
        • ItemMouseHoverEventArgs
        • ItemMouseHoverEventHandler
        • ItemSelectionChangedEventArgs
        • ItemSelectionChangedEventHandler
        • LabelEditEventArgs
        • LabelEditEventHandler
        • ListView.CheckedIndexCollection
        • ListView.CheckedListViewItemCollection
        • ListView.ColumnHeaderCollection
        • ListView.ListViewItemCollection
        • ListView.SelectedIndexCollection
        • ListView.SelectedListViewItemCollection
        • ListViewBindingCompleteEventArgs
        • ListViewBindingCompleteEventEventHandler
        • ListViewDataUpdatedEventArgs
        • ListViewDataUpdatedEventHandler
        • ListViewItem
        • ListViewItem.ListViewSubItem
        • ListViewItem.ListViewSubItemCollection
        • ListViewItemDragEventArgs
        • ListViewItemDragEventHandler
        • ListViewItemStates
        • ListViewVirtualItemsSelectionRangeChangedEventArgs
        • ListViewVirtualItemsSelectionRangeChangedEventHandler
        • RetrieveVirtualItemEventArgs
        • RetrieveVirtualItemEventHandler
        • SearchForVirtualItemEventArgs
        • SearchForVirtualItemEventHandler
        • View
      • ListViewComboBox
      • PropertyGrid
        • GridItem
        • GridItemCollection
        • GridItemType
        • PropertySort
        • PropertyValueChangedEventArgs
        • PropertyValueChangedEventHandler
        • PropertyValueDataErrorEventArgs
        • PropertyValueDataErrorEventHandler
        • PropertyValueFormattingEventArgs
        • PropertyValueFormattingEventHandler
        • SelectedGridItemBeginEditEventArgs
        • SelectedGridItemBeginEditEventHandler
        • SelectedGridItemChangedEventArgs
        • SelectedGridItemChangedEventHandler
        • SelectedGridItemEndEditEventArgs
        • SelectedGridItemEndEditEventHandler
      • TreeView
        • ItemDragEventArgs
        • ItemDragEventHandler
        • NodeLabelEditEventArgs
        • NodeLabelEditEventHandler
        • TreeNode
        • TreeNodeCollection
        • TreeNodeMouseClickEventArgs
        • TreeNodeMouseClickEventHandler
        • TreeNodeMouseHoverEventArgs
        • TreeNodeMouseHoverEventHandler
        • TreeViewAction
        • TreeViewCancelEventArgs
        • TreeViewCancelEventHandler
        • TreeViewEventArgs
        • TreeViewEventHandler
        • TreeViewNodeDragEventArgs
        • TreeViewNodeDragEventHandler
      • TreeViewComboBox
      • UserComboBox
    • Menus
      • CheckedMenuItem
      • ContextMenu
      • LinkMenuItem
      • MainMenu
      • Menu
      • Menu.MenuItemCollection
      • MenuBar
      • MenuItem
      • MenuItemEventArgs
      • MenuItemEventHandler
      • MenuItemSizeMode
      • MenuMerge
    • Notifications
      • AlertBox
        • MessageBoxIcon
      • MessageBox
        • MessageBoxButtons
        • MessageBoxDefaultButton
        • MessageBoxIcon
      • Toast
    • Other Components
      • Timer
  • Wisej.Base
    • General
      • Component
      • Cookie
        • Cookie.SameSiteMode
      • CookieCollection
      • PostbackPropertyAttribute
      • TextUtils
    • Responsive
      • ResponsiveProfile
      • ResponsiveProfileCollection
      • ResponsivePropertyAttribute
  • Wisej.Core
    • General
      • BrowserStorage
      • CookieStorage
      • DynamicObject
      • FileSystemProvider
      • HealthCheck
      • HttpContext
      • HttpCookie
        • SameSiteMode
      • HttpCookieCollection
      • HttpFileCollection
      • HttpPostedFile
      • HttpRequest
      • HttpResponse
      • IEventFilter
      • IFileSystemProvider
      • LocalStorage
      • MimeTypes
      • SessionStorage
      • SynchronizedList<T>
      • WebMethodAttribute
      • WisejEventArgs
        • WisejEventArgs.KeyboardInfo
        • WisejEventArgs.PointerInfo
      • WisejResourcesAttribute
      • WisejSerializer
      • WisejSerializerOptions
      • WisejSerializerOptionsAttribute
    • Interfaces
      • IWisejComponent
      • IWisejControl
      • IWisejDataStore
      • IWisejEditorService
      • IWisejExtenderProvider
      • IWisejHandler
      • IWisejSerializable
      • IWisejWindow
  • Wisej.Web.Markup
    • Extensions
      • BindingExtensions
      • ButtonExtensions
      • CheckedListBoxExtensions
      • ComboBoxExtensions
      • ControlExtensions
      • DateTimePickerExtensions
      • FlexLayoutPanelExtensions
      • FlowLayoutPanelExtensions
      • FormExtensions
      • GroupBoxExtensions
      • IButtonControlExtensions
      • ICommandSourceExtensions
      • IErrorProviderExtensions
      • IImageExtensions
      • ILabelExtensions
      • IModifiedExtensions
      • IReadOnlyExtensions
      • LabelExtensions
      • LineExtensions
      • LinkLabelExtensions
      • ListBoxExtensions
      • ListControlExtensions
      • MonthCalendarExtenestions
      • NumericUpDownExtensions
      • PageExtensions
      • PanelExtensions
      • PictureBoxExtensions
      • ProgressBarExtensions
      • RadioButtonExtensions
      • ScrollableControlExtensions
      • ScrollBarExtensions
      • ShapeExtensions
      • SplitterControlExtensions
      • StatusBarExtensions
      • TabControlExtensions
      • TableLayoutPanelExtensions
      • TabPageExtensions
      • TextBoxExtensions
      • TimerExtensions
      • TimeUpDownExtensions
      • ToolBarButtonExtensions
      • ToolBarExtensions
      • TrackBarExtensions
      • TreeNodeExtensions
      • TreeViewExtensions
      • UpDownControlExtensions
      • WebBrowserExtensions
  • Wisej.Web.VisualBasic
    • Extensions
      • Interaction
      • MsgBoxResult
      • MsgBoxStyle
  • Wisej.Services
    • General
      • InjectAttribute
      • ServiceLifetime
      • ServiceProvider
  • System
    • Extensions
      • DateTimeExtensions
      • FontExtensions
      • JSON
      • Markdown
      • StringExtensions
  • Wisej.Resources
    • Resources
      • ComponentResourceManager
      • ResourceManager
Powered by GitBook
On this page
  • Methods
  • AddOrReplaceService<TService>(lifetime)
  • AddOrReplaceService(serviceType, lifetime)
  • AddOrReplaceService<TService, TImplementation>(lifetime)
  • AddOrReplaceService(serviceType, implementationType, lifetime)
  • AddOrReplaceService<TService>(implementationTypeName, lifetime)
  • AddOrReplaceService(serviceType, implementationTypeName, lifetime)
  • AddOrReplaceService<TService>(serviceImplementation, lifetime)
  • AddOrReplaceService(serviceType, serviceImplementation, lifetime)
  • AddOrReplaceService<TService>(implementationFactory, lifetime)
  • AddOrReplaceService(serviceType, implementationFactory, lifetime)
  • AddService<TService>(lifetime)
  • AddService(serviceType, lifetime)
  • AddService<TService, TImplementation>(lifetime)
  • AddService(serviceType, implementationType, lifetime)
  • AddService<TService>(implementationTypeName, lifetime)
  • AddService(serviceType, implementationTypeName, lifetime)
  • AddService<TService>(serviceImplementation, lifetime)
  • AddService(serviceType, serviceImplementation, lifetime)
  • AddService<TService>(implementationFactory, lifetime)
  • AddService(serviceType, implementationFactory, lifetime)
  • GetService<T>()
  • GetService(serviceType)
  • HasService<T>()
  • HasService(serviceType)
  • Inject(target)
  • RemoveService<TService>()
  • RemoveService(serviceType)

Was this helpful?

Export as PDF
  1. Wisej.Services
  2. General

ServiceProvider

Wisej.Services.ServiceProvider

Last updated 2 months ago

Was this helpful?

Namespace: Wisej.Services

Assembly: Wisej.Framework (4.0.0.0)

Manages services for Wisej.NET's DI implementation.

public class ServiceProvider : IServiceProvider
Public Class ServiceProvider
    Inherits IServiceProvider

Methods

AddOrReplaceService<TService>(lifetime)

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

TService

The service to add.

Returns: .

Throws:

  • A service of type TService is already registered.

AddOrReplaceService(serviceType, lifetime)

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

serviceType

The type of the service to add.

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

TService

The type of the service to add.

TImplementation

The type of the implementation to use.

Throws:

Registers a scoped service. Since 4.0.0

Parameter
Type
Description

serviceType

The type of the service to add.

implementationType

The type of the implementation to use.

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

TService

The type of the service to add.

implementationTypeName

The name of the type of the implementation; can be a fully qualified assembly + type name.

Using this overload allows the application to register a service implementation that is loaded dynamically when requested. If implementationTypeName is a fully qualified type name, including the assembly name, the assembly and type are loaded on demand. Throws:

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

serviceType

The type of the service to add.

implementationTypeName

The name of the type of the implementation; can be a fully qualified assembly + type name.

Using this overload allows the application to register a service implementation that is loaded dynamically when requested. If implementationTypeName is a fully qualified type name, including the assembly name, the assembly and type are loaded on demand. This non-generic method supports the registration of generic services:


![
  Application.Services.AddService(typeof(DBConnection<>));
  ...
  var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
  var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

TService

The service to add.

serviceImplementation

Implementation for the TService .

Throws:

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

serviceType

The service to add.

serviceImplementation

Implementation for the serviceType .

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

TService

The type of the service to add.

implementationFactory

Method for creating the TService instance.

Throws:

Registers or replaces a scoped service. Since 4.0.0

Parameter
Type
Description

serviceType

The type of the service to add.

implementationFactory

Method for creating the serviceType instance.

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers a scoped service.

Parameter
Type
Description

TService

The service to add.

Throws:

Registers a scoped service. Since 3.5.4

Parameter
Type
Description

serviceType

The type of the service to add.

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers a scoped service.

Parameter
Type
Description

TService

The type of the service to add.

TImplementation

The type of the implementation to use.

Throws:

Registers a scoped service. Since 3.5.4

Parameter
Type
Description

serviceType

The type of the service to add.

implementationType

The type of the implementation to use.

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers a scoped service.

Parameter
Type
Description

TService

The type of the service to add.

implementationTypeName

The name of the type of the implementation; can be a fully qualified assembly + type name.

Using this overload allows the application to register a service implementation that is loaded dynamically when requested. If implementationTypeName is a fully qualified type name, including the assembly name, the assembly and type are loaded on demand. Throws:

Registers a scoped service. Since 3.5.4

Parameter
Type
Description

serviceType

The type of the service to add.

implementationTypeName

The name of the type of the implementation; can be a fully qualified assembly + type name.

Using this overload allows the application to register a service implementation that is loaded dynamically when requested. If implementationTypeName is a fully qualified type name, including the assembly name, the assembly and type are loaded on demand. This non-generic method supports the registration of generic services:


![
  Application.Services.AddService(typeof(DBConnection<>));
  ...
  var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
  var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers a scoped service.

Parameter
Type
Description

TService

The service to add.

serviceImplementation

Implementation for the TService .

Throws:

Registers a scoped service. Since 3.5.4

Parameter
Type
Description

serviceType

The service to add.

serviceImplementation

Implementation for the serviceType .

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Registers a scoped service.

Parameter
Type
Description

TService

The type of the service to add.

implementationFactory

Method for creating the TService instance.

Throws:

Registers a scoped service. Since 3.5.4

Parameter
Type
Description

serviceType

The type of the service to add.

implementationFactory

Method for creating the serviceType instance.

This non-generic method supports the registration of generic services:


![
    Application.Services.AddService(typeof(DBConnection<>));
    ...
    var dbTrucks = Application.Services.GetService<DBConnection<Truck>>);
    var dbEmployees = Application.Services.GetService<DBConnection<Employee>>);

Throws:

Returns the requested service.

Parameter
Type
Description

T

Type of the service to retrieve.

Returns the requested service.

Parameter
Type
Description

serviceType

Type of the service to add.

Throws:

Checks if a service of type T is already registered. Since 3.5.12

Parameter
Type
Description

T

Service type to check.

Checks if a service of type serviceType is already registered. Since 3.5.12

Parameter
Type
Description

serviceType

Service type to check.

Parameter
Type
Description

target

Target object to inject dependencies into.

Throws:

Removes the specified service type from the service container.

Parameter
Type
Description

TService

The service to remove.

Removes the specified service type from the service container.

Parameter
Type
Description

serviceType

Type of the service to remove.

Throws:

lifetime

Scope of the service. Default is .

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null or empty.

A service of type serviceType is already registered.

AddOrReplaceService<TService, TImplementation>(lifetime)

lifetime

Scope of the service. Default is .

Returns: .

A service of type TService is already registered.

AddOrReplaceService(serviceType, implementationType, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null or empty.

implementationType is null or empty.

A service of type serviceType is already registered.

AddOrReplaceService<TService>(implementationTypeName, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

implementationTypeName is null or empty.

A service of type TService is already registered.

AddOrReplaceService(serviceType, implementationTypeName, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null or empty.

implementationTypeName is null or empty.

A service of type serviceType is already registered.

AddOrReplaceService<TService>(serviceImplementation, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceImplementation is null.

serviceImplementation cannot be assigned to TService .

A service of type TService is already registered.

AddOrReplaceService(serviceType, serviceImplementation, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null.

serviceImplementation is null.

serviceImplementation cannot be assigned to serviceType .

A service of type serviceType is already registered.

AddOrReplaceService<TService>(implementationFactory, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

implementationFactory is null.

A service of type TService is already registered.

AddOrReplaceService(serviceType, implementationFactory, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null.

implementationFactory is null.

A service of type serviceType is already registered.

AddService<TService>(lifetime)

lifetime

Scope of the service. Default is .

Returns: .

A service of type TService is already registered.

AddService(serviceType, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null or empty.

A service of type serviceType is already registered.

AddService<TService, TImplementation>(lifetime)

lifetime

Scope of the service. Default is .

Returns: .

A service of type TService is already registered.

AddService(serviceType, implementationType, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null or empty.

implementationType is null or empty.

A service of type serviceType is already registered.

AddService<TService>(implementationTypeName, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

implementationTypeName is null or empty.

A service of type TService is already registered.

AddService(serviceType, implementationTypeName, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null or empty.

implementationTypeName is null or empty.

A service of type serviceType is already registered.

AddService<TService>(serviceImplementation, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceImplementation is null.

serviceImplementation cannot be assigned to TService .

A service of type TService is already registered.

AddService(serviceType, serviceImplementation, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null.

serviceImplementation is null.

serviceImplementation cannot be assigned to serviceType .

A service of type serviceType is already registered.

AddService<TService>(implementationFactory, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

implementationFactory is null.

A service of type TService is already registered.

AddService(serviceType, implementationFactory, lifetime)

lifetime

Scope of the service. Default is .

Returns: .

serviceType is null.

implementationFactory is null.

A service of type serviceType is already registered.

GetService<T>()

Returns: . An instance of T or null if the service is not found.

GetService(serviceType)

Returns: . An instance of serviceType or null if the service is not found.

serviceType is null.

HasService<T>()

Returns: . true if the service is registered.

HasService(serviceType)

Returns: . true if the service is registered.

Inject(target)

Injects the services into the properties marked with the attributed on the specified target object.

target is null.

RemoveService<TService>()

Returns: .

RemoveService(serviceType)

Returns: .

serviceType is null.

ServiceProvider
ArgumentNullException
InvalidOperationException
ServiceProvider
InvalidOperationException
ServiceProvider
ArgumentNullException
ArgumentNullException
InvalidOperationException
ServiceProvider
ArgumentNullException
InvalidOperationException
ServiceProvider
ArgumentNullException
ArgumentNullException
InvalidOperationException
ServiceProvider
ArgumentNullException
InvalidCastException
InvalidOperationException
ServiceProvider
ArgumentNullException
ArgumentNullException
InvalidCastException
InvalidOperationException
ServiceProvider
NullReferenceException
InvalidOperationException
ServiceProvider
NullReferenceException
NullReferenceException
InvalidOperationException
ServiceProvider
InvalidOperationException
ServiceProvider
ArgumentNullException
InvalidOperationException
ServiceProvider
InvalidOperationException
ServiceProvider
ArgumentNullException
ArgumentNullException
InvalidOperationException
ServiceProvider
ArgumentNullException
InvalidOperationException
ServiceProvider
ArgumentNullException
ArgumentNullException
InvalidOperationException
ServiceProvider
ArgumentNullException
InvalidCastException
InvalidOperationException
ServiceProvider
ArgumentNullException
ArgumentNullException
InvalidCastException
InvalidOperationException
ServiceProvider
NullReferenceException
InvalidOperationException
ServiceProvider
NullReferenceException
NullReferenceException
InvalidOperationException
T
Object
ArgumentNullException
Boolean
Boolean
InjectAttribute
ArgumentNullException
ServiceProvider
ServiceProvider
ArgumentNullException
ServiceLifetime
Type
ServiceLifetime
ServiceLifetime
Type
Type
ServiceLifetime
String
ServiceLifetime
Type
String
ServiceLifetime
Object
ServiceLifetime
Type
Object
ServiceLifetime
Func<Type, Object>
ServiceLifetime
Type
Func<Type, Object>
ServiceLifetime
ServiceLifetime
Type
ServiceLifetime
ServiceLifetime
Type
Type
ServiceLifetime
String
ServiceLifetime
Type
String
ServiceLifetime
Object
ServiceLifetime
Type
Object
ServiceLifetime
Func<Type, Object>
ServiceLifetime
Type
Func<Type, Object>
ServiceLifetime
Type
Type
Object
Type
ServiceProvider
InvalidOperationException
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared
Shared