+++ /dev/null
-//
-// AssemblyInfo.cs
-//
-// Author:
-// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
-//
-// (C) 2003 Ximian, Inc. http://www.ximian.com
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Reflection;
-using System.Resources;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyVersion (Consts.VsVersion)]
-#if (!NET_2_0)
-[assembly: SatelliteContractVersion (Consts.VsVersion)]
-#endif
-
-#if (ONLY_1_1)
-[assembly: ComCompatibleVersion (7, 0, 3300, 0)]
-[assembly: TypeLibVersion (7, 1)]
-#endif
-
-[assembly: AssemblyTitle ("")]
-[assembly: AssemblyDescription ("")]
-
-[assembly: CLSCompliant (true)]
-[assembly: AssemblyFileVersion ("0.0.0.1")]
-
-[assembly: ComVisible (false)]
-
-[assembly: AssemblyDelaySign (true)]
-[assembly: AssemblyKeyFile("../msfinal.pub")]
-
+++ /dev/null
-2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
-
- * AssemblyInfo.cs: Added
- * ChangeLog: Added
- * Locale.cs: Added
- * TODOAttribute.cs: Added
\ No newline at end of file
+++ /dev/null
-2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
-
- * Microsoft.VSA.dll.sources: Added Assembly/AssemblyInfo.cs and
- Locale.cs to the build.
-
-2003-09-24 <cesar@ciencias.unam.mx>
-
- * Microsoft.Vsa: Added VsaException.
- * Microsoft.Vsa.dll.sources: Added VsaException to the build.
- * Microsoft.Vsa/VsaError.cs: set the values for the enums.
-
-2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
-
- * IVsaCodeItem.cs, IVsaEngine.cs, IVsaError.cs, IVsaGlobalItem.cs
- IVsaItem.cs, IVsaItems.cs, IVsaPersistSite.cs, IVsaReferenceItem.cs,
- IVsaSite.cs: InterfaceTypeAttribute can only be applied to interfaces,
- no to interface members. Build failed on windows.
-
-2003-03-21 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-
- * mcs/class/Microsoft.Vsa: Added this ChangeLog file, and also
- makefile.gnu and unix.args to provide the *nix build.
-
+++ /dev/null
-thisdir = class/Microsoft.Vsa
-SUBDIRS =
-include ../../build/rules.make
-
-LIBRARY = Microsoft.Vsa.dll
-LIB_MCS_FLAGS = /r:System.dll
-NO_TEST = yes
-
-include ../../build/library.make
+++ /dev/null
-Assembly/AssemblyInfo.cs
-../../build/common/Consts.cs
-../../build/common/Locale.cs
-Microsoft.Vsa/IVsaCodeItem.cs
-Microsoft.Vsa/IVsaEngine.cs
-Microsoft.Vsa/IVsaError.cs
-Microsoft.Vsa/IVsaGlobalItem.cs
-Microsoft.Vsa/IVsaItem.cs
-Microsoft.Vsa/IVsaItems.cs
-Microsoft.Vsa/IVsaPersistSite.cs
-Microsoft.Vsa/IVsaReferenceItem.cs
-Microsoft.Vsa/IVsaSite.cs
-Microsoft.Vsa/VsaError.cs
-Microsoft.Vsa/VsaItemFlag.cs
-Microsoft.Vsa/VsaItemType.cs
-Microsoft.Vsa/VsaException.cs
+++ /dev/null
-//
-// IVsaCodeItem.cs
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
- using System.CodeDom;
-
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaCodeItem : IVsaItem
- {
- //[Guid ("")]
- CodeObject CodeDOM {
- get;
- }
-
-
- //[Guid ("")]
- string SourceText {
- get;
- set;
- }
-
-
- //[Guid ("")]
- void AddEventSource (string eventSourceName, string eventSourceType);
-
-
-
- //[Guid ("")]
- void AppendSourceText (string text);
-
-
- //[Guid("")]
- void RemoveEventSource (string eventSourceName);
- }
-}
+++ /dev/null
-//
-// IVsaEngine.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
- using System.Reflection;
- using System.Security.Policy;
-
- //[Guid ("")]
- [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaEngine
- {
- //[Guid ("")]
- Assembly Assembly {
- get;
- }
-
-
- //[Guid ("")]
- Evidence Evidence {
- get;
- set;
- }
-
-
- //[Guid ("")]
- bool GenerateDebugInfo {
- get;
- set;
- }
-
-
- //[Guid ("")]
- bool IsCompiled {
- get;
- }
-
-
- //[Guid ("")]
- bool IsDirty {
- get;
- }
-
-
- //[Guid ("")]
- bool IsRunning {
- get;
- }
-
-
- //[Guid ("")]
- IVsaItems Items {
- get;
- }
-
-
- //[Guid ("")]
- string Language {
- get;
- }
-
-
- //[Guid ("")]
- int LCID {
- get;
- set;
- }
-
-
- //[Guid ("")]
- string Name {
- get;
- set;
- }
-
-
- //[Guid ("")]
- string RootMoniker {
- get;
- set;
- }
-
-
- //[Guid ("")]
- string RootNamespace {
- get;
- set;
- }
-
-
- //[Guid ("")]
- IVsaSite Site {
- get;
- set;
- }
-
-
- //[Guid ("")]
- string Version {
- get;
- }
-
-
-
- // public methods
-
- //[Guid ("")]
- void Close ();
-
-
- //[Guid ("")]
- bool Compile ();
-
-
- //[Guid ("")]
- object GetOption (string name);
-
-
- //[Guid ("")]
- void InitNew ();
-
-
- //[Guid ("")]
- bool IsValidIdentifier (string identifier);
-
-
- //[Guid ("")]
- void LoadSourceState (IVsaPersistSite site);
-
-
- //[Guid ("")]
- void Reset ();
-
-
- //[Guid ("")]
- void RevokeCache ();
-
-
- //[Guid ("")]
- void Run ();
-
-
- //[Guid ("")]
- void SaveCompiledState (out byte [] pe, out byte [] pdb);
-
-
- //[Guid ("")]
- void SaveSourceState (IVsaPersistSite site);
-
-
- //[Guid ("")]
- void SetOption (string name, object value);
- }
-}
-
+++ /dev/null
-//
-// IVsaError.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
-
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaError
- {
- // public properties
-
-
- //[Guid ("")]
- string Description { get; }
-
-
- //[Guid ("")]
- int EndColumn { get; }
-
-
- //[Guid ("")]
- int Line { get; }
-
-
- //[Guid ("")]
- string LineText { get; }
-
-
- //[Guid ("")]
- int Number { get; }
-
-
- //[Guid ("")]
- int Severity { get; }
-
-
- //[Guid ("")]
- IVsaItem SourceItem { get; }
-
-
- //[Guid ("")]
- string SourceMoniker { get; }
-
-
- //[Guid ("")]
- int StartColumn { get; }
- }
-}
-
+++ /dev/null
-//
-// IVsaGlobalItem.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
-
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaGlobalItem : IVsaItem
- {
- //[Guid ("")]
- bool ExposeMembers {
- get;
- set;
- }
-
-
- //[Guid ("")]
- string TypeString { set; }
- }
-}
-
-
+++ /dev/null
-//
-// IVsaItem.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
-
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaItem
- {
- // public properties
-
- //[Guid ("")]
- bool IsDirty { get; }
-
-
- //[Guid ("")]
- VsaItemType ItemType { get; }
-
-
- //[Guid ("")]
- string Name {
- get;
- set;
- }
-
-
- // public methods
-
- //[Guid ("")]
- object GetOption (string name);
-
-
- //[Guid ("")]
- void SetOption (string name, object value);
- }
-}
+++ /dev/null
-//
-// IVsaItems.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
- using System.Collections;
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaItems : IEnumerable
- {
- // public properties
-
- //[Guid ("")]
- int Count { get; }
-
-
- //[Guid ("")]
- IVsaItem this [int index] { get; }
-
-
- //[Guid ("")]
- IVsaItem this [string name] { get; }
-
-
- // public methods
-
- //[Guid ("")]
- IVsaItem CreateItem (string name, VsaItemType itemType, VsaItemFlag itemFlag);
-
-
- //[Guid ("")]
- void Remove (int index);
-
-
- //[Guid ("")]
- void Remove (string name);
- }
-}
+++ /dev/null
-//
-// IVsaPersistSite.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
-
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaPersistSite
- {
- // public methods
-
- //[Guid ("")]
- string LoadElement (string name);
-
-
- //[Guid ("")]
- void SaveElement (string name, string source);
- }
-}
+++ /dev/null
-//
-// IVsaReferenceItem.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
-
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaReferenceItem : IVsaItem
- {
- // public property
-
- //[Guid ("")]
- string AssemblyName {
- get;
- set;
- }
- }
-}
+++ /dev/null
-//
-// IVsaSite.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
- using System.Runtime.InteropServices;
-
-
- //[Guid ("")]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- public interface IVsaSite
- {
- // public methods
-
- //[Guid ("")]
- void GetCompiledState (out byte [] pe, out byte [] debugInfo);
-
-
- //[Guid ("")]
- object GetEventSourceInstance (string itemName, string eventSourceName);
-
-
- //[Guid ("")]
- object GetGlobalInstance (string name);
-
-
- //[Guid ("")]
- void Notify (string notify, object info);
-
-
- //[Guid ("")]
- bool OnCompilerError (IVsaError error);
- }
-}
+++ /dev/null
-//
-// VsaError.cs:
-//
-// Author:
-// Cesar Lopez Nataren (cesar@ciencias.unam.mx)
-//
-// (C) 2003, Cesar Lopez Nataren
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace Microsoft.Vsa {
-
- [Serializable]
- public enum VsaError : int {
-
- AppDomainCannotBeSet = -2146226176,
- AppDomainInvalid = -2146226175,
- ApplicationBaseCannotBeSet = -2146226174,
- ApplicationBaseInvalid = -2146226173,
- AssemblyExpected = -2146226172,
- AssemblyNameInvalid = -2146226171,
- BadAssembly = -2146226170,
- BrowserNotExist = -2146226115,
- CachedAssemblyInvalid = -2146226169,
- CallbackUnexpected = -2146226168,
- CannotAttachToWebServer = -2146226100,
- CodeDOMNotAvailable = -2146226167,
- CompiledStateNotFound = -2146226166,
- DebuggeeNotStarted = -2146226114,
- DebugInfoNotSupported = -2146226165,
- ElementNameInvalid = -2146226164,
- ElementNotFound = -2146226163,
- EngineBusy = -2146226162,
- EngineCannotClose = -2146226161,
- EngineCannotReset = -2146226160,
- EngineClosed = -2146226159,
- EngineEmpty = -2146226159,
- EngineInitialized = -2146226157,
- EngineNameInUse = -2146226156,
- EngineNameInvalid = -2146226113,
- EngineNameNotSet = -2146226099,
- EngineNotCompiled = -2146226155,
- EngineNotExist = -2146226112,
- EngineNotInitialized = -2146226154,
- EngineNotRunning = -2146226153,
- EngineRunning = -2146226152,
- EventSourceInvalid = -2146226151,
- EventSourceNameInUse = -2146226150,
- EventSourceNameInvalid = -2146226149,
- EventSourceNotFound = -2146226148,
- EventSourceTypeInvalid = -2146226147,
- FileFormatUnsupported = -2146226111,
- FileTypeUnknown = -2146226110,
- GetCompiledStateFailed = -2146226146,
- GlobalInstanceInvalid = -2146226145,
- GlobalInstanceTypeInvalid = -2146226144,
- InternalCompilerError = -2146226143,
- ItemCannotBeRemoved = -2146226142,
- ItemCannotBeRenamed = -2146226109,
- ItemFlagNotSupported = -2146226141,
- ItemNameInUse = -2146226140,
- ItemNameInvalid = -2146226139,
- ItemNotFound = -2146226138,
- ItemTypeNotSupported = -2146226137,
- LCIDNotSupported = -2146226136,
- LoadElementFailed = -2146226135,
- MissingPdb = -2146226102,
- MissingSource = -2146226108,
- NameTooLong = -2146226106,
- NotClientSideAndNoUrl = -2146226101,
- NotificationInvalid = -2146226134,
- NotInitCompleted = -2146226107,
- OptionInvalid = -2146226133,
- OptionNotSupported = -2146226132,
- ProcNameInUse = -2146226105,
- ProcNameInvalid = -2146226104,
- RevokeFailed = -2146226131,
- RootMonikerAlreadySet = -2146226130,
- RootMonikerInUse = -2146226129,
- RootMonikerInvalid = -2146226128,
- RootMonikerNotSet = -2146226127,
- RootMonikerProtocolInvalid = -2146226126,
- RootNamespaceInvalid = -2146226125,
- RootNamespaceNotSet = -2146226124,
- SaveCompiledStateFailed = -2146226123,
- SaveElementFailed = -2146226122,
- SiteAlreadySet = -2146226121,
- SiteInvalid = -2146226120,
- SiteNotSet = -2146226119,
- SourceItemNotAvailable = -2146226118,
- SourceMonikerNotAvailable = -2146226117,
- UnknownError = -2146225921,
- URLInvalid = -2146226116,
- VsaServerDown = -2146226103,
- }
-}
\ No newline at end of file
+++ /dev/null
-//
-// VsaException.cs
-//
-// Author:
-// Cesar Lopez Nataren (cesar@ciencias.unam.mx)
-//
-// (C) 2003, Cesar Lopez Nataren
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Runtime.InteropServices;
-using System.Runtime.Serialization;
-using System.Text;
-
-namespace Microsoft.Vsa {
-
- [Serializable]
- public class VsaException : ExternalException {
-
- public new VsaError ErrorCode {
- get { return (VsaError) HResult; }
- }
-
- public VsaException (VsaError error)
- {
- HResult = (int) error;
- }
-
- public VsaException (SerializationInfo info, StreamingContext context)
- {
- HResult = info.GetInt32 ("VsaException_HResult");
- HelpLink = info.GetString ("VsaException_HelpLink");
- Source = info.GetString ("VsaException_Source");
- }
-
- public VsaException (VsaError error, string message)
- : base (message, (int) error)
- {
- }
-
- public VsaException (VsaError error, string message, Exception innerexception)
- : base (message, innerexception)
- {
- HResult = (int) error;
- }
-
- public override void GetObjectData (SerializationInfo info,
- StreamingContext context)
- {
- info.AddValue ("VsaException_HResult", HResult);
- info.AddValue ("VsaException_HelpLink", HelpLink);
- info.AddValue ("VsaException_Source", Source);
- }
-
- public override string ToString ()
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("Microsoft.Vsa.VsaException: ");
- sb.Append (System.Enum.GetName (typeof (VsaError), (VsaError) HResult));
- sb.Append (" (0x" + String.Format ("{0,8:X}", HResult) + "): ");
- sb.Append (Message);
-
- return sb.ToString ();
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-//
-// VsaItemFlag.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
-
-
- [Serializable]
- public enum VsaItemFlag {
- Class = 2,
- Module = 1,
- None = 0,
- }
-}
+++ /dev/null
-//
-// VsaItemType.cs:
-//
-// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace Microsoft.Vsa
-{
- using System;
-
-
- [Serializable]
- public enum VsaItemType {
- AppGlobal = 1,
- Code = 2,
- Reference = 0,
- }
-}