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

Describes a resource option. More...

Public Member Functions

 IkvmImporterResourceItem (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 a resource option.

Definition at line 11 of file IkvmImporterResourceItem.cs.

Constructor & Destructor Documentation

◆ IkvmImporterResourceItem()

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

Initializes a new instance.

Parameters
filePath
resourcePath

Definition at line 19 of file IkvmImporterResourceItem.cs.

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

Property Documentation

◆ FilePath

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

Path to the source file.

Definition at line 33 of file IkvmImporterResourceItem.cs.

33{ get; set; }

◆ ResourcePath

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

Path to the resource within the Java environment.

Definition at line 38 of file IkvmImporterResourceItem.cs.

38{ get; set; }

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