UNPKG

@openui5/sap.ui.core

Version:

OpenUI5 Core Library sap.ui.core

31 lines (26 loc) 726 B
/*! * OpenUI5 * (c) Copyright 2026 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([ "sap/base/util/uid" ], function( uid ) { "use strict"; var MemoryConfigurationProvider = function() { this.oConfig = Object.create(null); this.id = uid(); }; MemoryConfigurationProvider.prototype.getId = function() { return this.id; }; MemoryConfigurationProvider.prototype.get = function(sName) { return this.oConfig[sName]; }; MemoryConfigurationProvider.prototype.set = function(sName, vValue) { this.oConfig[sName] = vValue; }; return MemoryConfigurationProvider; });