nuget server logo nuget api documents
↑

API Docs / REnv / PackageNamespace

PackageNamespace

Full name SMRUCC.Rsharp.Development.Package.File.PackageNamespace Assembly REnv Members 19

01 Syntax

SMRUCC.Rsharp.Development.Package.File.PackageNamespace

02 Methods

NameOverloadsSummary
.ctor 2 Create package namespace model from a local package installation location
Check 1 check of a installed package libdir location
CheckAssemblyExist 1 try to check of the clr assembly file is existed in current package?
FindAssemblyPath 1 try to find the clr assembly file in current library folder
CreateLoaderContext 1
EnumerateSymbols 1
ToString 1

03 Properties

NameOverloadsSummary
libPath 1 the root directory of the package module to load
assembly 1 [library.dll => md5]
packageName 1 the namespace of the package library
inMemory 1 current package is load from the in-memory stream zip archive?
meta 1
checksum 1
dependency 1
symbols 1
datafiles 1
runtime 1
framework 1

04 Members

method .ctor overload 2 #
#ctor(String, String)

create a new package namespace from source development directory

Parameters
NameTypeDescription
pkgNameString

-

libpathString

the local source directory for the package development

method .ctor #
#ctor(IFileSystemEnvironment)

Create package namespace model from a local package installation location

Parameters
NameTypeDescription
dirIFileSystemEnvironment

the root directory of the package module to load, or a zip stream filesystem for attach package in memory.

method Check #
Check(IFileSystemEnvironment, String, Environment)

check of a installed package libdir location

Parameters
NameTypeDescription
dirIFileSystemEnvironment

-

envString

-

method CheckAssemblyExist #
CheckAssemblyExist(String)

try to check of the clr assembly file is existed in current package?

Parameters
NameTypeDescription
assemblyNameString

-

method FindAssemblyPath #
FindAssemblyPath(String)

try to find the clr assembly file in current library folder

Parameters
NameTypeDescription
assemblyNameString

the dll assembly name

Returns

this function maybe returns nothing if the required assembly file is not exists in the package directory.

property libPath #
libPath

the root directory of the package module to load

property assembly #
assembly

[library.dll => md5]

property packageName #
packageName

the namespace of the package library

property inMemory #
inMemory

current package is load from the in-memory stream zip archive?

Returns

return true means from a in-memory zip archive stream, false means from local filesystem

property meta #
meta
property checksum #
checksum
property dependency #
dependency
property symbols #
symbols
property datafiles #
datafiles
property runtime #
runtime
property framework #
framework
method CreateLoaderContext #
CreateLoaderContext(PackageEnvironment)
method EnumerateSymbols #
EnumerateSymbols()
method ToString #
ToString()