Property | Type | Description | |
---|---|---|---|
GetMetadata | string | ||
SetMetadata | void |
Method | Description | |
---|---|---|
EnsureDependency ( |
Ensures the dependency is added if not present.
|
|
EnsureDependency ( string dependency ) : void |
Ensures the dependency is added if not present.
|
|
NuSpecEditor ( [ path ) : System |
Initializes a new instance of the NuSpecEditor class.
|
|
RemoveDependencies ( |
Removes all dependencies matching the regex.
|
|
RemoveDependencies ( string ids ) : void |
Removes all dependencies matching the supplied ids.
|
|
Save ( ) : void |
Saves this instance if their are changes.
|
Method | Description | |
---|---|---|
GetMetadata ( [ name ) : string | ||
SetMetadata ( [ name, [ value ) : void |
Sets the metadata property with the specified name.
|
public EnsureDependency ( |
||
dependency | The dependency. | |
return | void |
public EnsureDependency ( string dependency ) : void | ||
dependency | string | The dependency. |
return | void |
public NuSpecEditor ( [ path ) : System | ||
path | [ | The nuget package specification file. |
return | System |
public RemoveDependencies ( |
||
idregex | The regex to match the id against. | |
return | void |
public RemoveDependencies ( string ids ) : void | ||
ids | string | The ids (multiple ids can be separated with any of ',;|'). |
return | void |