LocalizationBehavior class
namespace: Serenity.Services assembly: Serenity.Net.Services
Behavior for handling localizable rows / properties.
public class LocalizationBehavior : BaseSaveDeleteBehavior, IImplicitBehavior, IRetrieveBehavior
| parameter | description |
|---|---|
| handlerFactory | Default handler factory |
Public Members
| name | description |
|---|---|
| LocalizationBehavior(…) | Behavior for handling localizable rows / properties. |
| ActivateFor(…) | |
| OnAfterExecuteQuery(…) | |
| override OnAfterSave(…) | |
| override OnBeforeDelete(…) | |
| OnBeforeExecuteQuery(…) | |
| OnPrepareQuery(…) | |
| OnReturn(…) | |
| OnValidateRequest(…) | |
| static GetLocalizationMatch(…) | Gets localization match for a field |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | handlerFactory is null. |
Remarks
Initializes a new instance of the class.
See Also
- class BaseSaveDeleteBehavior
- interface IImplicitBehavior
- interface IRetrieveBehavior
- Source: LocalizationBehavior.cs