FRBDK/Glue/Glue/SaveClasses/GlueProjectSave.cs
/// <summary>
/// Gets the CustomClassSave referencing the argument file name - the file name will be
/// the name of a ReferencedFileSave and not absolute.
/// </summary>
/// <param name="fileName">The file name, such as GlobalContent/File.csv</param>
/// <returns>The found CustomClassSave, or null if no matches are found.</returns>
Gets the CustomClassSave referencing the argument file name - the file name will be
the name of a ReferencedFileSave and not absolute.
Gets the CustomClassSave referencing the argument file name - the file name will be the name of a ReferencedFileSave and not absolute .
public CustomClassSave GetCustomClassReferencingFile(string fileName)
        {
            foreach (CustomClassSave ccs in CustomClasses)
            {
                if (ccs.CsvFilesUsingThis.Contains(fileName))
                {
                    return ccs;
                }
            }
            return null;
        }
public CustomClassSave GetCustomClassReferencingFile ( string fileName ) { foreach ( CustomClassSave ccs in CustomClasses ) { if ( ccs . CsvFilesUsingThis . Contains ( fileName ) ) { return ccs ; } } return null ; }
Gets the CustomClassSave referencing the argument file name - the file name will be
the name of a ReferencedFileSave and not absolute.
Gets the CustomClassSave referencing the argument file name - the file name will be the name of a ReferencedFileSave and not absolute .
The found CustomClassSave, or null if no matches are found.
The found CustomClassSave or null if no matches are found .
fileName
string
The file name, such as GlobalContent/File.csv
The file name such as GlobalContent / File . csv