Json.readFile C# (CSharp) Method

readFile() private method

private readFile ( string filePath ) : byte[]
filePath string
return byte[]
    private byte[] readFile(string filePath)
    {
        return System.IO.File.ReadAllBytes(filePath);
    }

Usage Example

コード例 #1
0
 /// <summary>
 /// This will populate the checklist points lists
 /// by loop through all checklists and finding associated
 /// points to each checklist
 /// </summary>
 private void populatePoints()
 {
     foreach (Checklist checklist in checklists)
     {
         points.AddRange(pointJson.readFile <ChecklistPoint>().FindAll(x => x.checklistId == checklist.id));
     }
 }
All Usage Examples Of Json::readFile