Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
PackageSessionResult.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 SiliconStudio.Core.Diagnostics;
4 
5 namespace SiliconStudio.Assets
6 {
7  /// <summary>
8  /// Result returned when loading a session using <see cref="PackageSession.Load(string,PackageSessionResult,System.Nullable{System.Threading.CancellationToken},bool)"/>
9  /// </summary>
10  public sealed class PackageSessionResult : LoggerResult
11  {
12  /// <summary>
13  /// Gets or sets the loaded session.
14  /// </summary>
15  /// <value>The session.</value>
16  public PackageSession Session { get; internal set; }
17 
18  public override void Clear()
19  {
20  base.Clear();
21  Session = null;
22  }
23  }
24 }
A logger that stores messages locally useful for internal log scenarios.
Definition: LoggerResult.cs:14
A session for editing a package.
Result returned when loading a session using PackageSession.Load(string,PackageSessionResult,System.Nullable{System.Threading.CancellationToken},bool)
override void Clear()
Clears all messages.