Esempio n. 1
0
 /// <summary>
 /// Registers a formatter for the the TsClass type.
 /// </summary>
 /// <param name="formatter">The formatter to register</param>
 /// <returns>Instance of the TypeScriptFluent that enables fluent configuration.</returns>
 public TypeScriptFluent WithTypeFormatter(TsTypeFormatter formatter)
 {
     _scriptGenerator.RegisterTypeFormatter(formatter);
     return(this);
 }