Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Assets.ImportResult Class Reference

A logger that stores added and removed assets of an import operation. More...

Inheritance diagram for SiliconStudio.Assets.ImportResult:
SiliconStudio.Core.Diagnostics.LoggerResult SiliconStudio.Core.Diagnostics.Logger SiliconStudio.Core.Diagnostics.IProgressStatus SiliconStudio.Core.Diagnostics.ILogger

Public Member Functions

 ImportResult ()
 Initializes a new instance of the ImportResult class. More...
 
override void Clear ()
 Clears all messages. More...
 
- Public Member Functions inherited from SiliconStudio.Core.Diagnostics.LoggerResult
 LoggerResult (string moduleName=null)
 Initializes a new instance of the LoggerResult class. More...
 
void Progress (string message)
 Notifies progress on this instance. More...
 
void Progress (string message, int currentStep, int stepCount)
 Notifies progress on this instance. More...
 
void CopyTo (ILogger results)
 Copies all messages to another instance. More...
 
string ToText ()
 Returns a string representation of this More...
 
- Public Member Functions inherited from SiliconStudio.Core.Diagnostics.Logger
void ActivateLog (LogMessageType fromLevel, LogMessageType toLevel=LogMessageType.Fatal, bool enabledFlag=true)
 Activates the log for this logger for a range of LogMessageType. More...
 
void ActivateLog (LogMessageType type, bool enabledFlag)
 Activates the log for this logger for a specific LogMessageType. More...
 
bool Activated (LogMessageType type)
 Returns a boolean indicating if a particular LogMessageType is activated. More...
 
void Log (ILogMessage logMessage)
 Logs the specified log message. More...
 
void Verbose (string message, Exception exception, CallerInfo callerInfo=null)
 Logs the specified verbose message with an exception. More...
 
void Verbose (string message, CallerInfo callerInfo=null)
 Logs the specified verbose message. More...
 
void Verbose (string messageFormat, params object[] parameters)
 Logs the specified verbose message. More...
 
void Verbose (string messageFormat, Exception exception, params object[] parameters)
 Logs the specified verbose message with an exception. More...
 
void Debug (string message, Exception exception, CallerInfo callerInfo=null)
 Logs the specified debug message with an exception. More...
 
void Debug (string message, CallerInfo callerInfo=null)
 Logs the specified debug message. More...
 
void Debug (string messageFormat, params object[] parameters)
 Logs the specified debug message. More...
 
void Debug (string messageFormat, Exception exception, params object[] parameters)
 Logs the specified debug message with an exception. More...
 
void Info (string message, Exception exception, CallerInfo callerInfo=null)
 Logs the specified info message with an exception. More...
 
void Info (string message, CallerInfo callerInfo=null)
 Logs the specified info message. More...
 
void Info (string messageFormat, params object[] parameters)
 Logs the specified info message. More...
 
void Info (string messageFormat, Exception exception, params object[] parameters)
 Logs the specified info message with an exception. More...
 
void Warning (string message, Exception exception, CallerInfo callerInfo=null)
 Logs the specified warning message with an exception. More...
 
void Warning (string message, CallerInfo callerInfo=null)
 Logs the specified warning message. More...
 
void Warning (string messageFormat, params object[] parameters)
 Logs the specified warning message. More...
 
void Warning (string messageFormat, Exception exception, params object[] parameters)
 Logs the specified warning message with an exception. More...
 
void Error (string message, Exception exception, CallerInfo callerInfo=null)
 Logs the specified error message with an exception. More...
 
void Error (string message, CallerInfo callerInfo=null)
 Logs the specified error message. More...
 
void Error (string messageFormat, params object[] parameters)
 Logs the specified error message. More...
 
void Error (string messageFormat, Exception exception, params object[] parameters)
 Logs the specified error message with an exception. More...
 
void Fatal (string message, Exception exception, CallerInfo callerInfo=null)
 Logs the specified fatal message with an exception. More...
 
