Свойство | Тип | Описание | |
---|---|---|---|
GetMetadata | string | ||
SetMetadata | void |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
GetMetadata ( [ name ) : string | ||
SetMetadata ( [ name, [ value ) : void |
Sets the metadata property with the specified name.
|
public EnsureDependency ( |
||
dependency | The dependency. | |
Результат | void |
public EnsureDependency ( string dependency ) : void | ||
dependency | string | The dependency. |
Результат | void |
public NuSpecEditor ( [ path ) : System | ||
path | [ | The nuget package specification file. |
Результат | System |
public RemoveDependencies ( |
||
idregex | The regex to match the id against. | |
Результат | void |
public RemoveDependencies ( string ids ) : void | ||
ids | string | The ids (multiple ids can be separated with any of ',;|'). |
Результат | void |