149 lines
4.3 KiB
C#
149 lines
4.3 KiB
C#
// 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<MyComputer> m_ComputerObjectProvider = new MyProject.ThreadSafeObjectProvider<MyComputer>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyApplication> m_AppObjectProvider = new MyProject.ThreadSafeObjectProvider<MyApplication>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<User> m_UserObjectProvider = new MyProject.ThreadSafeObjectProvider<User>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices> m_MyWebServicesObjectProvider = new MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices>();
|
|
|
|
[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>(T instance) where T : new()
|
|
{
|
|
if ((object) instance == null)
|
|
return Activator.CreateInstance<T>();
|
|
return instance;
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
private void Dispose__Instance__<T>(ref T instance)
|
|
{
|
|
instance = default (T);
|
|
}
|
|
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[DebuggerHidden]
|
|
public MyWebServices()
|
|
{
|
|
}
|
|
}
|
|
|
|
[ComVisible(false)]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
internal sealed class ThreadSafeObjectProvider<T> where T : new()
|
|
{
|
|
private readonly ContextValue<T> m_Context;
|
|
|
|
internal T GetInstance
|
|
{
|
|
[DebuggerHidden] get
|
|
{
|
|
T instance = this.m_Context.Value;
|
|
if ((object) instance == null)
|
|
{
|
|
instance = Activator.CreateInstance<T>();
|
|
this.m_Context.Value = instance;
|
|
}
|
|
return instance;
|
|
}
|
|
}
|
|
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[DebuggerHidden]
|
|
public ThreadSafeObjectProvider()
|
|
{
|
|
this.m_Context = new ContextValue<T>();
|
|
}
|
|
}
|
|
}
|
|
}
|