@univerjs/sheets v0.4.2 • Docs
Class: RangeProtectionService
Extends
Constructors
new RangeProtectionService()
new RangeProtectionService(
_selectionProtectionRuleModel,
_permissionService,
_resourceManagerService,
_selectionProtectionCache,
_univerInstanceService): RangeProtectionService
Parameters
Parameter | Type |
---|---|
_selectionProtectionRuleModel | RangeProtectionRuleModel |
_permissionService | IPermissionService |
_resourceManagerService | IResourceManagerService |
_selectionProtectionCache | RangeProtectionCache |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)