void Fatal (string message, CallerInfo callerInfo=null)
 Logs the specified fatal message. More...
 
void Fatal (string messageFormat, params object[] parameters)
 Logs the specified fatal message. More...
 
void Fatal (string messageFormat, Exception exception, params object[] parameters)
 Logs the specified fatal message with an exception. More...
 

Properties

List< Guid > RemovedAssets [get, set]
 Gets the list of assets that have been removed from the package. More...
 
List< AssetItemAddedAssets [get, set]
 Gets the list of assets that have been added to the package. More...
 
- Properties inherited from SiliconStudio.Core.Diagnostics.LoggerResult
new string Module [get, set]
 Gets the module name. read-write. More...
 
bool IsLoggingProgressAsInfo [get, set]
 Gets or sets a value indicating whether this instance is logging progress as information. Default is true. More...
 
TrackingCollection< ILogMessageMessages [get, set]
 Gets the messages logged to this instance. More...
 
- Properties inherited from SiliconStudio.Core.Diagnostics.Logger
bool HasErrors [get, set]
 Gets or sets a value indicating whether this instance has errors. More...
 
string Module [get, set]
 Gets the module name. read-only. More...
 
- Properties inherited from SiliconStudio.Core.Diagnostics.ILogger
string Module [get]
 Gets the module this logger refers to. More...
 

Additional Inherited Members

- Static Public Attributes inherited from SiliconStudio.Core.Diagnostics.Logger
static readonly LogMessageType MinimumLevelEnabled = LogMessageType.Info
 Gets the minimum level enabled from the config file. More...
 
static readonly bool IsDebugEnabled = MinimumLevelEnabled <= LogMessageType.Debug
 True if the debug level is enabled at a global level More...
 
static readonly bool IsVerboseEnabled = MinimumLevelEnabled <= LogMessageType.Verbose
 True if the verbose level is enabled at a global level More...
 
- Protected Member Functions inherited from SiliconStudio.Core.Diagnostics.LoggerResult
override void LogRaw (ILogMessage logMessage)
 Internal method used to log a message. All Info, Debug, Error...etc. methods are calling this method. More...
 
- Protected Member Functions inherited from SiliconStudio.Core.Diagnostics.Logger
 Logger ()
 Initializes a new instance of the Logger class. More...
 
- Protected Attributes inherited from SiliconStudio.Core.Diagnostics.Logger
readonly bool[] EnableTypes
 
- Events inherited from SiliconStudio.Core.Diagnostics.LoggerResult
EventHandler
< ProgressStatusEventArgs
ProgressChanged
 Occurs when the progress changed for this logger. More...
 
- Events inherited from SiliconStudio.Core.Diagnostics.Logger
EventHandler
< MessageLoggedEventArgs
MessageLogged
 Occurs when a message is logged. More...
 
- Events inherited from SiliconStudio.Core.Diagnostics.IProgressStatus
EventHandler
< ProgressStatusEventArgs
ProgressChanged
 An event handler to notify the progress of an operation. More...
 

Detailed Description

A logger that stores added and removed assets of an import operation.

Definition at line 13 of file ImportResult.cs.

Constructor & Destructor Documentation

SiliconStudio.Assets.ImportResult.ImportResult ( )

Initializes a new instance of the ImportResult class.

Definition at line 18 of file ImportResult.cs.

Member Function Documentation

override void SiliconStudio.Assets.ImportResult.Clear ( )
virtual

Clears all messages.

Reimplemented from SiliconStudio.Core.Diagnostics.LoggerResult.

Definition at line 35 of file ImportResult.cs.

Property Documentation

List<AssetItem> SiliconStudio.Assets.ImportResult.AddedAssets
getset

Gets the list of assets that have been added to the package.

Definition at line 33 of file ImportResult.cs.

List<Guid> SiliconStudio.Assets.ImportResult.RemovedAssets
getset

Gets the list of assets that have been removed from the package.

Definition at line 28 of file ImportResult.cs.


The documentation for this class was generated from the following file: