Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SettingsFileLoadedEventArgs.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 
5 using SiliconStudio.Core.IO;
6 
7 namespace SiliconStudio.Presentation.Settings
8 {
9  /// <summary>
10  /// Arguments of the <see cref="SettingsService.SettingsFileLoaded"/> event.
11  /// </summary>
13  {
14  /// <summary>
15  /// Initializes a new instance of the <see cref="SettingsFileLoadedEventArgs"/> class.
16  /// </summary>
17  /// <param name="path"></param>
19  {
20  FilePath = path;
21  }
22 
23  /// <summary>
24  /// Gets the path of the file that has been loaded.
25  /// </summary>
26  public UFile FilePath { get; private set; }
27  }
28 }
Arguments of the SettingsService.SettingsFileLoaded event.
SettingsFileLoadedEventArgs(UFile path)
Initializes a new instance of the SettingsFileLoadedEventArgs class.
Defines a normalized file path. See UPath for details. This class cannot be inherited.
Definition: UFile.cs:13