PropertyParser Class

Summary

Defines helper methods for parsing properties from strings.
Namespace
NBuildKit.MsBuild.Tasks.Core
Base Types
  • object
graph TD Base0["object"]-->Type Type["PropertyParser"] class Type type-node

Syntax

public static class PropertyParser

Remarks

Taken from here: https://github.com/Microsoft/msbuild/blob/master/src/Shared/PropertyParser.cs because it is not available in MsBuild due to it being internal.

Methods

Name Value Summary
GetTableWithEscaping(TaskLoggingHelper, string, string, IEnumerable<string>, Hashtable) bool
Given a string of semi-colon delimited name=value pairs, this method parses it and creates a hash table containing the property names as keys and the property values as values. This method escapes any special characters found in the property values, in case they are going to be passed to a method (such as that expects the appropriate escaping to have happened already.
static