OfficeIMO

API Reference

Class

HeaderTransforms

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers static

Common header transform helpers for converting property names to human-friendly headers.

Inheritance

  • Object
  • HeaderTransforms

Methods

Pretty 2 overloads
public static String Pretty(String name) #
Returns: String

Converts PascalCase or snake_case to a spaced title and uppercases known acronyms.

Parameters

name System.String requiredposition: 0
public static String Pretty(String name, IEnumerable<String> acronyms) #
Returns: String

Converts PascalCase or snake_case to a spaced title and uppercases provided acronyms.

Parameters

name System.String requiredposition: 0
acronyms System.Collections.Generic.IEnumerable{System.String} requiredposition: 1
public static Func<String, String> PrettyWithAcronyms(IEnumerable<String> acronyms) #
Returns: Func<String, String>

Factory: returns a header transform using the provided acronyms.

Parameters

acronyms System.Collections.Generic.IEnumerable{System.String} requiredposition: 0