@univerjssheetsindexclassesRangeprotectionservice

@univerjs/sheets v0.5.4


Class: RangeProtectionService

Defined in: submodules/univer/packages/sheets/src/services/permission/range-permission/range-protection.service.ts:29

Extends

Constructors

new RangeProtectionService()

new RangeProtectionService(
   _selectionProtectionRuleModel, 
   _permissionService, 
   _resourceManagerService, 
   _selectionProtectionCache, 
   _univerInstanceService): RangeProtectionService

Defined in: submodules/univer/packages/sheets/src/services/permission/range-permission/range-protection.service.ts:30

Parameters

ParameterType
_selectionProtectionRuleModelRangeProtectionRuleModel
_permissionServiceIPermissionService
_resourceManagerServiceIResourceManagerService
_selectionProtectionCacheRangeProtectionCache
_univerInstanceServiceIUniverInstanceService

Returns

RangeProtectionService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed