renamed package

This commit is contained in:
Sergey Penkovsky
2021-04-26 14:56:09 +03:00
parent b6a4b86b19
commit f3b1ee84b2
13 changed files with 31 additions and 31 deletions

View File

@@ -13,7 +13,7 @@
library dart_di;
export 'package:dart_di/scope.dart';
export 'package:dart_di/module.dart';
export 'package:dart_di/binding.dart';
export 'package:dart_di/di.dart';
export 'package:cherrypick/scope.dart';
export 'package:cherrypick/module.dart';
export 'package:cherrypick/binding.dart';
export 'package:cherrypick/di.dart';

View File

@@ -10,11 +10,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import 'package:dart_di/scope.dart';
import 'package:cherrypick/scope.dart';
Scope? _rootScope = null;
class DartDi {
class CherryPick {
/// RU: Метод открывает главный [Scope].
/// ENG: The method opens the main [Scope].
///

View File

@@ -11,7 +11,7 @@
* limitations under the License.
*/
import 'package:dart_di/scope.dart';
import 'package:cherrypick/scope.dart';
abstract class Factory<T> {
T createInstance(Scope scope);

View File

@@ -13,8 +13,8 @@
import 'dart:collection';
import 'package:dart_di/binding.dart';
import 'package:dart_di/scope.dart';
import 'package:cherrypick/binding.dart';
import 'package:cherrypick/scope.dart';
/// RU: Класс Module является основой для пользовательских модулей.
/// Этот класс нужен для инициализации [Scope].

View File

@@ -13,8 +13,8 @@
import 'dart:collection';
import 'package:dart_di/binding.dart';
import 'package:dart_di/module.dart';
import 'package:cherrypick/binding.dart';
import 'package:cherrypick/module.dart';
Scope openRootScope() => Scope(null);