RuntimeLibrary Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean) |
Initializes a new instance of the RuntimeLibrary class using the specified library properties. |
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String) |
Initializes a new instance of the RuntimeLibrary class using the specified library properties and path. |
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String, String) |
Initializes a new RuntimeLibrary. |
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean)
- Source:
- RuntimeLibrary.cs
- Source:
- RuntimeLibrary.cs
- Source:
- RuntimeLibrary.cs
Initializes a new instance of the RuntimeLibrary class using the specified library properties.
public:
RuntimeLibrary(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ runtimeAssemblyGroups, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ nativeLibraryGroups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::ResourceAssembly ^> ^ resourceAssemblies, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable);
public RuntimeLibrary (string type, string name, string version, string? hash, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> nativeLibraryGroups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.ResourceAssembly> resourceAssemblies, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable);
new Microsoft.Extensions.DependencyModel.RuntimeLibrary : string * string * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * seq<Microsoft.Extensions.DependencyModel.ResourceAssembly> * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool -> Microsoft.Extensions.DependencyModel.RuntimeLibrary
Public Sub New (type As String, name As String, version As String, hash As String, runtimeAssemblyGroups As IReadOnlyList(Of RuntimeAssetGroup), nativeLibraryGroups As IReadOnlyList(Of RuntimeAssetGroup), resourceAssemblies As IEnumerable(Of ResourceAssembly), dependencies As IEnumerable(Of Dependency), serviceable As Boolean)
Parameters
- type
- String
The library's type.
- name
- String
The library's name.
- version
- String
The library's version.
- hash
- String
The library package's hash.
- runtimeAssemblyGroups
- IReadOnlyList<RuntimeAssetGroup>
The library's runtime assemblies.
- nativeLibraryGroups
- IReadOnlyList<RuntimeAssetGroup>
The library's native libraries.
- resourceAssemblies
- IEnumerable<ResourceAssembly>
The library's resource assemblies.
- dependencies
- IEnumerable<Dependency>
The library's dependencies.
- serviceable
- Boolean
Whether the library is serviceable.
Exceptions
type
, or name
, or version
is null
or an empty string.
dependencies
, or runtimeAssemblyGroups
, or nativeLibraryGroups
, or resourceAssemblies
is null
.
Applies to
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String)
- Source:
- RuntimeLibrary.cs
- Source:
- RuntimeLibrary.cs
- Source:
- RuntimeLibrary.cs
Initializes a new instance of the RuntimeLibrary class using the specified library properties and path.
public:
RuntimeLibrary(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ runtimeAssemblyGroups, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ nativeLibraryGroups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::ResourceAssembly ^> ^ resourceAssemblies, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable, System::String ^ path, System::String ^ hashPath);
public RuntimeLibrary (string type, string name, string version, string? hash, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> nativeLibraryGroups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.ResourceAssembly> resourceAssemblies, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable, string? path, string? hashPath);
new Microsoft.Extensions.DependencyModel.RuntimeLibrary : string * string * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * seq<Microsoft.Extensions.DependencyModel.ResourceAssembly> * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool * string * string -> Microsoft.Extensions.DependencyModel.RuntimeLibrary
Public Sub New (type As String, name As String, version As String, hash As String, runtimeAssemblyGroups As IReadOnlyList(Of RuntimeAssetGroup), nativeLibraryGroups As IReadOnlyList(Of RuntimeAssetGroup), resourceAssemblies As IEnumerable(Of ResourceAssembly), dependencies As IEnumerable(Of Dependency), serviceable As Boolean, path As String, hashPath As String)
Parameters
- type
- String
The library's type.
- name
- String
The library's name.
- version
- String
The library's version.
- hash
- String
The library package's hash.
- runtimeAssemblyGroups
- IReadOnlyList<RuntimeAssetGroup>
The library's runtime assemblies.
- nativeLibraryGroups
- IReadOnlyList<RuntimeAssetGroup>
The library's native libraries.
- resourceAssemblies
- IEnumerable<ResourceAssembly>
The library's resource assemblies.
- dependencies
- IEnumerable<Dependency>
The library's dependencies.
- serviceable
- Boolean
Whether the library is serviceable.
- path
- String
The library package's path.
- hashPath
- String
The library package's hash path.
Exceptions
type
, or name
, or version
is null
or an empty string.
dependencies
, or runtimeAssemblyGroups
, or nativeLibraryGroups
, or resourceAssemblies
is null
.
Applies to
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String, String)
- Source:
- RuntimeLibrary.cs
- Source:
- RuntimeLibrary.cs
- Source:
- RuntimeLibrary.cs
Initializes a new RuntimeLibrary.
public:
RuntimeLibrary(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ runtimeAssemblyGroups, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ nativeLibraryGroups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::ResourceAssembly ^> ^ resourceAssemblies, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable, System::String ^ path, System::String ^ hashPath, System::String ^ runtimeStoreManifestName);
public RuntimeLibrary (string type, string name, string version, string? hash, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> nativeLibraryGroups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.ResourceAssembly> resourceAssemblies, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable, string? path, string? hashPath, string? runtimeStoreManifestName);
new Microsoft.Extensions.DependencyModel.RuntimeLibrary : string * string * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * seq<Microsoft.Extensions.DependencyModel.ResourceAssembly> * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool * string * string * string -> Microsoft.Extensions.DependencyModel.RuntimeLibrary
Public Sub New (type As String, name As String, version As String, hash As String, runtimeAssemblyGroups As IReadOnlyList(Of RuntimeAssetGroup), nativeLibraryGroups As IReadOnlyList(Of RuntimeAssetGroup), resourceAssemblies As IEnumerable(Of ResourceAssembly), dependencies As IEnumerable(Of Dependency), serviceable As Boolean, path As String, hashPath As String, runtimeStoreManifestName As String)
Parameters
- type
- String
The library's type.
- name
- String
The library's name.
- version
- String
The library's version.
- hash
- String
The library package's hash.
- runtimeAssemblyGroups
- IReadOnlyList<RuntimeAssetGroup>
The library's runtime assemblies.
- nativeLibraryGroups
- IReadOnlyList<RuntimeAssetGroup>
The library's native libraries.
- resourceAssemblies
- IEnumerable<ResourceAssembly>
The library's resource assemblies.
- dependencies
- IEnumerable<Dependency>
The library's dependencies.
- serviceable
- Boolean
Whether the library is serviceable.
- path
- String
The library package's path.
- hashPath
- String
The library package's hash path.
- runtimeStoreManifestName
- String
The library's runtime store manifest name.
Exceptions
type
, or name
, or version
, or runtimeAssemblyGroups
, or nativeLibraryGroups
, or resourceAssemblies
or dependencies
is null
.