// Decompiled with JetBrains decompiler // Type: Rei.Fs.My.MyProject // Assembly: Rei.Fs, Version=1.13.2.8796, Culture=neutral, PublicKeyToken=null // MVID: D8B08A8B-697C-4439-9CFF-1BE4EE46F7B0 // Assembly location: F:\Eigene Dateien\Dropbox\portable Collection\Progs\CarotDAV\Rei.Fs.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.Fs.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(); [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; } } [EditorBrowsable(EditorBrowsableState.Never)] [MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", "")] internal sealed class MyWebServices { [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public override bool Equals(object o) { return base.Equals(RuntimeHelpers.GetObjectValue(o)); } [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() { return base.GetHashCode(); } [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] internal new Type GetType() { return typeof (MyProject.MyWebServices); } [EditorBrowsable(EditorBrowsableState.Never)] [DebuggerHidden] 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() { } } [ComVisible(false)] [EditorBrowsable(EditorBrowsableState.Never)] 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; } } [EditorBrowsable(EditorBrowsableState.Never)] [DebuggerHidden] public ThreadSafeObjectProvider() { this.m_Context = new ContextValue(); } } } }