WixSharp.ManagedAction.ExpandAllUsedProperties C# (CSharp) Method

ExpandAllUsedProperties() private method

private ExpandAllUsedProperties ( ) : string
return string
        internal string ExpandAllUsedProperties()
        {
            var allProps = (UsesProperties + ","+DefaultUsesProperties);
            var result = string.Join(";", allProps.Split(new[] { ',', ';' }, StringSplitOptions.RemoveEmptyEntries)
                                                  .Select(x =>
                                                      {
                                                          if (x.Contains('=')) //e.g. INSTALLDIR=[INSTALLDIR]
                                                              return x.Trim();
                                                          else
                                                              return string.Format("{0}=[{0}]", x.Trim());
                                                      })
                                                  .ToArray());
            return result;
        }