Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add System.Composition*,1.0.31 #263

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))/dir.props" />

<PropertyGroup>
<TargetFrameworks>netstandard1.0</TargetFrameworks>
<NuspecFile>$(ArtifactsBinDir)system.composition.attributedmodel/1.0.31/system.composition.attributedmodel.nuspec</NuspecFile>
</PropertyGroup>

<PropertyGroup>
<OutputPath>$(ArtifactsBinDir)system.composition.attributedmodel/1.0.31/ref/</OutputPath>
<IntermediateOutputPath>$(ArtifactsObjDir)system.composition.attributedmodel/1.0.31</IntermediateOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
<OutputPath>$(ArtifactsBinDir)system.composition.attributedmodel/1.0.31/lib/</OutputPath>
</PropertyGroup>

<ItemGroup>
<Compile Include="**/ref/$(TargetFramework)/*.cs" />
<Compile Include="**/lib/$(TargetFramework)/*.cs" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
<PackageReference Include="System.Reflection" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ------------------------------------------------------------------------------
// Changes to this file must follow the http://aka.ms/api-review process.
// ------------------------------------------------------------------------------

using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;

[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AllowPartiallyTrustedCallers]
[assembly: ReferenceAssembly]
[assembly: AssemblyTitle("System.Composition.AttributedModel")]
[assembly: AssemblyDescription("System.Composition.AttributedModel")]
[assembly: AssemblyDefaultAlias("System.Composition.AttributedModel")]
[assembly: AssemblyCompany("Microsoft Corporation")]
[assembly: AssemblyProduct("Microsoft® .NET Framework")]
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
[assembly: AssemblyFileVersion("4.6.24705.01")]
[assembly: AssemblyInformationalVersion("4.6.24705.01 built by: SOURCEBUILD")]
[assembly: CLSCompliant(true)]
[assembly: AssemblyMetadata("", "")]
[assembly: AssemblyVersion("1.0.31.0")]




namespace System.Composition
{
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)]
public partial class ExportAttribute : System.Attribute
{
public ExportAttribute() { }
public ExportAttribute(string contractName) { }
public ExportAttribute(string contractName, System.Type contractType) { }
public ExportAttribute(System.Type contractType) { }
public string ContractName { get { throw null; } }
public System.Type ContractType { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)]
public sealed partial class ExportMetadataAttribute : System.Attribute
{
public ExportMetadataAttribute(string name, object value) { }
public string Name { get { throw null; } }
public object Value { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public partial class ImportAttribute : System.Attribute
{
public ImportAttribute() { }
public ImportAttribute(string contractName) { }
public bool AllowDefault { get { throw null; } set { } }
public string ContractName { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Constructor, AllowMultiple=false, Inherited=false)]
public sealed partial class ImportingConstructorAttribute : System.Attribute
{
public ImportingConstructorAttribute() { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public partial class ImportManyAttribute : System.Attribute
{
public ImportManyAttribute() { }
public ImportManyAttribute(string contractName) { }
public string ContractName { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Property, Inherited=false)]
public sealed partial class ImportMetadataConstraintAttribute : System.Attribute
{
public ImportMetadataConstraintAttribute(string name, object value) { }
public string Name { get { throw null; } }
public object Value { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed partial class MetadataAttributeAttribute : System.Attribute
{
public MetadataAttributeAttribute() { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)]
public sealed partial class OnImportsSatisfiedAttribute : System.Attribute
{
public OnImportsSatisfiedAttribute() { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public partial class PartMetadataAttribute : System.Attribute
{
public PartMetadataAttribute(string name, object value) { }
public string Name { get { throw null; } }
public object Value { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed partial class PartNotDiscoverableAttribute : System.Attribute
{
public PartNotDiscoverableAttribute() { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited=false)]
public partial class SharedAttribute : System.Composition.PartMetadataAttribute
{
public SharedAttribute() : base (default(string), default(object)) { }
public SharedAttribute(string sharingBoundaryName) : base (default(string), default(object)) { }
public string SharingBoundary { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)]
[System.CLSCompliantAttribute(false)]
[System.Composition.MetadataAttributeAttribute]
public sealed partial class SharingBoundaryAttribute : System.Attribute
{
public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { }
public System.Collections.ObjectModel.ReadOnlyCollection<string> SharingBoundaryNames { get { throw null; } }
}
}
namespace System.Composition.Convention
{
public abstract partial class AttributedModelProvider
{
protected AttributedModelProvider() { }
public abstract System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(System.Type reflectedType, System.Reflection.MemberInfo member);
public abstract System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(System.Type reflectedType, System.Reflection.ParameterInfo parameter);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>System.Composition.AttributedModel</id>
<version>1.0.31</version>
<title>System.Composition.AttributedModel</title>
<authors>Microsoft</authors>
<owners>microsoft,dotnetframework</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<licenseUrl>https://microsoft.mit-license.org/</licenseUrl>
<projectUrl>https://dot.net/</projectUrl>
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>Provides common attributes used by System.Composition types.

Commonly Used Types:
System.Composition.ExportAttribute
System.Composition.ImportAttribute
System.Composition.Convention.AttributedModelProvider

When using NuGet 3.x this package requires at least version 3.4.</description>
<releaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</releaseNotes>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<serviceable>true</serviceable>
<dependencies>
<group targetFramework="MonoAndroid1.0" />
<group targetFramework="MonoTouch1.0" />
<group targetFramework=".NETFramework4.5" />
<group targetFramework=".NETStandard1.0">
<dependency id="System.Reflection" version="4.3.0" />
<dependency id="System.Runtime" version="4.3.0" />
</group>
<group targetFramework="Windows8.0" />
<group targetFramework="WindowsPhone8.0" />
<group targetFramework="WindowsPhoneApp8.1" />
<group targetFramework="Xamarin.iOS1.0" />
<group targetFramework="Xamarin.Mac2.0" />
<group targetFramework="Xamarin.TVOS1.0" />
<group targetFramework="Xamarin.WatchOS1.0" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
<AssemblyName>System.Composition.AttributedModel</AssemblyName>
</PropertyGroup>

</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))/dir.props" />

<PropertyGroup>
<TargetFrameworks>netstandard1.0</TargetFrameworks>
<NuspecFile>$(ArtifactsBinDir)system.composition.convention/1.0.31/system.composition.convention.nuspec</NuspecFile>
</PropertyGroup>

<PropertyGroup>
<OutputPath>$(ArtifactsBinDir)system.composition.convention/1.0.31/ref/</OutputPath>
<IntermediateOutputPath>$(ArtifactsObjDir)system.composition.convention/1.0.31</IntermediateOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
<OutputPath>$(ArtifactsBinDir)system.composition.convention/1.0.31/lib/</OutputPath>
</PropertyGroup>

<ItemGroup>
<Compile Include="**/ref/$(TargetFramework)/*.cs" />
<Compile Include="**/lib/$(TargetFramework)/*.cs" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Composition.AttributedModel" Version="1.0.31" />
<PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Tools" Version="4.3.0" />
<PackageReference Include="System.Globalization" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Linq.Expressions" Version="4.3.0" />
<PackageReference Include="System.Reflection" Version="4.3.0" />
<PackageReference Include="System.Reflection.Extensions" Version="4.3.0" />
<PackageReference Include="System.Resources.ResourceManager" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
</ItemGroup>

</Project>
Loading