Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
193 changed files
with
4,934 additions
and
5,319 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"projects": [ "src" ], | ||
"sdk": { | ||
"version": "1.0.0-preview2-003121" | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> | ||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | ||
</PropertyGroup> | ||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" /> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>7e7de343-8dbd-42ee-94ed-036e9e0f5411</ProjectGuid> | ||
<RootNamespace>Ninject.Tests</RootNamespace> | ||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath> | ||
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath> | ||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> | ||
</ItemGroup> | ||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": "1.0.0-*", | ||
"testRunner": "xunit", | ||
"dependencies": { | ||
"Moq": "4.5.8", | ||
"Ninject": "4.0.0-beta", | ||
"TestAssembly": "1.0.0", | ||
"TestModules": "1.0.0", | ||
"xunit": "2.2.0-beta2-build3300", | ||
"dotnet-test-xunit": "2.2.0-preview2-build1029", | ||
"FluentAssertions": "4.6.3" | ||
}, | ||
"buildOptions": { "copyToOutput": "TestModules\\*" }, | ||
"frameworks": { | ||
"net451": { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,36 @@ | ||
#region License | ||
// | ||
// Author: Nate Kohari <nate@enkari.com> | ||
// Copyright (c) 2007-2010, Enkari, Ltd. | ||
// | ||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL). | ||
// See the file LICENSE.txt for details. | ||
// | ||
#endregion | ||
#region Using Directives | ||
using System; | ||
using Ninject.Infrastructure.Disposal; | ||
using Ninject.Syntax; | ||
#endregion | ||
//------------------------------------------------------------------------------------------------- | ||
// <copyright file="IActivationBlock.cs" company="Ninject Project Contributors"> | ||
// Copyright (c) 2007-2010, Enkari, Ltd. | ||
// Copyright (c) 2010-2016, Ninject Project Contributors | ||
// Authors: Nate Kohari (nate@enkari.com) | ||
// Remo Gloor (remo.gloor@gmail.com) | ||
// | ||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL). | ||
// you may not use this file except in compliance with one of the Licenses. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// or | ||
// http://www.microsoft.com/opensource/licenses.mspx | ||
// | ||
// 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. | ||
// </copyright> | ||
//------------------------------------------------------------------------------------------------- | ||
|
||
namespace Ninject.Activation.Blocks | ||
{ | ||
using Ninject.Infrastructure.Disposal; | ||
using Ninject.Syntax; | ||
|
||
/// <summary> | ||
/// A block used for deterministic disposal of activated instances. When the block is | ||
/// disposed, all instances activated via it will be deactivated. | ||
/// </summary> | ||
public interface IActivationBlock : IResolutionRoot, INotifyWhenDisposed { } | ||
public interface IActivationBlock : IResolutionRoot, IDisposableObject | ||
{ | ||
} | ||
} |
Oops, something went wrong.