public static FileSingleton GetReference() { if (file_singleton == null) { file_singleton = new FileSingleton(); } number_references++; return(file_singleton); }
public FileLog() { IdLog = 0; LogName = "File Log"; logElement = FileSingleton.GetReference(); }