diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..cc55327 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ + +--- + +0.1.0 Initial release + +--- \ No newline at end of file diff --git a/lib/binding.dart b/lib/binding.dart index 6dc0e2a..49e4501 100644 --- a/lib/binding.dart +++ b/lib/binding.dart @@ -1,3 +1,16 @@ +/** + * Copyright 2021 Sergey Penkovsky + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + enum Mode { SIMPLE, INSTANCE, PROVIDER_INSTANCE } /// RU: Класс Binding настраивает параметры экземпляра. diff --git a/lib/dart_di.dart b/lib/dart_di.dart index 7cb51ab..e8bf106 100644 --- a/lib/dart_di.dart +++ b/lib/dart_di.dart @@ -1,3 +1,16 @@ +/** + * Copyright 2021 Sergey Penkovsky + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + library dart_di; export 'package:dart_di/scope.dart'; diff --git a/lib/di.dart b/lib/di.dart index 9f028e1..9ceb522 100644 --- a/lib/di.dart +++ b/lib/di.dart @@ -1,3 +1,15 @@ +/** + * Copyright 2021 Sergey Penkovsky + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import 'package:dart_di/scope.dart'; Scope? _rootScope = null; diff --git a/lib/factory.dart b/lib/factory.dart index a7f73bd..cb4470d 100644 --- a/lib/factory.dart +++ b/lib/factory.dart @@ -1,3 +1,16 @@ +/** + * Copyright 2021 Sergey Penkovsky + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import 'package:dart_di/scope.dart'; abstract class Factory { diff --git a/lib/module.dart b/lib/module.dart index d25d14e..5b21344 100644 --- a/lib/module.dart +++ b/lib/module.dart @@ -1,3 +1,16 @@ +/** + * Copyright 2021 Sergey Penkovsky + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import 'dart:collection'; import 'package:dart_di/binding.dart'; diff --git a/lib/scope.dart b/lib/scope.dart index dd76f5c..b52eb31 100644 --- a/lib/scope.dart +++ b/lib/scope.dart @@ -1,3 +1,16 @@ +/** + * Copyright 2021 Sergey Penkovsky + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import 'dart:collection'; import 'package:dart_di/binding.dart';