org.apache.tools.ant.taskdefs.optional.dotnet
public class DotnetResource extends Object
| Method Summary | |
|---|---|
| String | getCSharpStyleParameter()
build the C# style parameter (which has no public/private option) |
| File | getFile() |
| String | getName() |
| Boolean | getPublic() |
| String | getVbStyleParameter()
This method gets the style of param used by VB and javascript |
| boolean | isEmbed() |
| void | setEmbed(boolean embed)
embed the resource in the assembly (default, true) or just link to it. |
| void | setFile(File file)
name the resource |
| void | setName(String name)
should the resource have a name? |
| void | setPublic(Boolean aPublic)
VB and J# only: is a resource public or not? |
Returns: the built C# style parameter
Returns: The style VB parameter being used.
Parameters: embed
Parameters: file
Parameters: name
Parameters: aPublic