Table of Contents

Class ExtensionsUtils

Namespace
Cognite.Simulator.Extensions
Assembly
Cognite.Simulator.Extensions.dll

Utility class related to the extensions methods

public static class ExtensionsUtils
Inheritance
ExtensionsUtils
Inherited Members

Methods

ReplaceSlashAndBackslash(string, string)

Replace all occurrences of slash and backslash

public static string ReplaceSlashAndBackslash(this string s, string replaceWith)

Parameters

s string

Input string

replaceWith string

String to use as replacement

Returns

string

A new string

ReplaceSpecialCharacters(string, string)

Replace all occurrences of special characters

public static string ReplaceSpecialCharacters(this string s, string replaceWith)

Parameters

s string

Input string

replaceWith string

String to use as replacement

Returns

string

A new string