/*
 * messages.cs --
 *
 * Copyright (c) 2007-2012 by Joe Mistachkin.  All rights reserved.
 *
 * See the file "license.terms" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * RCS: @(#) $Id: $
 */

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was [originally] generated by a tool and has been slightly
//     cleaned up.
//
//     Runtime Version:2.0.50727.5485
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

#if SERIALIZATION
using System;
#endif

using System.Collections.Generic;
using System.Resources;

#if SERIALIZATION
using System.Runtime.Serialization;
#endif

using Eagle._Attributes;
using Eagle._Components.Private;
using Eagle._Components.Public;

namespace Eagle._Messages
{
    #region SourceLineNumberCollection Class (WiX Compatibility Mock)
#if SERIALIZATION
    [Serializable()]
#endif
    [ObjectId("287b9d58-fc49-4b7f-a50b-3e8af30bb0e2")]
    public sealed class SourceLineNumberCollection : Dictionary<string, string>
    {
        #region Protected Constructors
#if SERIALIZATION
        private SourceLineNumberCollection(
            SerializationInfo info,
            StreamingContext context
            )
            : base(info, context)
        {
            // do nothing.
        }
#endif
        #endregion
    }
    #endregion

    ////////////////////////////////////////////////////////////////////////////

    #region ScriptError Class
    [ObjectId("1a58048e-be6a-43b0-8b7d-4aaf1dcb5f4c")]
    public sealed class ScriptError : MessageEventArgs
    {
        private static ResourceManager resourceManager = new ResourceManager(
            "Eagle._Messages.Messages", GlobalState.GetAssembly());

        ////////////////////////////////////////////////////////////////////////

        public ScriptError(
            SourceLineNumberCollection sourceLineNumbers,
            int id,
            string resourceName,
            params object[] messageArgs
            )
            : base(sourceLineNumbers, id, resourceName, messageArgs)
        {
            // do nothing.
        }

        ////////////////////////////////////////////////////////////////////////

        public override ResourceManager ResourceManager
        {
            get { return resourceManager; }
        }
    }
    #endregion

    ////////////////////////////////////////////////////////////////////////////

    #region ScriptErrors Class
    [ObjectId("c4999ea9-098f-44fb-8db4-92fa65e9dc8a")]
    public sealed class ScriptErrors
    {
        private ScriptErrors()
        {
            // do nothing.
        }

        ////////////////////////////////////////////////////////////////////////

        public static ScriptError Error(
            SourceLineNumberCollection sourceLineNumbers,
            string message
            )
        {
            return new ScriptError(sourceLineNumbers,
                1001, "ScriptErrors_Error_1", message);
        }
    }
    #endregion

    ////////////////////////////////////////////////////////////////////////////

    #region ScriptWarning Class
    [ObjectId("a045811a-7008-45e4-b0c7-357ef909529e")]
    public sealed class ScriptWarning : MessageEventArgs
    {
        private static ResourceManager resourceManager = new ResourceManager(
            "Eagle._Messages.Messages", GlobalState.GetAssembly());

        ////////////////////////////////////////////////////////////////////////

        public ScriptWarning(
            SourceLineNumberCollection sourceLineNumbers,
            int id,
            string resourceName,
            params object[] messageArgs
            )
            : base(sourceLineNumbers, id, resourceName, messageArgs)
        {
            // do nothing.
        }

        ////////////////////////////////////////////////////////////////////////

        public override ResourceManager ResourceManager
        {
            get { return resourceManager; }
        }
    }
    #endregion

    ////////////////////////////////////////////////////////////////////////////

    #region ScriptWarnings Class
    [ObjectId("b73a735c-9f1a-4a87-95be-b45115b45244")]
    public sealed class ScriptWarnings
    {
        private ScriptWarnings()
        {
            // do nothing.
        }

        ////////////////////////////////////////////////////////////////////////

        public static ScriptWarning Warning(
            SourceLineNumberCollection sourceLineNumbers,
            string message
            )
        {
            return new ScriptWarning(sourceLineNumbers,
                2001, "ScriptWarnings_Warning_1", message);
        }
    }
    #endregion

    ////////////////////////////////////////////////////////////////////////////

    #region ScriptInformational Class
    [ObjectId("aa2f305e-fdfb-43bb-af74-0c45417c99b2")]
    public sealed class ScriptInformational : MessageEventArgs
    {
        private static ResourceManager resourceManager = new ResourceManager(
            "Eagle._Messages.Messages", GlobalState.GetAssembly());

        ////////////////////////////////////////////////////////////////////////

        public ScriptInformational(
            SourceLineNumberCollection sourceLineNumbers,
            int id,
            string resourceName,
            params object[] messageArgs
            )
            : base(sourceLineNumbers, id, resourceName, messageArgs)
        {
            // do nothing.
        }

        ////////////////////////////////////////////////////////////////////////

        public override ResourceManager ResourceManager
        {
            get { return resourceManager; }
        }
    }
    #endregion

    ////////////////////////////////////////////////////////////////////////////

    #region ScriptInformationals Class
    [ObjectId("82bca8ce-c952-49d6-83c3-9cf5fa645b83")]
    public sealed class ScriptInformationals
    {
        private ScriptInformationals()
        {
            // do nothing.
        }

        ////////////////////////////////////////////////////////////////////////

        public static ScriptInformational Information(
            SourceLineNumberCollection sourceLineNumbers,
            string message
            )
        {
            return new ScriptInformational(sourceLineNumbers,
                3001, "ScriptInformationals_Information_1", message);
        }
    }
    #endregion
}
