BGC Tools
Static Public Member Functions | Data Fields
BGC.IO.FileExtensions Class Reference
Collaboration diagram for BGC.IO.FileExtensions:
Collaboration graph
[legend]

Static Public Member Functions

static string AddJsonExtension (string str)
 Add json extension to string More...
 
static string AddCsvExtension (string str)
 Add csv extension to string More...
 
static string AddXmlExtension (string str)
 Add xml extension to string More...
 
static string AddBgcExtension (string str)
 Add bgc extension to string More...
 
static bool HasJsonExtension (string str)
 Return true if the string ends with the json extension More...
 
static bool HasCsvExtension (string str)
 Return true if the string ends with the csv extension More...
 
static bool HasXmlExtension (string str)
 Return true if the string ends with the xml extension More...
 
static bool HasBgcExtension (string str)
 Return true if the string ends with the bgc extension More...
 

Data Fields

const string JSON = ".json"
 
const string CSV = ".csv"
 
const string XML = ".xml"
 
const string BGC = ".bgc"
 

Detailed Description

Definition at line 3 of file FileExtensions.cs.

Member Function Documentation

◆ AddBgcExtension()

static string BGC.IO.FileExtensions.AddBgcExtension ( string  str)
static

Add bgc extension to string

◆ AddCsvExtension()

static string BGC.IO.FileExtensions.AddCsvExtension ( string  str)
static

Add csv extension to string

◆ AddJsonExtension()

static string BGC.IO.FileExtensions.AddJsonExtension ( string  str)
static

Add json extension to string

Referenced by BGC.Study.ProtocolManager.UpdateDefaults().

Here is the caller graph for this function:

◆ AddXmlExtension()

static string BGC.IO.FileExtensions.AddXmlExtension ( string  str)
static

Add xml extension to string

◆ HasBgcExtension()

static bool BGC.IO.FileExtensions.HasBgcExtension ( string  str)
static

Return true if the string ends with the bgc extension

◆ HasCsvExtension()

static bool BGC.IO.FileExtensions.HasCsvExtension ( string  str)
static

Return true if the string ends with the csv extension

◆ HasJsonExtension()

static bool BGC.IO.FileExtensions.HasJsonExtension ( string  str)
static

Return true if the string ends with the json extension

◆ HasXmlExtension()

static bool BGC.IO.FileExtensions.HasXmlExtension ( string  str)
static

Return true if the string ends with the xml extension

Field Documentation

◆ BGC

const string BGC.IO.FileExtensions.BGC = ".bgc"

Definition at line 8 of file FileExtensions.cs.

◆ CSV

const string BGC.IO.FileExtensions.CSV = ".csv"

Definition at line 6 of file FileExtensions.cs.

◆ JSON

const string BGC.IO.FileExtensions.JSON = ".json"

Definition at line 5 of file FileExtensions.cs.

Referenced by BGC.Users.PlayerData.DeserializeUsers().

◆ XML

const string BGC.IO.FileExtensions.XML = ".xml"

Definition at line 7 of file FileExtensions.cs.


The documentation for this class was generated from the following file: