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

Result of a merge. Contains Asset != null if there are no errors. More...

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

Public Member Functions

 MergeResult ()
 Initializes a new instance of the MergeResult class. More...
 
 MergeResult (Asset asset)
 Initializes a new instance of the MergeResult class. More...
 
- Public Member Functions inherited from SiliconStudio.Core.Diagnostics.LoggerResult
 LoggerResult (string moduleName=null)
 Initializes a new instance of the LoggerResult class. More...
 
virtual void Clear ()
 Clears all messages. 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

Asset Asset [get, set]
 Gets or sets the merged asset. This is null when this instance LoggerResult.HasErrors to true. 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

Result of a merge. Contains Asset != null if there are no errors.

Definition at line 10 of file MergeResult.cs.

Constructor & Destructor Documentation

SiliconStudio.Assets.Diff.MergeResult.MergeResult ( )

Initializes a new instance of the MergeResult class.

Definition at line 15 of file MergeResult.cs.

SiliconStudio.Assets.Diff.MergeResult.MergeResult ( Asset  asset)

Initializes a new instance of the MergeResult class.

Parameters
assetThe asset.

Definition at line 23 of file MergeResult.cs.

Property Documentation

Asset SiliconStudio.Assets.Diff.MergeResult.Asset
getset

Gets or sets the merged asset. This is null when this instance LoggerResult.HasErrors to true.

The asset.

Definition at line 32 of file MergeResult.cs.


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