IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Tools.Runner.Importer.IkvmImporterExternalResourceItem Class Reference

Describes an external resource option. More...

Public Member Functions

 IkvmImporterExternalResourceItem (string filePath, string resourcePath)
 Initializes a new instance.
 

Properties

string FilePath [get, set]
 Path to the source file.
 
string ResourcePath [get, set]
 Path to the resource within the Java environment.
 

Detailed Description

Describes an external resource option.

Definition at line 9 of file IkvmImporterExternalResourceItem.cs.

Constructor & Destructor Documentation

◆ IkvmImporterExternalResourceItem()

IKVM.Tools.Runner.Importer.IkvmImporterExternalResourceItem.IkvmImporterExternalResourceItem ( string filePath,
string resourcePath )

Initializes a new instance.

Parameters
filePath
resourcePath
Exceptions
ArgumentException

Definition at line 18 of file IkvmImporterExternalResourceItem.cs.

19 {
20 if (string.IsNullOrEmpty(filePath))
21 throw new ArgumentException($"'{nameof(filePath)}' cannot be null or empty.", nameof(filePath));
22 if (string.IsNullOrEmpty(resourcePath))
23 throw new ArgumentException($"'{nameof(resourcePath)}' cannot be null or empty.", nameof(resourcePath));
24
25 FilePath = filePath;
26 ResourcePath = resourcePath;
27 }
string ResourcePath
Path to the resource within the Java environment.

Property Documentation

◆ FilePath

string IKVM.Tools.Runner.Importer.IkvmImporterExternalResourceItem.FilePath
getset

Path to the source file.

Definition at line 32 of file IkvmImporterExternalResourceItem.cs.

32{ get; set; }

◆ ResourcePath

string IKVM.Tools.Runner.Importer.IkvmImporterExternalResourceItem.ResourcePath
getset

Path to the resource within the Java environment.

Definition at line 37 of file IkvmImporterExternalResourceItem.cs.

37{ get; set; }

The documentation for this class was generated from the following file: