// Decompiled with JetBrains decompiler // Type: Rei.Net.HttpServer.My.MyProject // Assembly: Rei.Net.HttpServer, Version=1.13.2.9297, Culture=neutral, PublicKeyToken=null // MVID: 6174F8E9-E7BA-46AD-8F2E-196645884F28 // Assembly location: F:\Eigene Dateien\Dropbox\portable Collection\Progs\CarotDAV\Rei.Net.HttpServer.dll using Microsoft.VisualBasic; using Microsoft.VisualBasic.ApplicationServices; using Microsoft.VisualBasic.CompilerServices; using Microsoft.VisualBasic.MyServices.Internal; using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Rei.Net.HttpServer.My { [HideModuleName] [StandardModule] [GeneratedCode("MyTemplate", "8.0.0.0")] internal sealed class MyProject { private static readonly MyProject.ThreadSafeObjectProvider m_ComputerObjectProvider = new MyProject.ThreadSafeObjectProvider(); private static readonly MyProject.ThreadSafeObjectProvider m_AppObjectProvider = new MyProject.ThreadSafeObjectProvider(); private static readonly MyProject.ThreadSafeObjectProvider m_UserObjectProvider = new MyProject.ThreadSafeObjectProvider(); private static readonly MyProject.ThreadSafeObjectProvider m_MyWebServicesObjectProvider = new MyProject.ThreadSafeObjectProvider(); [DebuggerNonUserCode] static MyProject() { } [HelpKeyword("My.Computer")] internal static MyComputer Computer { [DebuggerHidden] get { return MyProject.m_ComputerObjectProvider.GetInstance; } } [HelpKeyword("My.Application")] internal static MyApplication Application { [DebuggerHidden] get { return MyProject.m_AppObjectProvider.GetInstance; } } [HelpKeyword("My.User")] internal static User User { [DebuggerHidden] get { return MyProject.m_UserObjectProvider.GetInstance; } } [HelpKeyword("My.WebServices")] internal static MyProject.MyWebServices WebServices { [DebuggerHidden] get { return MyProject.m_MyWebServicesObjectProvider.GetInstance; } } [MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", "")] [EditorBrowsable(EditorBrowsableState.Never)] internal sealed class MyWebServices { [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public override bool Equals(object o) { return base.Equals(RuntimeHelpers.GetObjectValue(o)); } [EditorBrowsable(EditorBrowsableState.Never)] [DebuggerHidden] public override int GetHashCode() { return base.GetHashCode(); } [EditorBrowsable(EditorBrowsableState.Never)] [DebuggerHidden] internal new Type GetType() { return typeof (MyProject.MyWebServices); } [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public override string ToString() { return base.ToString(); } [DebuggerHidden] private static T Create__Instance__(T instance) where T : new() { if ((object) instance == null) return Activator.CreateInstance(); return instance; } [DebuggerHidden] private void Dispose__Instance__(ref T instance) { instance = default (T); } [EditorBrowsable(EditorBrowsableState.Never)] [DebuggerHidden] public MyWebServices() { } } [EditorBrowsable(EditorBrowsableState.Never)] [ComVisible(false)] internal sealed class ThreadSafeObjectProvider where T : new() { private readonly ContextValue m_Context; internal T GetInstance { [DebuggerHidden] get { T instance = this.m_Context.Value; if ((object) instance == null) { instance = Activator.CreateInstance(); this.m_Context.Value = instance; } return instance; } } [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public ThreadSafeObjectProvider() { this.m_Context = new ContextValue(); } } } }