|
|
// <assemblyHash>6bb9afe7</assemblyHash>
|
|
|
// <auto-generated>
|
|
|
// This code was generated by a tool.
|
|
|
// Runtime Version:4.0.0.0
|
|
|
//
|
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
|
// the code is regenerated.
|
|
|
//
|
|
|
// This source code was auto-generated by Microsoft.QualityTools.Testing.Fakes, Version=11.0.0.0.
|
|
|
// </auto-generated>
|
|
|
#pragma warning disable 0067, 0108, 0618
|
|
|
#line hidden
|
|
|
extern alias l4;
|
|
|
extern alias mqttf;
|
|
|
extern alias sts;
|
|
|
extern alias tsc;
|
|
|
extern alias tscr;
|
|
|
extern alias tscs;
|
|
|
extern alias tspms;
|
|
|
extern alias tsqs;
|
|
|
extern alias tssm;
|
|
|
|
|
|
[assembly: mqttf::Microsoft.QualityTools.Testing.Fakes.FakesAssembly("SyncTaskStatus", false)]
|
|
|
[assembly: mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegatesType(typeof(global::Microsoft.QualityTools.Testing.Fakes.Delegates.SyncTaskStatusDelegates))]
|
|
|
[assembly: global::System.Reflection.AssemblyCompany("Microsoft")]
|
|
|
[assembly: global::System.Reflection.AssemblyConfiguration("")]
|
|
|
[assembly: global::System.Reflection.AssemblyFileVersion("1.0.0.0")]
|
|
|
[assembly: global::System.Reflection.AssemblyProduct("SyncTaskStatus")]
|
|
|
[assembly: global::System.Reflection.AssemblyVersion("1.0.0.0")]
|
|
|
namespace Microsoft.QualityTools.Testing.Fakes.Delegates
|
|
|
{
|
|
|
/// <summary>Contains custom delegates used for the stubs and shims of SyncTaskStatus</summary>
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public static partial class SyncTaskStatusDelegates
|
|
|
{
|
|
|
public delegate void Ref0Ref1Action3<TRef0,TRef1,T2>(
|
|
|
ref TRef0 _strEntries,
|
|
|
ref TRef1 _strValues,
|
|
|
T2 info
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.AgentContainer</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.AgentContainer))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of AgentContainer")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimAgentContainer
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.AgentContainer>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimAgentContainer()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimAgentContainer(sts::SyncTaskStatus.AgentContainer instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimAgentContainer.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimAgentContainer.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.AgentContainer), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AgentContainer.AgentContainer()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.AgentContainer> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.AgentContainer), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AgentContainer.GetQueryFilter(List`1<String>& _strEntries, List`1<String>& _strValues, ErpTaskInfo info)</summary>
|
|
|
public static global::Microsoft.QualityTools.Testing.Fakes.Delegates.SyncTaskStatusDelegates.Ref0Ref1Action3<global::System.Collections.Generic.List<string>, global::System.Collections.Generic.List<string>, sts::SyncTaskStatus.ErpTaskInfo> GetQueryFilterListOfStringRefListOfStringRefErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetQueryFilter", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.AgentContainer),
|
|
|
"GetQueryFilter", typeof(void), new global::System.Type[]{typeof(global::System.Collections.Generic.List<string>).MakeByRefType(),
|
|
|
typeof(global::System.Collections.Generic.List<string>).MakeByRefType(), typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AgentContainer.GetScheduleQueryContainer(ErpTaskInfo info, ImanQuery query)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ErpTaskInfo, tssm::Teamcenter.Soa.Client.Model.Strong.ImanQuery, tsqs::Teamcenter.Services.Strong.Query._2007_06.SavedQuery.SavedQueryInput> GetScheduleQueryContainerErpTaskInfoImanQuery
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetScheduleQueryContainer", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.AgentContainer),
|
|
|
"GetScheduleQueryContainer", typeof(tsqs::Teamcenter.Services.Strong.Query._2007_06.SavedQuery.SavedQueryInput),
|
|
|
new global::System.Type[]{typeof(sts::SyncTaskStatus.ErpTaskInfo), typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ImanQuery)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.ConfigInfos</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.ConfigInfos))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of ConfigInfos")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimConfigInfos
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.ConfigInfos>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimConfigInfos()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimConfigInfos(sts::SyncTaskStatus.ConfigInfos instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_EquipmentID()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string> EquipmentIDGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_EquipmentID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"get_EquipmentID", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_ImanQueryName()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string> ImanQueryNameGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ImanQueryName", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"get_ImanQueryName", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_ProjectID()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string> ProjectIDGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ProjectID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"get_ProjectID", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.SetConfigPath()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ConfigInfos> SetConfigPath
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetConfigPath", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"SetConfigPath", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TCPsw()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string> TCPswGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TCPsw", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"get_TCPsw", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TCUrl()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string> TCUrlGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TCUrl", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"get_TCUrl", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TCUsr()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string> TCUsrGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TCUsr", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"get_TCUsr", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TaskPair()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string> TaskPairGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TaskPair", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"get_TaskPair", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.getAppSetting(String key)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigInfos, string, string> getAppSettingString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getAppSetting", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
"getAppSetting", typeof(string), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimConfigInfos.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimConfigInfos.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.ConfigInfos), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.ConfigInfos(ConfigLevel _level)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ConfigInfos, sts::SyncTaskStatus.ConfigLevel> ConstructorConfigLevel
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.ConfigLevel)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.CreateInstance(ConfigLevel _Level)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ConfigLevel, sts::SyncTaskStatus.ConfigInfos> CreateInstanceConfigLevel
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("CreateInstance", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos),
|
|
|
"CreateInstance", typeof(sts::SyncTaskStatus.ConfigInfos), new global::System.Type[]{typeof(sts::SyncTaskStatus.ConfigLevel)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_EquipmentID()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> EquipmentIDGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_EquipmentID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "get_EquipmentID", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_ImanQueryName()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ImanQueryNameGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ImanQueryName", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "get_ImanQueryName", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_ProjectID()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ProjectIDGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ProjectID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "get_ProjectID", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.SetConfigPath()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action SetConfigPath
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetConfigPath", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "SetConfigPath", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.ConfigInfos()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action StaticConstructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".cctor", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ConfigInfos), ".cctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TCPsw()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> TCPswGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TCPsw", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "get_TCPsw", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TCUrl()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> TCUrlGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TCUrl", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "get_TCUrl", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TCUsr()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> TCUsrGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TCUsr", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "get_TCUsr", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.get_TaskPair()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> TaskPairGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TaskPair", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "get_TaskPair", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ConfigInfos.getAppSetting(String key)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string, string> getAppSettingString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getAppSetting", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ConfigInfos, string, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ConfigInfos), base.Instance, "getAppSetting", typeof(string), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.ErpTaskInfo</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.ErpTaskInfo))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of ErpTaskInfo")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimErpTaskInfo
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.ErpTaskInfo>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimErpTaskInfo()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimErpTaskInfo(sts::SyncTaskStatus.ErpTaskInfo instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of ErpTaskInfo.ToString()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ErpTaskInfo, string> ToString01
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ToString", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ErpTaskInfo), (object)null,
|
|
|
"ToString", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimErpTaskInfo.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimErpTaskInfo.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.ErpTaskInfo), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ErpTaskInfo.ErpTaskInfo()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ErpTaskInfo> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ErpTaskInfo), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ErpTaskInfo.ToString()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ToString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ToString", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ErpTaskInfo, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ErpTaskInfo), base.Instance, "ToString", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.MediatorInterface</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.MediatorInterface))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of MediatorInterface")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimMediatorInterface
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.MediatorInterface>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimMediatorInterface()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimMediatorInterface(sts::SyncTaskStatus.MediatorInterface instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of MediatorInterface.UpdateTasks(String sJson)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.MediatorInterface, string, sts::SyncTaskStatus.ServerData[]> UpdateTasksString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("UpdateTasks", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.MediatorInterface), (object)null,
|
|
|
"UpdateTasks", typeof(sts::SyncTaskStatus.ServerData).MakeArrayType(), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimMediatorInterface.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimMediatorInterface.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.MediatorInterface), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of MediatorInterface.MediatorInterface()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.MediatorInterface> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.MediatorInterface), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of MediatorInterface.UpdateTasks(String sJson)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string, sts::SyncTaskStatus.ServerData[]> UpdateTasksString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("UpdateTasks", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.MediatorInterface, string, sts::SyncTaskStatus.ServerData[]>(value)),
|
|
|
typeof(sts::SyncTaskStatus.MediatorInterface), base.Instance,
|
|
|
"UpdateTasks", typeof(sts::SyncTaskStatus.ServerData).MakeArrayType(), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.ProcessInfos</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.ProcessInfos))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of ProcessInfos")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimProcessInfos
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.ProcessInfos>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimProcessInfos()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimProcessInfos(sts::SyncTaskStatus.ProcessInfos instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of ProcessInfos.FindUpdateTask(ScheduleTask summaryTask, DataManagementService dsc, ErpTaskInfo info)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ProcessInfos, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask, tscs::Teamcenter.Services.Strong.Core.DataManagementService, sts::SyncTaskStatus.ErpTaskInfo, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask> FindUpdateTaskScheduleTaskDataManagementServiceErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FindUpdateTask", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ProcessInfos), (object)null,
|
|
|
"FindUpdateTask", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask),
|
|
|
new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask),
|
|
|
typeof(tscs::Teamcenter.Services.Strong.Core.DataManagementService), typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.GetChildSchedule(ModelObject _obj)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ProcessInfos, tsc::Teamcenter.Soa.Client.Model.ModelObject, tsc::Teamcenter.Soa.Client.Model.ModelObject> GetChildScheduleModelObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetChildSchedule", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ProcessInfos), (object)null, "GetChildSchedule",
|
|
|
typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.GetTCTaskNameFromErpTaskInfo(ErpTaskInfo info)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ProcessInfos, sts::SyncTaskStatus.ErpTaskInfo, string> GetTCTaskNameFromErpTaskInfoErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTCTaskNameFromErpTaskInfo", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ProcessInfos), (object)null,
|
|
|
"GetTCTaskNameFromErpTaskInfo", typeof(string), new global::System.Type[]{typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.Processs(Item _item, TaskHelp& _help)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.RefFunc<sts::SyncTaskStatus.ProcessInfos, tssm::Teamcenter.Soa.Client.Model.Strong.Item, sts::SyncTaskStatus.TaskHelp, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask> ProcesssItemTaskHelpRef
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Processs", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ProcessInfos), (object)null,
|
|
|
"Processs", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask),
|
|
|
new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Item), typeof(sts::SyncTaskStatus.TaskHelp).MakeByRefType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.getAllTask(ScheduleTask summaryTask)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ProcessInfos, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask> getAllTaskScheduleTask
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getAllTask", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ProcessInfos), (object)null,
|
|
|
"getAllTask", typeof(void), new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimProcessInfos.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimProcessInfos.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.ProcessInfos), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.ProcessInfos()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ProcessInfos> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ProcessInfos), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.FindUpdateTask(ScheduleTask summaryTask, DataManagementService dsc, ErpTaskInfo info)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask, tscs::Teamcenter.Services.Strong.Core.DataManagementService, sts::SyncTaskStatus.ErpTaskInfo, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask> FindUpdateTaskScheduleTaskDataManagementServiceErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FindUpdateTask", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ProcessInfos, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask,
|
|
|
tscs::Teamcenter.Services.Strong.Core.DataManagementService,
|
|
|
sts::SyncTaskStatus.ErpTaskInfo, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ProcessInfos), base.Instance,
|
|
|
"FindUpdateTask", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask),
|
|
|
new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask),
|
|
|
typeof(tscs::Teamcenter.Services.Strong.Core.DataManagementService), typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.GetChildSchedule(ModelObject _obj)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tsc::Teamcenter.Soa.Client.Model.ModelObject, tsc::Teamcenter.Soa.Client.Model.ModelObject> GetChildScheduleModelObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetChildSchedule", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify
|
|
|
<sts::SyncTaskStatus.ProcessInfos, tsc::Teamcenter.Soa.Client.Model.ModelObject, tsc::Teamcenter.Soa.Client.Model.ModelObject>(value)
|
|
|
), typeof(sts::SyncTaskStatus.ProcessInfos), base.Instance, "GetChildSchedule",
|
|
|
typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.GetTCTaskNameFromErpTaskInfo(ErpTaskInfo info)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ErpTaskInfo, string> GetTCTaskNameFromErpTaskInfoErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTCTaskNameFromErpTaskInfo", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ProcessInfos, sts::SyncTaskStatus.ErpTaskInfo, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ProcessInfos), base.Instance,
|
|
|
"GetTCTaskNameFromErpTaskInfo", typeof(string), new global::System.Type[]{typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.Processs(Item _item, TaskHelp& _help)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.RefFunc<tssm::Teamcenter.Soa.Client.Model.Strong.Item, sts::SyncTaskStatus.TaskHelp, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask> ProcesssItemTaskHelpRef
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Processs", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ProcessInfos, tssm::Teamcenter.Soa.Client.Model.Strong.Item,
|
|
|
sts::SyncTaskStatus.TaskHelp, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ProcessInfos), base.Instance, "Processs", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask),
|
|
|
new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Item), typeof(sts::SyncTaskStatus.TaskHelp).MakeByRefType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ProcessInfos.getAllTask(ScheduleTask summaryTask)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask> getAllTaskScheduleTask
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getAllTask", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ProcessInfos, tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ProcessInfos), base.Instance,
|
|
|
"getAllTask", typeof(void), new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ScheduleTask)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.SOAManagementFactory</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.SOAManagementFactory))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of SOAManagementFactory")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimSOAManagementFactory
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.SOAManagementFactory>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimSOAManagementFactory()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimSOAManagementFactory(sts::SyncTaskStatus.SOAManagementFactory instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of SOAManagementFactory.get_DataSvc()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SOAManagementFactory, tscs::Teamcenter.Services.Strong.Core.DataManagementService> DataSvcGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_DataSvc", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SOAManagementFactory), (object)null,
|
|
|
"get_DataSvc", typeof(tscs::Teamcenter.Services.Strong.Core.DataManagementService), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SOAManagementFactory.get_ScheduleSvc()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SOAManagementFactory, tspms::Teamcenter.Services.Strong.Projectmanagement.ScheduleManagementService> ScheduleSvcGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ScheduleSvc", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SOAManagementFactory), (object)null,
|
|
|
"get_ScheduleSvc", typeof(tspms::Teamcenter.Services.Strong.Projectmanagement.ScheduleManagementService), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimSOAManagementFactory.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimSOAManagementFactory.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.SOAManagementFactory), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SOAManagementFactory.SOAManagementFactory()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SOAManagementFactory> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SOAManagementFactory), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SOAManagementFactory.CreateInstance()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SOAManagementFactory> CreateInstance
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("CreateInstance", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SOAManagementFactory),
|
|
|
"CreateInstance", typeof(sts::SyncTaskStatus.SOAManagementFactory), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SOAManagementFactory.get_DataSvc()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tscs::Teamcenter.Services.Strong.Core.DataManagementService> DataSvcGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_DataSvc", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SOAManagementFactory, tscs::Teamcenter.Services.Strong.Core.DataManagementService>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SOAManagementFactory), base.Instance,
|
|
|
"get_DataSvc", typeof(tscs::Teamcenter.Services.Strong.Core.DataManagementService), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SOAManagementFactory.get_ScheduleSvc()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tspms::Teamcenter.Services.Strong.Projectmanagement.ScheduleManagementService> ScheduleSvcGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ScheduleSvc", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify
|
|
|
<sts::SyncTaskStatus.SOAManagementFactory, tspms::Teamcenter.Services.Strong.Projectmanagement.ScheduleManagementService>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SOAManagementFactory), base.Instance,
|
|
|
"get_ScheduleSvc", typeof(tspms::Teamcenter.Services.Strong.Projectmanagement.ScheduleManagementService), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SOAManagementFactory.SOAManagementFactory()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action StaticConstructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".cctor", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SOAManagementFactory), ".cctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.ServerData</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.ServerData))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of ServerData")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimServerData
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.ServerData>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimServerData()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimServerData(sts::SyncTaskStatus.ServerData instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of ServerData.get_EquipmentCode()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData, string> EquipmentCodeGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_EquipmentCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"get_EquipmentCode", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_EquipmentCode(String value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData, string> EquipmentCodeSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_EquipmentCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"set_EquipmentCode", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_Message()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData, string> MessageGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Message", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"get_Message", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_Message(String value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData, string> MessageSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Message", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"set_Message", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_ProjectCode()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData, string> ProjectCodeGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ProjectCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"get_ProjectCode", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_ProjectCode(String value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData, string> ProjectCodeSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ProjectCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"set_ProjectCode", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_Status()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData, bool> StatusGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Status", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"get_Status", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_Status(Boolean value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData, bool> StatusSetBoolean
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Status", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"set_Status", typeof(void), new global::System.Type[]{typeof(bool)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_TaskID()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData, string> TaskIDGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TaskID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"get_TaskID", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_TaskID(String value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData, string> TaskIDSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_TaskID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"set_TaskID", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_Uid()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData, string> UidGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Uid", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"get_Uid", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_Uid(String value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData, string> UidSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Uid", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
"set_Uid", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimServerData.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimServerData.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.ServerData), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.ServerData()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerData), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_EquipmentCode()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> EquipmentCodeGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_EquipmentCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "get_EquipmentCode", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_EquipmentCode(String value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> EquipmentCodeSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_EquipmentCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "set_EquipmentCode", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_Message()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> MessageGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Message", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "get_Message", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_Message(String value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> MessageSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Message", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "set_Message", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_ProjectCode()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ProjectCodeGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ProjectCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "get_ProjectCode", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_ProjectCode(String value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> ProjectCodeSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ProjectCode", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "set_ProjectCode", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_Status()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> StatusGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Status", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "get_Status", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_Status(Boolean value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<bool> StatusSetBoolean
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Status", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "set_Status", typeof(void), new global::System.Type[]{typeof(bool)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_TaskID()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> TaskIDGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_TaskID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "get_TaskID", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_TaskID(String value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> TaskIDSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_TaskID", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "set_TaskID", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.get_Uid()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> UidGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Uid", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "get_Uid", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerData.set_Uid(String value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> UidSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Uid", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerData, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerData), base.Instance, "set_Uid", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.ServerDataCollection</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.ServerDataCollection))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of ServerDataCollection")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimServerDataCollection
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.ServerDataCollection>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimServerDataCollection()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimServerDataCollection(sts::SyncTaskStatus.ServerDataCollection instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of ServerDataCollection.ConvertSvrDatas(Hashtable CachesInfo)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerDataCollection, global::System.Collections.Hashtable> ConvertSvrDatasHashtable
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ConvertSvrDatas", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerDataCollection), (object)null,
|
|
|
"ConvertSvrDatas", typeof(void), new global::System.Type[]{typeof(global::System.Collections.Hashtable)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.DumpErrorLog()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerDataCollection> DumpErrorLog
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DumpErrorLog", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerDataCollection), (object)null,
|
|
|
"DumpErrorLog", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.add(ServerData _data)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerDataCollection, sts::SyncTaskStatus.ServerData> addServerData
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("add", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerDataCollection), (object)null,
|
|
|
"add", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.ServerData)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.clear()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerDataCollection> clear
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("clear", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerDataCollection), (object)null,
|
|
|
"clear", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.getAllErros()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerDataCollection, sts::SyncTaskStatus.ServerData[]> getAllErros
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getAllErros", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerDataCollection), (object)null,
|
|
|
"getAllErros", typeof(sts::SyncTaskStatus.ServerData).MakeArrayType(), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.getLastError()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerDataCollection, sts::SyncTaskStatus.ServerData> getLastError
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getLastError", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerDataCollection), (object)null,
|
|
|
"getLastError", typeof(sts::SyncTaskStatus.ServerData), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimServerDataCollection.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimServerDataCollection.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.ServerDataCollection), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.ServerDataCollection()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerDataCollection> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.ServerDataCollection), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.ConvertSvrDatas(Hashtable CachesInfo)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<global::System.Collections.Hashtable> ConvertSvrDatasHashtable
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ConvertSvrDatas", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ServerDataCollection, global::System.Collections.Hashtable>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerDataCollection), base.Instance,
|
|
|
"ConvertSvrDatas", typeof(void), new global::System.Type[]{typeof(global::System.Collections.Hashtable)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.DumpErrorLog()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action DumpErrorLog
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DumpErrorLog", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerDataCollection>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerDataCollection), base.Instance, "DumpErrorLog", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.add(ServerData _data)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerData> addServerData
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("add", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ServerDataCollection, sts::SyncTaskStatus.ServerData>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerDataCollection), base.Instance,
|
|
|
"add", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.ServerData)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.clear()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action clear
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("clear", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.ServerDataCollection>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerDataCollection), base.Instance, "clear", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.getAllErros()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData[]> getAllErros
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getAllErros", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ServerDataCollection, sts::SyncTaskStatus.ServerData[]>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerDataCollection), base.Instance,
|
|
|
"getAllErros", typeof(sts::SyncTaskStatus.ServerData).MakeArrayType(), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ServerDataCollection.getLastError()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerData> getLastError
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getLastError", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.ServerDataCollection, sts::SyncTaskStatus.ServerData>(value)),
|
|
|
typeof(sts::SyncTaskStatus.ServerDataCollection), base.Instance,
|
|
|
"getLastError", typeof(sts::SyncTaskStatus.ServerData), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.SessionFactory</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.SessionFactory))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of SessionFactory")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimSessionFactory
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.SessionFactory>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimSessionFactory()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimSessionFactory(sts::SyncTaskStatus.SessionFactory instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of SessionFactory.GetTCConnect()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SessionFactory, tsc::Teamcenter.Soa.Client.Connection> GetTCConnect
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTCConnect", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SessionFactory), (object)null,
|
|
|
"GetTCConnect", typeof(tsc::Teamcenter.Soa.Client.Connection), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SessionFactory.GetTCUser()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SessionFactory, tssm::Teamcenter.Soa.Client.Model.Strong.User> GetTCUser
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTCUser", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SessionFactory), (object)null,
|
|
|
"GetTCUser", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.User), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimSessionFactory.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimSessionFactory.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.SessionFactory), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SessionFactory.SessionFactory()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SessionFactory> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SessionFactory), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SessionFactory.CreateInstance()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SessionFactory> CreateInstance
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("CreateInstance", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SessionFactory),
|
|
|
"CreateInstance", typeof(sts::SyncTaskStatus.SessionFactory), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SessionFactory.GetTCConnect()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tsc::Teamcenter.Soa.Client.Connection> GetTCConnect
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTCConnect", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SessionFactory, tsc::Teamcenter.Soa.Client.Connection>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SessionFactory), base.Instance,
|
|
|
"GetTCConnect", typeof(tsc::Teamcenter.Soa.Client.Connection), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SessionFactory.GetTCUser()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tssm::Teamcenter.Soa.Client.Model.Strong.User> GetTCUser
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTCUser", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SessionFactory, tssm::Teamcenter.Soa.Client.Model.Strong.User>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SessionFactory), base.Instance,
|
|
|
"GetTCUser", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.User), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SessionFactory.SessionFactory()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action StaticConstructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".cctor", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SessionFactory), ".cctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.SynchroTask</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.SynchroTask))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of SynchroTask")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimSynchroTask
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.SynchroTask>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimSynchroTask()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimSynchroTask(sts::SyncTaskStatus.SynchroTask instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of SynchroTask.get_ErpInfo()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SynchroTask, global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>> ErpInfoGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
"get_ErpInfo", typeof(global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.set_ErpInfo(List`1<ErpTaskInfo> value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SynchroTask, global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>> ErpInfoSetListOfErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null, "set_ErpInfo",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.PrepareQueryFilter()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SynchroTask> PrepareQueryFilter
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PrepareQueryFilter", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
"PrepareQueryFilter", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.PrepareUpdateTasks()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SynchroTask> PrepareUpdateTasks
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PrepareUpdateTasks", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
"PrepareUpdateTasks", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.get_SvrData()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SynchroTask, sts::SyncTaskStatus.ServerDataCollection> SvrDataGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_SvrData", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
"get_SvrData", typeof(sts::SyncTaskStatus.ServerDataCollection), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.set_SvrData(ServerDataCollection value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SynchroTask, sts::SyncTaskStatus.ServerDataCollection> SvrDataSetServerDataCollection
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_SvrData", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
"set_SvrData", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.ServerDataCollection)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.UpdateTasks()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SynchroTask> UpdateTasks
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("UpdateTasks", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
"UpdateTasks", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.loadObjects()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.SynchroTask, tssm::Teamcenter.Soa.Client.Model.Strong.Item> loadObjects
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("loadObjects", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
"loadObjects", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Item), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimSynchroTask.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimSynchroTask.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.SynchroTask), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.SynchroTask()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.SynchroTask> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.SynchroTask), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.get_ErpInfo()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>> ErpInfoGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SynchroTask, global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance,
|
|
|
"get_ErpInfo", typeof(global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.set_ErpInfo(List`1<ErpTaskInfo> value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>> ErpInfoSetListOfErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SynchroTask, global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance, "set_ErpInfo",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.Collections.Generic.List<sts::SyncTaskStatus.ErpTaskInfo>)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.PrepareQueryFilter()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action PrepareQueryFilter
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PrepareQueryFilter", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.SynchroTask>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance, "PrepareQueryFilter", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.PrepareUpdateTasks()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action PrepareUpdateTasks
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PrepareUpdateTasks", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.SynchroTask>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance, "PrepareUpdateTasks", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.get_SvrData()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ServerDataCollection> SvrDataGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_SvrData", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SynchroTask, sts::SyncTaskStatus.ServerDataCollection>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance,
|
|
|
"get_SvrData", typeof(sts::SyncTaskStatus.ServerDataCollection), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.set_SvrData(ServerDataCollection value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ServerDataCollection> SvrDataSetServerDataCollection
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_SvrData", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SynchroTask, sts::SyncTaskStatus.ServerDataCollection>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance,
|
|
|
"set_SvrData", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.ServerDataCollection)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.UpdateTasks()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action UpdateTasks
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("UpdateTasks", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.SynchroTask>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance, "UpdateTasks", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of SynchroTask.loadObjects()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tssm::Teamcenter.Soa.Client.Model.Strong.Item> loadObjects
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("loadObjects", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.SynchroTask, tssm::Teamcenter.Soa.Client.Model.Strong.Item>(value)),
|
|
|
typeof(sts::SyncTaskStatus.SynchroTask), base.Instance,
|
|
|
"loadObjects", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Item), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.TaskHelp</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.TaskHelp))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of TaskHelp")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimTaskHelp
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.TaskHelp>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimTaskHelp()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimTaskHelp(sts::SyncTaskStatus.TaskHelp instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of TaskHelp.get_ErpInfo()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.TaskHelp, sts::SyncTaskStatus.ErpTaskInfo> ErpInfoGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.TaskHelp), (object)null,
|
|
|
"get_ErpInfo", typeof(sts::SyncTaskStatus.ErpTaskInfo), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.set_ErpInfo(ErpTaskInfo value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.TaskHelp, sts::SyncTaskStatus.ErpTaskInfo> ErpInfoSetErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.TaskHelp), (object)null,
|
|
|
"set_ErpInfo", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.get_Schedule()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.TaskHelp, tssm::Teamcenter.Soa.Client.Model.Strong.Schedule> ScheduleGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Schedule", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.TaskHelp), (object)null,
|
|
|
"get_Schedule", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Schedule), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.set_Schedule(Schedule value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.TaskHelp, tssm::Teamcenter.Soa.Client.Model.Strong.Schedule> ScheduleSetSchedule
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Schedule", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.TaskHelp), (object)null,
|
|
|
"set_Schedule", typeof(void), new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Schedule)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.get_UpdateContainor()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.TaskHelp, tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate> UpdateContainorGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_UpdateContainor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.TaskHelp), (object)null, "get_UpdateContainor",
|
|
|
typeof(tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.set_UpdateContainor(TaskExecUpdate value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.TaskHelp, tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate> UpdateContainorSetTaskExecUpdate
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_UpdateContainor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.TaskHelp), (object)null, "set_UpdateContainor", typeof(void),
|
|
|
new global::System.Type[]{typeof(tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimTaskHelp.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimTaskHelp.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.TaskHelp), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.TaskHelp()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.TaskHelp> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.TaskHelp), (object)null, ".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.get_ErpInfo()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ErpTaskInfo> ErpInfoGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.TaskHelp, sts::SyncTaskStatus.ErpTaskInfo>
|
|
|
(value)), typeof(sts::SyncTaskStatus.TaskHelp), base.Instance,
|
|
|
"get_ErpInfo", typeof(sts::SyncTaskStatus.ErpTaskInfo), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.set_ErpInfo(ErpTaskInfo value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.ErpTaskInfo> ErpInfoSetErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ErpInfo", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.TaskHelp, sts::SyncTaskStatus.ErpTaskInfo>
|
|
|
(value)), typeof(sts::SyncTaskStatus.TaskHelp), base.Instance,
|
|
|
"set_ErpInfo", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.get_Schedule()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tssm::Teamcenter.Soa.Client.Model.Strong.Schedule> ScheduleGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Schedule", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.TaskHelp, tssm::Teamcenter.Soa.Client.Model.Strong.Schedule>(value)),
|
|
|
typeof(sts::SyncTaskStatus.TaskHelp), base.Instance,
|
|
|
"get_Schedule", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Schedule), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.set_Schedule(Schedule value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tssm::Teamcenter.Soa.Client.Model.Strong.Schedule> ScheduleSetSchedule
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_Schedule", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.TaskHelp, tssm::Teamcenter.Soa.Client.Model.Strong.Schedule>(value)),
|
|
|
typeof(sts::SyncTaskStatus.TaskHelp), base.Instance,
|
|
|
"set_Schedule", typeof(void), new global::System.Type[]{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.Schedule)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.get_UpdateContainor()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate> UpdateContainorGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_UpdateContainor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify
|
|
|
<sts::SyncTaskStatus.TaskHelp, tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate>(value)
|
|
|
), typeof(sts::SyncTaskStatus.TaskHelp), base.Instance, "get_UpdateContainor",
|
|
|
typeof(tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TaskHelp.set_UpdateContainor(TaskExecUpdate value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate> UpdateContainorSetTaskExecUpdate
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_UpdateContainor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify
|
|
|
<sts::SyncTaskStatus.TaskHelp, tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate>(value)
|
|
|
), typeof(sts::SyncTaskStatus.TaskHelp), base.Instance, "set_UpdateContainor", typeof(void),
|
|
|
new global::System.Type[]{typeof(tspms::Teamcenter.Services.Strong.Projectmanagement._2011_06.ScheduleManagement.TaskExecUpdate)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.Util</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.Util))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of Util")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimUtil
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.Util>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimUtil()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimUtil(sts::SyncTaskStatus.Util instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimUtil.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Fakes.ShimUtil.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.Util), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Util.Util()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Util> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Util), (object)null, ".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Util.PrepareObjectUpdateContianer(ErpTaskInfo _info)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.ErpTaskInfo, sts::SyncTaskStatus.TaskHelp> PrepareObjectUpdateContianerErpTaskInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PrepareObjectUpdateContianer", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Util), "PrepareObjectUpdateContianer",
|
|
|
typeof(sts::SyncTaskStatus.TaskHelp), new global::System.Type[]{typeof(sts::SyncTaskStatus.ErpTaskInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Util.PrepareProjectItemQuery()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tssm::Teamcenter.Soa.Client.Model.Strong.ImanQuery> PrepareProjectItemQuery
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PrepareProjectItemQuery", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Util),
|
|
|
"PrepareProjectItemQuery", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ImanQuery), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Util.ServiceDataError(ServiceData data, ServerDataCollection& _svr)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.RefFunc<tsc::Teamcenter.Soa.Client.Model.ServiceData, sts::SyncTaskStatus.ServerDataCollection, bool> ServiceDataErrorServiceDataServerDataCollectionRef
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ServiceDataError", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Util), "ServiceDataError", typeof(bool), new global::System.Type[]
|
|
|
{typeof(tsc::Teamcenter.Soa.Client.Model.ServiceData), typeof(sts::SyncTaskStatus.ServerDataCollection).MakeByRefType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Util.SetObjectPolicy()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action SetObjectPolicy
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetObjectPolicy", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Util), "SetObjectPolicy", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Util.queryItems(ImanQuery query, String[] sName, String[] sValue)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tssm::Teamcenter.Soa.Client.Model.Strong.ImanQuery, string[], string[], tsc::Teamcenter.Soa.Client.Model.ModelObject[]> queryItemsImanQueryStringArrayStringArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("queryItems", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Util),
|
|
|
"queryItems", typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject).MakeArrayType(), new global::System.Type[]
|
|
|
{typeof(tssm::Teamcenter.Soa.Client.Model.Strong.ImanQuery), typeof(string).MakeArrayType(), typeof(string).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.AgentContainer</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.AgentContainer))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of AgentContainer")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubAgentContainer
|
|
|
: sts::SyncTaskStatus.AgentContainer
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.AgentContainer>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubAgentContainer()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubAgentContainer</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.ErpTaskInfo</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.ErpTaskInfo))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of ErpTaskInfo")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubErpTaskInfo
|
|
|
: sts::SyncTaskStatus.ErpTaskInfo
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.ErpTaskInfo>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubErpTaskInfo()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubErpTaskInfo</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of ErpTaskInfo.ToString()</summary>
|
|
|
public override string ToString()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ___currentMethod = this.ToString;
|
|
|
___observer.Enter(typeof(sts::SyncTaskStatus.ErpTaskInfo), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ___sh = this.ToString01;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.ToString();
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Fakes.StubErpTaskInfo, string>(this, "ToString");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of ErpTaskInfo.ToString()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ToString01;
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.MediatorInterface</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.MediatorInterface))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of MediatorInterface")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubMediatorInterface
|
|
|
: sts::SyncTaskStatus.MediatorInterface
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.MediatorInterface>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubMediatorInterface()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubMediatorInterface</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.ProcessInfos</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.ProcessInfos))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of ProcessInfos")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubProcessInfos
|
|
|
: sts::SyncTaskStatus.ProcessInfos
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.ProcessInfos>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubProcessInfos()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubProcessInfos</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.ServerData</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.ServerData))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of ServerData")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubServerData
|
|
|
: sts::SyncTaskStatus.ServerData
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.ServerData>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubServerData()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubServerData</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.ServerDataCollection</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.ServerDataCollection))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of ServerDataCollection")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubServerDataCollection
|
|
|
: sts::SyncTaskStatus.ServerDataCollection
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.ServerDataCollection>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubServerDataCollection()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubServerDataCollection</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.SynchroTask</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.SynchroTask))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of SynchroTask")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubSynchroTask
|
|
|
: sts::SyncTaskStatus.SynchroTask
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.SynchroTask>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubSynchroTask()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubSynchroTask</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.TaskHelp</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.TaskHelp))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of TaskHelp")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubTaskHelp
|
|
|
: sts::SyncTaskStatus.TaskHelp
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.TaskHelp>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubTaskHelp()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubTaskHelp</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.Util</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.Util))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of Util")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubUtil
|
|
|
: sts::SyncTaskStatus.Util
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.Util>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubUtil()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubUtil</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.Logger.Bank</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.Logger.Bank))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of Bank")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimBank
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.Logger.Bank>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimBank()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimBank(sts::SyncTaskStatus.Logger.Bank instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of Bank.Calculate(Int32 x, Int32 y)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.Bank, int, int, int> CalculateInt32Int32
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Calculate", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.Bank), (object)null,
|
|
|
"Calculate", typeof(int), new global::System.Type[]{typeof(int), typeof(int)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Bank.GetAllMoney(IBank bk)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.Bank, sts::SyncTaskStatus.Logger.IBank, int> GetAllMoneyIBank
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetAllMoney", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.Bank), (object)null,
|
|
|
"GetAllMoney", typeof(int), new global::System.Type[]{typeof(sts::SyncTaskStatus.Logger.IBank)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Bank.GetTheCurrentYear()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.Bank, int> GetTheCurrentYear
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTheCurrentYear", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.Bank), (object)null,
|
|
|
"GetTheCurrentYear", typeof(int), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimBank.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimBank.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.Logger.Bank), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Bank.Calculate(Int32 x, Int32 y)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<int, int, int> CalculateInt32Int32
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Calculate", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.Bank, int, int, int>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.Bank), base.Instance, "Calculate", typeof(int), new global::System.Type[]{typeof(int), typeof(int)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Bank.Bank()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.Bank> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.Bank), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Bank.GetAllMoney(IBank bk)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.IBank, int> GetAllMoneyIBank
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetAllMoney", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.Bank, sts::SyncTaskStatus.Logger.IBank, int>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.Bank), base.Instance,
|
|
|
"GetAllMoney", typeof(int), new global::System.Type[]{typeof(sts::SyncTaskStatus.Logger.IBank)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Bank.GetTheCurrentYear()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<int> GetTheCurrentYear
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetTheCurrentYear", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.Bank, int>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.Bank), base.Instance, "GetTheCurrentYear", typeof(int), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.Logger.TDefaultLogger</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.Logger.TDefaultLogger))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of TDefaultLogger")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimTDefaultLogger
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.Logger.TDefaultLogger>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimTDefaultLogger()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimTDefaultLogger(sts::SyncTaskStatus.Logger.TDefaultLogger instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of TDefaultLogger.Get()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TDefaultLogger, sts::SyncTaskStatus.Logger.TLogManager> Get
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Get", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), (object)null,
|
|
|
"Get", typeof(sts::SyncTaskStatus.Logger.TLogManager), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.GetLogagent(Object tag)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TDefaultLogger, object, sts::SyncTaskStatus.Logger.TLogAgent> GetLogagentObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogagent", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), (object)null,
|
|
|
"GetLogagent", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.GetLogagent(String tag)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TDefaultLogger, string, sts::SyncTaskStatus.Logger.TLogAgent> GetLogagentString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogagent", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), (object)null,
|
|
|
"GetLogagent", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.get_LogAgent()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TDefaultLogger, sts::SyncTaskStatus.Logger.TLogAgent> LogAgentGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_LogAgent", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), (object)null,
|
|
|
"get_LogAgent", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTDefaultLogger.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTDefaultLogger.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.TDefaultLogger()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TDefaultLogger> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.CreateInstance()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TDefaultLogger> CreateInstance
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("CreateInstance", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger),
|
|
|
"CreateInstance", typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.Get()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager> Get
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Get", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TDefaultLogger, sts::SyncTaskStatus.Logger.TLogManager>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), base.Instance,
|
|
|
"Get", typeof(sts::SyncTaskStatus.Logger.TLogManager), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.GetLogagent(Object tag)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<object, sts::SyncTaskStatus.Logger.TLogAgent> GetLogagentObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogagent", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TDefaultLogger, object, sts::SyncTaskStatus.Logger.TLogAgent>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), base.Instance,
|
|
|
"GetLogagent", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.GetLogagent(String tag)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string, sts::SyncTaskStatus.Logger.TLogAgent> GetLogagentString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogagent", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TDefaultLogger, string, sts::SyncTaskStatus.Logger.TLogAgent>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), base.Instance,
|
|
|
"GetLogagent", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.get_LogAgent()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent> LogAgentGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_LogAgent", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TDefaultLogger, sts::SyncTaskStatus.Logger.TLogAgent>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), base.Instance,
|
|
|
"get_LogAgent", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.TDefaultLogger()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action StaticConstructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".cctor", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger), ".cctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TDefaultLogger.UpdateInstance()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action UpdateInstance
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("UpdateInstance", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TDefaultLogger),
|
|
|
"UpdateInstance", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.Logger.TFallbackAppender</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.Logger.TFallbackAppender))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of TFallbackAppender")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimTFallbackAppender
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.Logger.TFallbackAppender>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimTFallbackAppender()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimTFallbackAppender(sts::SyncTaskStatus.Logger.TFallbackAppender instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of TFallbackAppender.Append(LoggingEvent loggingEvent)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TFallbackAppender, l4::log4net.Core.LoggingEvent> AppendLoggingEvent
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Append", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), (object)null,
|
|
|
"Append", typeof(void), new global::System.Type[]{typeof(l4::log4net.Core.LoggingEvent)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TFallbackAppender.get_RequiresLayout()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TFallbackAppender, bool> RequiresLayoutGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_RequiresLayout", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), (object)null,
|
|
|
"get_RequiresLayout", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TFallbackAppender.Append(LoggingEvent loggingEvent)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.LoggingEvent> AppendLoggingEvent
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Append", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TFallbackAppender, l4::log4net.Core.LoggingEvent>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), base.Instance,
|
|
|
"Append", typeof(void), new global::System.Type[]{typeof(l4::log4net.Core.LoggingEvent)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender Bind(l4::log4net.Appender.IAppender target)
|
|
|
{
|
|
|
if (target == (l4::log4net.Appender.IAppender)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.Bind<sts::SyncTaskStatus.Logger.TFallbackAppender,
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender, l4::log4net.Appender.IAppender>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender Bind(l4::log4net.Appender.IBulkAppender target)
|
|
|
{
|
|
|
if (target == (l4::log4net.Appender.IBulkAppender)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.Bind<sts::SyncTaskStatus.Logger.TFallbackAppender,
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender, l4::log4net.Appender.IBulkAppender>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender Bind(l4::log4net.Core.IOptionHandler target)
|
|
|
{
|
|
|
if (target == (l4::log4net.Core.IOptionHandler)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.Bind<sts::SyncTaskStatus.Logger.TFallbackAppender,
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTFallbackAppender, l4::log4net.Core.IOptionHandler>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TFallbackAppender.TFallbackAppender()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TFallbackAppender> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TFallbackAppender.get_RequiresLayout()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> RequiresLayoutGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_RequiresLayout", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TFallbackAppender, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), base.Instance, "get_RequiresLayout", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TFallbackAppender.TFallbackAppender()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action StaticConstructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".cctor", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TFallbackAppender),
|
|
|
".cctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.Logger.TLogAgent</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.Logger.TLogAgent))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of TLogAgent")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimTLogAgent
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.Logger.TLogAgent>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimTLogAgent()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimTLogAgent(sts::SyncTaskStatus.Logger.TLogAgent instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]> DebugFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null, "DebugFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object arg0)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object> DebugFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]> DebugFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object> DebugFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object> DebugFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Debug(Object message)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object> DebugObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Debug", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Debug", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Debug(Object message, Exception exception)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception> DebugObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Debug", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Debug", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]> ErrorFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null, "ErrorFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object arg0)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object> ErrorFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]> ErrorFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object> ErrorFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object> ErrorFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Error(Object message)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object> ErrorObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Error", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Error", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Error(Object message, Exception exception)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception> ErrorObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Error", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Error", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]> FatalFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null, "FatalFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object arg0)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object> FatalFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]> FatalFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object> FatalFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object> FatalFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Fatal(Object message)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object> FatalObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Fatal", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Fatal", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Fatal(Object message, Exception exception)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception> FatalObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Fatal", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Fatal", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]> InfoFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null, "InfoFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object arg0)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object> InfoFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]> InfoFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object> InfoFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object> InfoFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Info(Object message)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object> InfoObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Info", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Info", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Info(Object message, Exception exception)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception> InfoObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Info", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Info", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsDebugEnabled()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent, bool> IsDebugEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsDebugEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"get_IsDebugEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsErrorEnabled()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent, bool> IsErrorEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsErrorEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"get_IsErrorEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsFatalEnabled()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent, bool> IsFatalEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsFatalEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"get_IsFatalEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsInfoEnabled()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent, bool> IsInfoEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsInfoEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"get_IsInfoEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsOn()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent, bool> IsOnGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsOn", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"get_IsOn", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsWarnEnabled()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent, bool> IsWarnEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsWarnEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"get_IsWarnEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_Logger()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogAgent, l4::log4net.Core.ILogger> LoggerGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Logger", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"get_Logger", typeof(l4::log4net.Core.ILogger), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]> WarnFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null, "WarnFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object arg0)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object> WarnFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object[] args)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]> WarnFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object> WarnFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object> WarnFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Warn(Object message)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object> WarnObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Warn", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Warn", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Warn(Object message, Exception exception)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception> WarnObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Warn", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
"Warn", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTLogAgent.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTLogAgent.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.Logger.TLogAgent), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.TLogAgent(TLogManager m, String s)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogAgent, sts::SyncTaskStatus.Logger.TLogManager, string> ConstructorTLogManagerString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogAgent), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.Logger.TLogManager), typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<global::System.IFormatProvider, string, object[]> DebugFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "DebugFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object arg0)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object> DebugFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object[]> DebugFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]>(value)
|
|
|
), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object> DebugFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object>
|
|
|
(value)), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.DebugFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object, object> DebugFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("DebugFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"DebugFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Debug(Object message)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object> DebugObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Debug", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "Debug", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Debug(Object message, Exception exception)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object, global::System.Exception> DebugObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Debug", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"Debug", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<global::System.IFormatProvider, string, object[]> ErrorFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "ErrorFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object arg0)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object> ErrorFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object[]> ErrorFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]>(value)
|
|
|
), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object> ErrorFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object>
|
|
|
(value)), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.ErrorFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object, object> ErrorFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ErrorFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"ErrorFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Error(Object message)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object> ErrorObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Error", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "Error", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Error(Object message, Exception exception)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object, global::System.Exception> ErrorObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Error", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"Error", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<global::System.IFormatProvider, string, object[]> FatalFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "FatalFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object arg0)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object> FatalFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object[]> FatalFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]>(value)
|
|
|
), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object> FatalFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object>
|
|
|
(value)), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.FatalFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object, object> FatalFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("FatalFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"FatalFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Fatal(Object message)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object> FatalObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Fatal", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "Fatal", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Fatal(Object message, Exception exception)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object, global::System.Exception> FatalObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Fatal", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"Fatal", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<global::System.IFormatProvider, string, object[]> InfoFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "InfoFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object arg0)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object> InfoFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object[]> InfoFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]>(value)
|
|
|
), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object> InfoFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object>
|
|
|
(value)), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.InfoFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object, object> InfoFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("InfoFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"InfoFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Info(Object message)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object> InfoObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Info", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "Info", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Info(Object message, Exception exception)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object, global::System.Exception> InfoObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Info", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"Info", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsDebugEnabled()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsDebugEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsDebugEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "get_IsDebugEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsErrorEnabled()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsErrorEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsErrorEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "get_IsErrorEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsFatalEnabled()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsFatalEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsFatalEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "get_IsFatalEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsInfoEnabled()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsInfoEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsInfoEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "get_IsInfoEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsOn()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsOnGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsOn", 36)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "get_IsOn", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_IsWarnEnabled()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsWarnEnabledGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsWarnEnabled", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "get_IsWarnEnabled", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.get_Logger()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.ILogger> LoggerGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_Logger", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)(
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, l4::log4net.Core.ILogger>
|
|
|
(value)), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"get_Logger", typeof(l4::log4net.Core.ILogger), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(IFormatProvider provider, String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<global::System.IFormatProvider, string, object[]> WarnFormatIFormatProviderStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, global::System.IFormatProvider, string, object[]>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "WarnFormat",
|
|
|
typeof(void), new global::System.Type[]{typeof(global::System.IFormatProvider), typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object arg0)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object> WarnFormatStringObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object[] args)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object[]> WarnFormatStringObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object[]>(value)
|
|
|
), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object arg0, Object arg1)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object> WarnFormatStringObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object>
|
|
|
(value)), typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.WarnFormat(String format, Object arg0, Object arg1, Object arg2)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, object, object, object> WarnFormatStringObjectObjectObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("WarnFormat", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, string, object, object, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"WarnFormat", typeof(void), new global::System.Type[]{typeof(string), typeof(object), typeof(object), typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Warn(Object message)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object> WarnObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Warn", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance, "Warn", typeof(void), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogAgent.Warn(Object message, Exception exception)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<object, global::System.Exception> WarnObjectException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Warn", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogAgent, object, global::System.Exception>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogAgent), base.Instance,
|
|
|
"Warn", typeof(void), new global::System.Type[]{typeof(object), typeof(global::System.Exception)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.Logger.TLogManager</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.Logger.TLogManager))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of TLogManager")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimTLogManager
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.Logger.TLogManager>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimTLogManager()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimTLogManager(sts::SyncTaskStatus.Logger.TLogManager instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of TLogManager.get_ConfigFile()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, string> ConfigFileGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ConfigFile", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"get_ConfigFile", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_ConfigName()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, string> ConfigNameGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ConfigName", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"get_ConfigName", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_ConfigName(String value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager, string> ConfigNameSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ConfigName", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"set_ConfigName", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_ConfigPath()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, string> ConfigPathGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ConfigPath", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"get_ConfigPath", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_ConfigPath(String value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager, string> ConfigPathSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ConfigPath", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"set_ConfigPath", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.Configure()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager> Configure
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Configure", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"Configure", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.ConfigureFromString(String xml)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager, string> ConfigureFromStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ConfigureFromString", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"ConfigureFromString", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.GetLogger(Object o)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, object, sts::SyncTaskStatus.Logger.TLogAgent> GetLoggerObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogger", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"GetLogger", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.GetLogger(String subSystem)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, string, sts::SyncTaskStatus.Logger.TLogAgent> GetLoggerString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogger", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"GetLogger", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_IsConfigured()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, bool> IsConfiguredGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsConfigured", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"get_IsConfigured", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_IsOn()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, bool> IsOnGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsOn", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"get_IsOn", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_IsWatching()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, bool> IsWatchingGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsWatching", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"get_IsWatching", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_IsWatching(Boolean value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager, bool> IsWatchingSetBoolean
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_IsWatching", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"set_IsWatching", typeof(void), new global::System.Type[]{typeof(bool)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_State()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager, sts::SyncTaskStatus.Logger.TLogManager.StateType> StateGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_State", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"get_State", typeof(sts::SyncTaskStatus.Logger.TLogManager.StateType), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_State(StateType value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager, sts::SyncTaskStatus.Logger.TLogManager.StateType> StateSetTLogManagerStateType
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_State", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
"set_State", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.Logger.TLogManager.StateType)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTLogManager.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimTLogManager.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.Logger.TLogManager), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.ChangeState(StateType state)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager.StateType> ChangeStateTLogManagerStateType
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ChangeState", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager),
|
|
|
"ChangeState", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.Logger.TLogManager.StateType)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_ConfigFile()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ConfigFileGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ConfigFile", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "get_ConfigFile", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_ConfigName()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ConfigNameGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ConfigName", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "get_ConfigName", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_ConfigName(String value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> ConfigNameSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ConfigName", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance,
|
|
|
"set_ConfigName", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_ConfigPath()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string> ConfigPathGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_ConfigPath", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "get_ConfigPath", typeof(string), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_ConfigPath(String value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> ConfigPathSetString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_ConfigPath", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance,
|
|
|
"set_ConfigPath", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.Configure()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action Configure
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Configure", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "Configure", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.ConfigureFromString(String xml)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string> ConfigureFromStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ConfigureFromString", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, string>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance,
|
|
|
"ConfigureFromString", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.TLogManager()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.Create()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager> Create
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Create", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager),
|
|
|
"Create", typeof(sts::SyncTaskStatus.Logger.TLogManager), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.Create(String logDir)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string, sts::SyncTaskStatus.Logger.TLogManager> CreateString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("Create", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager),
|
|
|
"Create", typeof(sts::SyncTaskStatus.Logger.TLogManager), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.GetLogger(Object o)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<object, sts::SyncTaskStatus.Logger.TLogAgent> GetLoggerObject
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogger", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, object, sts::SyncTaskStatus.Logger.TLogAgent>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance,
|
|
|
"GetLogger", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(object)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.GetLogger(String subSystem)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string, sts::SyncTaskStatus.Logger.TLogAgent> GetLoggerString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetLogger", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, string, sts::SyncTaskStatus.Logger.TLogAgent>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance,
|
|
|
"GetLogger", typeof(sts::SyncTaskStatus.Logger.TLogAgent), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_GlobalState()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager.StateType> GlobalStateGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_GlobalState", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager),
|
|
|
"get_GlobalState", typeof(sts::SyncTaskStatus.Logger.TLogManager.StateType), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_GlobalState(StateType value)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager.StateType> GlobalStateSetTLogManagerStateType
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_GlobalState", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager),
|
|
|
"set_GlobalState", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.Logger.TLogManager.StateType)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_IsConfigured()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsConfiguredGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsConfigured", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "get_IsConfigured", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_IsOn()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsOnGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsOn", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "get_IsOn", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_IsWatching()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> IsWatchingGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_IsWatching", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "get_IsWatching", typeof(bool), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_IsWatching(Boolean value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<bool> IsWatchingSetBoolean
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_IsWatching", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, bool>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance, "set_IsWatching", typeof(void), new global::System.Type[]{typeof(bool)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.SetStateFromConfig()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action SetStateFromConfig
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetStateFromConfig", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager),
|
|
|
"SetStateFromConfig", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.get_State()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.TLogManager.StateType> StateGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_State", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, sts::SyncTaskStatus.Logger.TLogManager.StateType>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance,
|
|
|
"get_State", typeof(sts::SyncTaskStatus.Logger.TLogManager.StateType), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.set_State(StateType value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.TLogManager.StateType> StateSetTLogManagerStateType
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("set_State", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::SyncTaskStatus.Logger.TLogManager, sts::SyncTaskStatus.Logger.TLogManager.StateType>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.TLogManager), base.Instance,
|
|
|
"set_State", typeof(void), new global::System.Type[]{typeof(sts::SyncTaskStatus.Logger.TLogManager.StateType)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of TLogManager.TLogManager()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action StaticConstructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".cctor", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.TLogManager), ".cctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of SyncTaskStatus.Logger.ZSBank</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::SyncTaskStatus.Logger.ZSBank))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of ZSBank")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimZSBank
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::SyncTaskStatus.Logger.ZSBank>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimZSBank()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimZSBank(sts::SyncTaskStatus.Logger.ZSBank instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of ZSBank.getTotalMoney()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::SyncTaskStatus.Logger.ZSBank, int> getTotalMoney
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getTotalMoney", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.ZSBank), (object)null,
|
|
|
"getTotalMoney", typeof(int), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimZSBank.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::SyncTaskStatus.Logger.Fakes.ShimZSBank.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::SyncTaskStatus.Logger.ZSBank), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::SyncTaskStatus.Logger.Fakes.ShimZSBank Bind(sts::SyncTaskStatus.Logger.IBank target)
|
|
|
{
|
|
|
if (target == (sts::SyncTaskStatus.Logger.IBank)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime
|
|
|
.Bind<sts::SyncTaskStatus.Logger.ZSBank, global::SyncTaskStatus.Logger.Fakes.ShimZSBank, sts::SyncTaskStatus.Logger.IBank>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ZSBank.ZSBank()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::SyncTaskStatus.Logger.ZSBank> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::SyncTaskStatus.Logger.ZSBank), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of ZSBank.getTotalMoney()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<int> getTotalMoney
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getTotalMoney", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::SyncTaskStatus.Logger.ZSBank, int>(value)),
|
|
|
typeof(sts::SyncTaskStatus.Logger.ZSBank), base.Instance, "getTotalMoney", typeof(int), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.Logger.Bank</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.Logger.Bank))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of Bank")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubBank
|
|
|
: sts::SyncTaskStatus.Logger.Bank
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.Logger.Bank>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubBank()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubBank</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.Logger.IBank</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.Logger.IBank))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of IBank")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubIBank
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBase<sts::SyncTaskStatus.Logger.IBank>
|
|
|
, sts::SyncTaskStatus.Logger.IBank
|
|
|
{
|
|
|
/// <summary>Initializes a new instance of type StubIBank</summary>
|
|
|
public StubIBank()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of IBank.getTotalMoney()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<int> GetTotalMoney;
|
|
|
|
|
|
/// <summary>Sets the stub of IBank.getTotalMoney()</summary>
|
|
|
int sts::SyncTaskStatus.Logger.IBank.getTotalMoney()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<int> ___currentMethod
|
|
|
= ((sts::SyncTaskStatus.Logger.IBank)this).getTotalMoney;
|
|
|
___observer.Enter(typeof(sts::SyncTaskStatus.Logger.IBank), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<int> ___sh = this.GetTotalMoney;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubIBank, int>(this, "SyncTaskStatus.Logger.IBank.getTotalMoney");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.Logger.TFallbackAppender</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.Logger.TFallbackAppender))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of TFallbackAppender")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubTFallbackAppender
|
|
|
: sts::SyncTaskStatus.Logger.TFallbackAppender
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.Logger.TFallbackAppender>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubTFallbackAppender()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.ActivateOptions()</summary>
|
|
|
public override void ActivateOptions()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ___currentMethod = this.ActivateOptions;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ___sh = this.ActivateOptions01;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.ActivateOptions();
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "ActivateOptions");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.ActivateOptions()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ActivateOptions01;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.AddFilter(IFilter filter)</summary>
|
|
|
public override void AddFilter(l4::log4net.Filter.IFilter filter)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Filter.IFilter> ___currentMethod = this.AddFilter;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod, (object)filter);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Filter.IFilter> ___sh = this.AddFilterIFilter;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(filter);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.AddFilter(filter);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "AddFilter");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.AddFilter(IFilter filter)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Filter.IFilter> AddFilterIFilter;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.Append(LoggingEvent[] loggingEvents)</summary>
|
|
|
protected override void Append(l4::log4net.Core.LoggingEvent[] loggingEvents)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.LoggingEvent[]> ___currentMethod = this.Append;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod, (object)loggingEvents);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.LoggingEvent[]> ___sh = this.AppendLoggingEventArray;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(loggingEvents);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.Append(loggingEvents);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "Append");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of TFallbackAppender.Append(LoggingEvent loggingEvent)</summary>
|
|
|
protected override void Append(l4::log4net.Core.LoggingEvent loggingEvent)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.LoggingEvent> ___currentMethod = this.Append;
|
|
|
___observer.Enter(typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), (global::System.Delegate)___currentMethod, (object)loggingEvent);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.LoggingEvent> ___sh = this.AppendLoggingEvent;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(loggingEvent);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.Append(loggingEvent);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "Append");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of TFallbackAppender.Append(LoggingEvent loggingEvent)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.LoggingEvent> AppendLoggingEvent;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.Append(LoggingEvent[] loggingEvents)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.LoggingEvent[]> AppendLoggingEventArray;
|
|
|
|
|
|
/// <summary>Attaches delegates to emulate StubTFallbackAppender.ErrorHandler as a property with a backing field.</summary>
|
|
|
public void AttachBackingFieldToErrorHandler()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
l4::log4net.Core.IErrorHandler initialValue;
|
|
|
if (
|
|
|
(object)(this.ErrorHandlerGet) == (object)null && (object)(this.ErrorHandlerSetIErrorHandler) == (object)null && this.___callBase == false &&
|
|
|
___behavior.TryGetValue<l4::log4net.Core.IErrorHandler>((object)this, out initialValue))
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubValueHolder<l4::log4net.Core.IErrorHandler> state
|
|
|
= new mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubValueHolder<l4::log4net.Core.IErrorHandler>(initialValue);
|
|
|
this.ErrorHandlerGet =
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.IErrorHandler>)(state.GetGetter());
|
|
|
this.ErrorHandlerSetIErrorHandler =
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.IErrorHandler>)(state.GetSetter());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Attaches delegates to emulate StubTFallbackAppender.Layout as a property with a backing field.</summary>
|
|
|
public void AttachBackingFieldToLayout()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
l4::log4net.Layout.ILayout initialValue;
|
|
|
if ((object)(this.LayoutGet) == (object)null && (object)(this.LayoutSetILayout) == (object)null && this.___callBase == false &&
|
|
|
___behavior.TryGetValue<l4::log4net.Layout.ILayout>((object)this, out initialValue))
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubValueHolder<l4::log4net.Layout.ILayout> state
|
|
|
= new mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubValueHolder<l4::log4net.Layout.ILayout>(initialValue);
|
|
|
this.LayoutGet = (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Layout.ILayout>)(state.GetGetter());
|
|
|
this.LayoutSetILayout = (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Layout.ILayout>)(state.GetSetter());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.ClearFilters()</summary>
|
|
|
public override void ClearFilters()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ___currentMethod = this.ClearFilters;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ___sh = this.ClearFilters01;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.ClearFilters();
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "ClearFilters");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.ClearFilters()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ClearFilters01;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.get_ErrorHandler()</summary>
|
|
|
public override l4::log4net.Core.IErrorHandler ErrorHandler
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
this.AttachBackingFieldToErrorHandler();
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.IErrorHandler> ___currentMethod
|
|
|
= (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.IErrorHandler>)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubRuntime.BindProperty
|
|
|
(typeof(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.IErrorHandler>),
|
|
|
(object)this, typeof(l4::log4net.Appender.AppenderSkeleton),
|
|
|
"ErrorHandler", unchecked(1 != 0L), typeof(l4::log4net.Core.IErrorHandler)));
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.IErrorHandler> ___sh = this.ErrorHandlerGet;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.ErrorHandler;
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return
|
|
|
___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender, l4::log4net.Core.IErrorHandler>(this, "get_ErrorHandler");
|
|
|
}
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.AttachBackingFieldToErrorHandler();
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.IErrorHandler> ___currentMethod
|
|
|
= (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.IErrorHandler>)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubRuntime.BindProperty
|
|
|
(typeof(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.IErrorHandler>),
|
|
|
(object)this, typeof(l4::log4net.Appender.AppenderSkeleton),
|
|
|
"ErrorHandler", unchecked(0 != 0L), typeof(l4::log4net.Core.IErrorHandler)));
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod, (object)value);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.IErrorHandler> ___sh = this.ErrorHandlerSetIErrorHandler;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(value);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.ErrorHandler = value;
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "set_ErrorHandler");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.get_ErrorHandler()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.IErrorHandler> ErrorHandlerGet;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.set_ErrorHandler(IErrorHandler value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Core.IErrorHandler> ErrorHandlerSetIErrorHandler;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.FilterEvent(LoggingEvent loggingEvent)</summary>
|
|
|
protected override bool FilterEvent(l4::log4net.Core.LoggingEvent loggingEvent)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.LoggingEvent, bool> ___currentMethod = this.FilterEvent;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod, (object)loggingEvent);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.LoggingEvent, bool> ___sh = this.FilterEventLoggingEvent;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke(loggingEvent);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.FilterEvent(loggingEvent);
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender, bool>(this, "FilterEvent");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.FilterEvent(LoggingEvent loggingEvent)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.LoggingEvent, bool> FilterEventLoggingEvent;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.get_FilterHead()</summary>
|
|
|
public override l4::log4net.Filter.IFilter FilterHead
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Filter.IFilter> ___currentMethod
|
|
|
= (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Filter.IFilter>)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubRuntime.BindProperty
|
|
|
(typeof(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Filter.IFilter>),
|
|
|
(object)this, typeof(l4::log4net.Appender.AppenderSkeleton),
|
|
|
"FilterHead", unchecked(1 != 0L), typeof(l4::log4net.Filter.IFilter)));
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Filter.IFilter> ___sh = this.FilterHeadGet;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.FilterHead;
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender, l4::log4net.Filter.IFilter>(this, "get_FilterHead");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.get_FilterHead()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Filter.IFilter> FilterHeadGet;
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubTFallbackAppender</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.IsAsSevereAsThreshold(Level level)</summary>
|
|
|
protected override bool IsAsSevereAsThreshold(l4::log4net.Core.Level level)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.Level, bool> ___currentMethod
|
|
|
= this.IsAsSevereAsThreshold;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod, (object)level);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.Level, bool> ___sh = this.IsAsSevereAsThresholdLevel;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke(level);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.IsAsSevereAsThreshold(level);
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender, bool>(this, "IsAsSevereAsThreshold");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.IsAsSevereAsThreshold(Level level)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Core.Level, bool> IsAsSevereAsThresholdLevel;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.get_Layout()</summary>
|
|
|
public override l4::log4net.Layout.ILayout Layout
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
this.AttachBackingFieldToLayout();
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Layout.ILayout> ___currentMethod
|
|
|
= (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Layout.ILayout>)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubRuntime.BindProperty
|
|
|
(typeof(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Layout.ILayout>),
|
|
|
(object)this, typeof(l4::log4net.Appender.AppenderSkeleton), "Layout", unchecked(1 != 0L), typeof(l4::log4net.Layout.ILayout)));
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Layout.ILayout> ___sh = this.LayoutGet;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.Layout;
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender, l4::log4net.Layout.ILayout>(this, "get_Layout");
|
|
|
}
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.AttachBackingFieldToLayout();
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Layout.ILayout> ___currentMethod
|
|
|
= (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Layout.ILayout>)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubRuntime.BindProperty
|
|
|
(typeof(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Layout.ILayout>),
|
|
|
(object)this, typeof(l4::log4net.Appender.AppenderSkeleton), "Layout", unchecked(0 != 0L), typeof(l4::log4net.Layout.ILayout)));
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod, (object)value);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Layout.ILayout> ___sh = this.LayoutSetILayout;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(value);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.Layout = value;
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "set_Layout");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.get_Layout()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<l4::log4net.Layout.ILayout> LayoutGet;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.set_Layout(ILayout value)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<l4::log4net.Layout.ILayout> LayoutSetILayout;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.OnClose()</summary>
|
|
|
protected override void OnClose()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ___currentMethod = this.OnClose;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action ___sh = this.OnClose01;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.OnClose();
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender>(this, "OnClose");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.OnClose()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action OnClose01;
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.PreAppendCheck()</summary>
|
|
|
protected override bool PreAppendCheck()
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> ___currentMethod = this.PreAppendCheck;
|
|
|
___observer.Enter(typeof(l4::log4net.Appender.AppenderSkeleton), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> ___sh = this.PreAppendCheck01;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.PreAppendCheck();
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender, bool>(this, "PreAppendCheck");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppenderSkeleton.PreAppendCheck()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> PreAppendCheck01;
|
|
|
|
|
|
/// <summary>Sets the stub of TFallbackAppender.get_RequiresLayout()</summary>
|
|
|
protected override bool RequiresLayout
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> ___currentMethod
|
|
|
= (mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool>)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubRuntime.BindProperty
|
|
|
(typeof(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool>),
|
|
|
(object)this, typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), "RequiresLayout", unchecked(1 != 0L), typeof(bool)));
|
|
|
___observer.Enter(typeof(sts::SyncTaskStatus.Logger.TFallbackAppender), (global::System.Delegate)___currentMethod);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> ___sh = this.RequiresLayoutGet;
|
|
|
if ((object)___sh != (object)null)
|
|
|
return ___sh.Invoke();
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
return base.RequiresLayout;
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
return ___behavior.Result<global::SyncTaskStatus.Logger.Fakes.StubTFallbackAppender, bool>(this, "get_RequiresLayout");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of TFallbackAppender.get_RequiresLayout()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<bool> RequiresLayoutGet;
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.Logger.TLogManager</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.Logger.TLogManager))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of TLogManager")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubTLogManager
|
|
|
: sts::SyncTaskStatus.Logger.TLogManager
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.Logger.TLogManager>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubTLogManager()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubTLogManager</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace SyncTaskStatus.Logger.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of SyncTaskStatus.Logger.ZSBank</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::SyncTaskStatus.Logger.ZSBank))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of ZSBank")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubZSBank
|
|
|
: sts::SyncTaskStatus.Logger.ZSBank
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::SyncTaskStatus.Logger.ZSBank>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubZSBank()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubZSBank</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of Teamcenter.ClientX.AppXCredentialManager</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::Teamcenter.ClientX.AppXCredentialManager))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of AppXCredentialManager")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimAppXCredentialManager
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::Teamcenter.ClientX.AppXCredentialManager>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimAppXCredentialManager()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimAppXCredentialManager(sts::Teamcenter.ClientX.AppXCredentialManager instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.get_CredentialType()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::Teamcenter.ClientX.AppXCredentialManager, int> CredentialTypeGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_CredentialType", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXCredentialManager), (object)null,
|
|
|
"get_CredentialType", typeof(int), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.GetCredentials(InvalidCredentialsException e)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::Teamcenter.ClientX.AppXCredentialManager, tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidCredentialsException, string[]> GetCredentialsInvalidCredentialsException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetCredentials", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXCredentialManager), (object)null,
|
|
|
"GetCredentials", typeof(string).MakeArrayType(),
|
|
|
new global::System.Type[]{typeof(tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidCredentialsException)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.GetCredentials(InvalidUserException e)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::Teamcenter.ClientX.AppXCredentialManager, tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidUserException, string[]> GetCredentialsInvalidUserException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetCredentials", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXCredentialManager), (object)null,
|
|
|
"GetCredentials", typeof(string).MakeArrayType(),
|
|
|
new global::System.Type[]{typeof(tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidUserException)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.PromptForCredentials()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::Teamcenter.ClientX.AppXCredentialManager, string[]> PromptForCredentials
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PromptForCredentials", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXCredentialManager), (object)null,
|
|
|
"PromptForCredentials", typeof(string).MakeArrayType(), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.SetGroupRole(String group, String role)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXCredentialManager, string, string> SetGroupRoleStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetGroupRole", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXCredentialManager), (object)null,
|
|
|
"SetGroupRole", typeof(void), new global::System.Type[]{typeof(string), typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.SetUserPassword(String user, String password, String discriminator)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXCredentialManager, string, string, string> SetUserPasswordStringStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetUserPassword", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXCredentialManager), (object)null,
|
|
|
"SetUserPassword", typeof(void), new global::System.Type[]{typeof(string), typeof(string), typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXCredentialManager.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXCredentialManager.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::Teamcenter.ClientX.AppXCredentialManager), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::Teamcenter.ClientX.Fakes.ShimAppXCredentialManager Bind(tsc::Teamcenter.Soa.Client.CredentialManager target)
|
|
|
{
|
|
|
if (target == (tsc::Teamcenter.Soa.Client.CredentialManager)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.Bind<sts::Teamcenter.ClientX.AppXCredentialManager,
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXCredentialManager, tsc::Teamcenter.Soa.Client.CredentialManager>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.AppXCredentialManager()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXCredentialManager> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXCredentialManager), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.get_CredentialType()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<int> CredentialTypeGet
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("get_CredentialType", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::Teamcenter.ClientX.AppXCredentialManager, int>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXCredentialManager), base.Instance, "get_CredentialType", typeof(int), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.GetCredentials(InvalidCredentialsException e)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidCredentialsException, string[]> GetCredentialsInvalidCredentialsException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetCredentials", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::Teamcenter.ClientX.AppXCredentialManager,
|
|
|
tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidCredentialsException, string[]>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXCredentialManager), base.Instance, "GetCredentials", typeof(string).MakeArrayType(),
|
|
|
new global::System.Type[]{typeof(tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidCredentialsException)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.GetCredentials(InvalidUserException e)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidUserException, string[]> GetCredentialsInvalidUserException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("GetCredentials", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::Teamcenter.ClientX.AppXCredentialManager,
|
|
|
tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidUserException, string[]>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXCredentialManager), base.Instance, "GetCredentials", typeof(string).MakeArrayType(),
|
|
|
new global::System.Type[]{typeof(tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InvalidUserException)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.PromptForCredentials()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string[]> PromptForCredentials
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("PromptForCredentials", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)(
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::Teamcenter.ClientX.AppXCredentialManager, string[]>(value)
|
|
|
), typeof(sts::Teamcenter.ClientX.AppXCredentialManager), base.Instance,
|
|
|
"PromptForCredentials", typeof(string).MakeArrayType(), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.SetGroupRole(String group, String role)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, string> SetGroupRoleStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetGroupRole", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::Teamcenter.ClientX.AppXCredentialManager, string, string>
|
|
|
(value)), typeof(sts::Teamcenter.ClientX.AppXCredentialManager), base.Instance,
|
|
|
"SetGroupRole", typeof(void), new global::System.Type[]{typeof(string), typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXCredentialManager.SetUserPassword(String user, String password, String discriminator)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string, string, string> SetUserPasswordStringStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("SetUserPassword", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.AppXCredentialManager, string, string, string>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXCredentialManager), base.Instance,
|
|
|
"SetUserPassword", typeof(void), new global::System.Type[]{typeof(string), typeof(string), typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of Teamcenter.ClientX.AppXExceptionHandler</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::Teamcenter.ClientX.AppXExceptionHandler))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of AppXExceptionHandler")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimAppXExceptionHandler
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::Teamcenter.ClientX.AppXExceptionHandler>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimAppXExceptionHandler()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimAppXExceptionHandler(sts::Teamcenter.ClientX.AppXExceptionHandler instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of AppXExceptionHandler.HandleException(CanceledOperationException coe)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXExceptionHandler, tscr::Teamcenter.Soa.Exceptions.CanceledOperationException> HandleExceptionCanceledOperationException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("HandleException", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXExceptionHandler), (object)null,
|
|
|
"HandleException", typeof(void), new global::System.Type[]{typeof(tscr::Teamcenter.Soa.Exceptions.CanceledOperationException)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXExceptionHandler.HandleException(InternalServerException ise)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXExceptionHandler, tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InternalServerException> HandleExceptionInternalServerException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("HandleException", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXExceptionHandler), (object)null, "HandleException",
|
|
|
typeof(void), new global::System.Type[]{typeof(tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InternalServerException)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXExceptionHandler.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXExceptionHandler.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::Teamcenter.ClientX.AppXExceptionHandler), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::Teamcenter.ClientX.Fakes.ShimAppXExceptionHandler Bind(tsc::Teamcenter.Soa.Client.ExceptionHandler target)
|
|
|
{
|
|
|
if (target == (tsc::Teamcenter.Soa.Client.ExceptionHandler)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.Bind<sts::Teamcenter.ClientX.AppXExceptionHandler,
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXExceptionHandler, tsc::Teamcenter.Soa.Client.ExceptionHandler>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXExceptionHandler.AppXExceptionHandler()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXExceptionHandler> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXExceptionHandler), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXExceptionHandler.HandleException(CanceledOperationException coe)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tscr::Teamcenter.Soa.Exceptions.CanceledOperationException> HandleExceptionCanceledOperationException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("HandleException", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.AppXExceptionHandler, tscr::Teamcenter.Soa.Exceptions.CanceledOperationException>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXExceptionHandler), base.Instance,
|
|
|
"HandleException", typeof(void), new global::System.Type[]{typeof(tscr::Teamcenter.Soa.Exceptions.CanceledOperationException)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXExceptionHandler.HandleException(InternalServerException ise)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InternalServerException> HandleExceptionInternalServerException
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("HandleException", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.AppXExceptionHandler, tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InternalServerException>
|
|
|
(value)), typeof(sts::Teamcenter.ClientX.AppXExceptionHandler), base.Instance, "HandleException",
|
|
|
typeof(void), new global::System.Type[]{typeof(tscr::Teamcenter.Schemas.Soa._2006_03.Exceptions.InternalServerException)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of Teamcenter.ClientX.AppXModelEventListener</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::Teamcenter.ClientX.AppXModelEventListener))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of AppXModelEventListener")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimAppXModelEventListener
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::Teamcenter.ClientX.AppXModelEventListener>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimAppXModelEventListener()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimAppXModelEventListener(sts::Teamcenter.ClientX.AppXModelEventListener instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of AppXModelEventListener.LocalObjectChange(ModelObject[] objects)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXModelEventListener, tsc::Teamcenter.Soa.Client.Model.ModelObject[]> LocalObjectChangeModelObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("LocalObjectChange", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXModelEventListener), (object)null,
|
|
|
"LocalObjectChange", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXModelEventListener.LocalObjectDelete(String[] uids)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXModelEventListener, string[]> LocalObjectDeleteStringArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("LocalObjectDelete", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXModelEventListener), (object)null,
|
|
|
"LocalObjectDelete", typeof(void), new global::System.Type[]{typeof(string).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXModelEventListener.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXModelEventListener.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::Teamcenter.ClientX.AppXModelEventListener), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXModelEventListener.AppXModelEventListener()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXModelEventListener> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXModelEventListener), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXModelEventListener.LocalObjectChange(ModelObject[] objects)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> LocalObjectChangeModelObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("LocalObjectChange", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.AppXModelEventListener, tsc::Teamcenter.Soa.Client.Model.ModelObject[]>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXModelEventListener), base.Instance,
|
|
|
"LocalObjectChange", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXModelEventListener.LocalObjectDelete(String[] uids)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string[]> LocalObjectDeleteStringArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("LocalObjectDelete", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::Teamcenter.ClientX.AppXModelEventListener, string[]>
|
|
|
(value)), typeof(sts::Teamcenter.ClientX.AppXModelEventListener), base.Instance,
|
|
|
"LocalObjectDelete", typeof(void), new global::System.Type[]{typeof(string).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of Teamcenter.ClientX.AppXPartialErrorListener</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::Teamcenter.ClientX.AppXPartialErrorListener))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of AppXPartialErrorListener")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimAppXPartialErrorListener
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::Teamcenter.ClientX.AppXPartialErrorListener>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimAppXPartialErrorListener()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimAppXPartialErrorListener(sts::Teamcenter.ClientX.AppXPartialErrorListener instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of AppXPartialErrorListener.HandlePartialError(ErrorStack[] stacks)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXPartialErrorListener, tsc::Teamcenter.Soa.Client.Model.ErrorStack[]> HandlePartialErrorErrorStackArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("HandlePartialError", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXPartialErrorListener), (object)null,
|
|
|
"HandlePartialError", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ErrorStack).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXPartialErrorListener.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXPartialErrorListener.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType
|
|
|
(typeof(sts::Teamcenter.ClientX.AppXPartialErrorListener), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::Teamcenter.ClientX.Fakes.ShimAppXPartialErrorListener Bind(tsc::Teamcenter.Soa.Client.Model.PartialErrorListener target)
|
|
|
{
|
|
|
if (target == (tsc::Teamcenter.Soa.Client.Model.PartialErrorListener)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.Bind<sts::Teamcenter.ClientX.AppXPartialErrorListener,
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXPartialErrorListener, tsc::Teamcenter.Soa.Client.Model.PartialErrorListener>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXPartialErrorListener.AppXPartialErrorListener()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXPartialErrorListener> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXPartialErrorListener), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXPartialErrorListener.HandlePartialError(ErrorStack[] stacks)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ErrorStack[]> HandlePartialErrorErrorStackArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("HandlePartialError", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.AppXPartialErrorListener, tsc::Teamcenter.Soa.Client.Model.ErrorStack[]>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXPartialErrorListener), base.Instance,
|
|
|
"HandlePartialError", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ErrorStack).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of Teamcenter.ClientX.AppXRequestListener</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::Teamcenter.ClientX.AppXRequestListener))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of AppXRequestListener")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimAppXRequestListener
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::Teamcenter.ClientX.AppXRequestListener>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimAppXRequestListener()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimAppXRequestListener(sts::Teamcenter.ClientX.AppXRequestListener instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of AppXRequestListener.ServiceRequest(ServiceInfo info)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXRequestListener, tsc::Teamcenter.Soa.Client.ServiceInfo> ServiceRequestServiceInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ServiceRequest", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXRequestListener), (object)null,
|
|
|
"ServiceRequest", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.ServiceInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXRequestListener.ServiceResponse(ServiceInfo info)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXRequestListener, tsc::Teamcenter.Soa.Client.ServiceInfo> ServiceResponseServiceInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ServiceResponse", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXRequestListener), (object)null,
|
|
|
"ServiceResponse", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.ServiceInfo)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXRequestListener.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXRequestListener.Behavior =
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::Teamcenter.ClientX.AppXRequestListener), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Binds the members of the interface to the shim.</summary>
|
|
|
public global::Teamcenter.ClientX.Fakes.ShimAppXRequestListener Bind(tsc::Teamcenter.Soa.Client.RequestListener target)
|
|
|
{
|
|
|
if (target == (tsc::Teamcenter.Soa.Client.RequestListener)null)
|
|
|
throw new global::System.ArgumentNullException("target");
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.Bind<sts::Teamcenter.ClientX.AppXRequestListener,
|
|
|
global::Teamcenter.ClientX.Fakes.ShimAppXRequestListener, tsc::Teamcenter.Soa.Client.RequestListener>(this, target);
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXRequestListener.AppXRequestListener()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.AppXRequestListener> Constructor
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.AppXRequestListener), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXRequestListener.ServiceRequest(ServiceInfo info)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.ServiceInfo> ServiceRequestServiceInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ServiceRequest", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.AppXRequestListener, tsc::Teamcenter.Soa.Client.ServiceInfo>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXRequestListener), base.Instance,
|
|
|
"ServiceRequest", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.ServiceInfo)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of AppXRequestListener.ServiceResponse(ServiceInfo info)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.ServiceInfo> ServiceResponseServiceInfo
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("ServiceResponse", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.AppXRequestListener, tsc::Teamcenter.Soa.Client.ServiceInfo>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.AppXRequestListener), base.Instance,
|
|
|
"ServiceResponse", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.ServiceInfo)});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Shim type of Teamcenter.ClientX.Session</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimClass(typeof(sts::Teamcenter.ClientX.Session))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Shim of Session")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class ShimSession
|
|
|
: mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBase<sts::Teamcenter.ClientX.Session>
|
|
|
{
|
|
|
/// <summary>Initializes a new shim instance</summary>
|
|
|
public ShimSession()
|
|
|
: base()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new shim for the given instance</summary>
|
|
|
public ShimSession(sts::Teamcenter.ClientX.Session instance)
|
|
|
: base(instance)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Define shims for all instances members</summary>
|
|
|
public static partial class AllInstances
|
|
|
{
|
|
|
/// <summary>Sets the shim of Session.LoginFromSetting(String usr, String psw)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::Teamcenter.ClientX.Session, string, string, tssm::Teamcenter.Soa.Client.Model.Strong.User> LoginFromSettingStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("LoginFromSetting", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.Session), (object)null,
|
|
|
"LoginFromSetting", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.User), new global::System.Type[]{typeof(string), typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.login()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<sts::Teamcenter.ClientX.Session, tssm::Teamcenter.Soa.Client.Model.Strong.User> login
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("login", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.Session), (object)null,
|
|
|
"login", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.User), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.logout()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.Session> logout
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("logout", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.Session), (object)null,
|
|
|
"logout", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'Current' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsCurrent()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimSession.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.CurrentProxy;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the 'NotImplemented' behavior for all methods of the shimmed type</summary>
|
|
|
public static void BehaveAsNotImplemented()
|
|
|
{
|
|
|
global::Teamcenter.ClientX.Fakes.ShimSession.Behavior = mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.NotImplemented;
|
|
|
}
|
|
|
|
|
|
/// <summary>Assigns the behavior for all methods of the shimmed type</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.IShimBehavior Behavior
|
|
|
{
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimBehaviors.AttachToType(typeof(sts::Teamcenter.ClientX.Session), value);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.Session(String host)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<sts::Teamcenter.ClientX.Session, string> ConstructorString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod(".ctor", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.Session), (object)null,
|
|
|
".ctor", typeof(void), new global::System.Type[]{typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.LoginFromSetting(String usr, String psw)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<string, string, tssm::Teamcenter.Soa.Client.Model.Strong.User> LoginFromSettingStringString
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("LoginFromSetting", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.Session, string, string, tssm::Teamcenter.Soa.Client.Model.Strong.User>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.Session), base.Instance,
|
|
|
"LoginFromSetting", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.User), new global::System.Type[]{typeof(string), typeof(string)});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.getConnection()</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tsc::Teamcenter.Soa.Client.Connection> getConnection
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getConnection", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.Session),
|
|
|
"getConnection", typeof(tsc::Teamcenter.Soa.Client.Connection), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.getUsers(ModelObject[] objects)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> getUsersModelObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("getUsers", 40)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimNonPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.Session),
|
|
|
"getUsers", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.login()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Func<tssm::Teamcenter.Soa.Client.Model.Strong.User> login
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("login", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance
|
|
|
((global::System.Delegate)(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions
|
|
|
.Uncurrify<sts::Teamcenter.ClientX.Session, tssm::Teamcenter.Soa.Client.Model.Strong.User>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.Session), base.Instance,
|
|
|
"login", typeof(tssm::Teamcenter.Soa.Client.Model.Strong.User), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.logout()</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action logout
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("logout", 20)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicInstance((global::System.Delegate)
|
|
|
(mqttf::Microsoft.QualityTools.Testing.Fakes.FakesExtensions.Uncurrify<sts::Teamcenter.ClientX.Session>(value)),
|
|
|
typeof(sts::Teamcenter.ClientX.Session), base.Instance, "logout", typeof(void), new global::System.Type[]{});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the shim of Session.printObjects(ModelObject[] objects)</summary>
|
|
|
public static mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> printObjectsModelObjectArray
|
|
|
{
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimMethod("printObjects", 24)]
|
|
|
set
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.SetShimPublicStatic
|
|
|
((global::System.Delegate)value, typeof(sts::Teamcenter.ClientX.Session),
|
|
|
"printObjects", typeof(void), new global::System.Type[]{typeof(tsc::Teamcenter.Soa.Client.Model.ModelObject).MakeArrayType()});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of Teamcenter.ClientX.AppXCredentialManager</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::Teamcenter.ClientX.AppXCredentialManager))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of AppXCredentialManager")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubAppXCredentialManager
|
|
|
: sts::Teamcenter.ClientX.AppXCredentialManager
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::Teamcenter.ClientX.AppXCredentialManager>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubAppXCredentialManager()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubAppXCredentialManager</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of Teamcenter.ClientX.AppXExceptionHandler</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::Teamcenter.ClientX.AppXExceptionHandler))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of AppXExceptionHandler")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubAppXExceptionHandler
|
|
|
: sts::Teamcenter.ClientX.AppXExceptionHandler
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::Teamcenter.ClientX.AppXExceptionHandler>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubAppXExceptionHandler()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubAppXExceptionHandler</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of Teamcenter.ClientX.AppXModelEventListener</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::Teamcenter.ClientX.AppXModelEventListener))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of AppXModelEventListener")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubAppXModelEventListener
|
|
|
: sts::Teamcenter.ClientX.AppXModelEventListener
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::Teamcenter.ClientX.AppXModelEventListener>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubAppXModelEventListener()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubAppXModelEventListener</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppXModelEventListener.LocalObjectChange(ModelObject[] objects)</summary>
|
|
|
public override void LocalObjectChange(tsc::Teamcenter.Soa.Client.Model.ModelObject[] objects)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___currentMethod
|
|
|
= this.LocalObjectChange;
|
|
|
___observer.Enter(typeof(sts::Teamcenter.ClientX.AppXModelEventListener), (global::System.Delegate)___currentMethod, (object)objects);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___sh
|
|
|
= this.LocalObjectChangeModelObjectArray;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(objects);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.LocalObjectChange(objects);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::Teamcenter.ClientX.Fakes.StubAppXModelEventListener>(this, "LocalObjectChange");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppXModelEventListener.LocalObjectChange(ModelObject[] objects)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> LocalObjectChangeModelObjectArray;
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.LocalObjectCreate(ModelObject[] createdObjs)</summary>
|
|
|
public override void LocalObjectCreate(tsc::Teamcenter.Soa.Client.Model.ModelObject[] createdObjs)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___currentMethod
|
|
|
= this.LocalObjectCreate;
|
|
|
___observer.Enter
|
|
|
(typeof(tsc::Teamcenter.Soa.Client.Model.ModelEventListener), (global::System.Delegate)___currentMethod, (object)createdObjs);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___sh
|
|
|
= this.LocalObjectCreateModelObjectArray;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(createdObjs);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.LocalObjectCreate(createdObjs);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::Teamcenter.ClientX.Fakes.StubAppXModelEventListener>(this, "LocalObjectCreate");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.LocalObjectCreate(ModelObject[] createdObjs)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> LocalObjectCreateModelObjectArray;
|
|
|
|
|
|
/// <summary>Sets the stub of AppXModelEventListener.LocalObjectDelete(String[] uids)</summary>
|
|
|
public override void LocalObjectDelete(string[] uids)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string[]> ___currentMethod = this.LocalObjectDelete;
|
|
|
___observer.Enter(typeof(sts::Teamcenter.ClientX.AppXModelEventListener), (global::System.Delegate)___currentMethod, (object)uids);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string[]> ___sh = this.LocalObjectDeleteStringArray;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(uids);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.LocalObjectDelete(uids);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::Teamcenter.ClientX.Fakes.StubAppXModelEventListener>(this, "LocalObjectDelete");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of AppXModelEventListener.LocalObjectDelete(String[] uids)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string[]> LocalObjectDeleteStringArray;
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.SharedObjectChange(ModelObject[] changedObjs)</summary>
|
|
|
public override void SharedObjectChange(tsc::Teamcenter.Soa.Client.Model.ModelObject[] changedObjs)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___currentMethod
|
|
|
= this.SharedObjectChange;
|
|
|
___observer.Enter
|
|
|
(typeof(tsc::Teamcenter.Soa.Client.Model.ModelEventListener), (global::System.Delegate)___currentMethod, (object)changedObjs);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___sh
|
|
|
= this.SharedObjectChangeModelObjectArray;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(changedObjs);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.SharedObjectChange(changedObjs);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::Teamcenter.ClientX.Fakes.StubAppXModelEventListener>(this, "SharedObjectChange");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.SharedObjectChange(ModelObject[] changedObjs)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> SharedObjectChangeModelObjectArray;
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.SharedObjectCreate(ModelObject[] createdObjs)</summary>
|
|
|
public override void SharedObjectCreate(tsc::Teamcenter.Soa.Client.Model.ModelObject[] createdObjs)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___currentMethod
|
|
|
= this.SharedObjectCreate;
|
|
|
___observer.Enter
|
|
|
(typeof(tsc::Teamcenter.Soa.Client.Model.ModelEventListener), (global::System.Delegate)___currentMethod, (object)createdObjs);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> ___sh
|
|
|
= this.SharedObjectCreateModelObjectArray;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(createdObjs);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.SharedObjectCreate(createdObjs);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::Teamcenter.ClientX.Fakes.StubAppXModelEventListener>(this, "SharedObjectCreate");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.SharedObjectCreate(ModelObject[] createdObjs)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<tsc::Teamcenter.Soa.Client.Model.ModelObject[]> SharedObjectCreateModelObjectArray;
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.SharedObjectDelete(String[] deletedUids)</summary>
|
|
|
public override void SharedObjectDelete(string[] deletedUids)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable)this).InstanceObserver;
|
|
|
if ((object)___observer != (object)null)
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string[]> ___currentMethod = this.SharedObjectDelete;
|
|
|
___observer.Enter
|
|
|
(typeof(tsc::Teamcenter.Soa.Client.Model.ModelEventListener), (global::System.Delegate)___currentMethod, (object)deletedUids);
|
|
|
}
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string[]> ___sh = this.SharedObjectDeleteStringArray;
|
|
|
if ((object)___sh != (object)null)
|
|
|
___sh.Invoke(deletedUids);
|
|
|
else
|
|
|
{
|
|
|
if (this.___callBase)
|
|
|
base.SharedObjectDelete(deletedUids);
|
|
|
else
|
|
|
{
|
|
|
mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior
|
|
|
= ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub)this).InstanceBehavior;
|
|
|
___behavior.VoidResult<global::Teamcenter.ClientX.Fakes.StubAppXModelEventListener>(this, "SharedObjectDelete");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Sets the stub of ModelEventListener.SharedObjectDelete(String[] deletedUids)</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action<string[]> SharedObjectDeleteStringArray;
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of Teamcenter.ClientX.AppXPartialErrorListener</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::Teamcenter.ClientX.AppXPartialErrorListener))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of AppXPartialErrorListener")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubAppXPartialErrorListener
|
|
|
: sts::Teamcenter.ClientX.AppXPartialErrorListener
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::Teamcenter.ClientX.AppXPartialErrorListener>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubAppXPartialErrorListener()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubAppXPartialErrorListener</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of Teamcenter.ClientX.AppXRequestListener</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::Teamcenter.ClientX.AppXRequestListener))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of AppXRequestListener")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubAppXRequestListener
|
|
|
: sts::Teamcenter.ClientX.AppXRequestListener
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::Teamcenter.ClientX.AppXRequestListener>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubAppXRequestListener()
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubAppXRequestListener</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|
|
|
namespace Teamcenter.ClientX.Fakes
|
|
|
{
|
|
|
/// <summary>Stub type of Teamcenter.ClientX.Session</summary>
|
|
|
[mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubClass(typeof(sts::Teamcenter.ClientX.Session))]
|
|
|
[global::System.Diagnostics.DebuggerDisplay("Stub of Session")]
|
|
|
[global::System.Diagnostics.DebuggerNonUserCode]
|
|
|
public partial class StubSession
|
|
|
: sts::Teamcenter.ClientX.Session
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub<sts::Teamcenter.ClientX.Session>
|
|
|
, mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IPartialStub
|
|
|
{
|
|
|
/// <summary>Initializes a new instance</summary>
|
|
|
public StubSession(string host)
|
|
|
: base(host)
|
|
|
{
|
|
|
this.InitializeStub();
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
|
|
|
public bool CallBase
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return this.___callBase;
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___callBase = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Initializes a new instance of type StubSession</summary>
|
|
|
private void InitializeStub()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance behavior.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior InstanceBehavior
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubBehaviors.GetValueOrCurrent(this.___instanceBehavior);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceBehavior = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>Gets or sets the instance observer.</summary>
|
|
|
public mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver InstanceObserver
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
return mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.StubObservers.GetValueOrCurrent(this.___instanceObserver);
|
|
|
}
|
|
|
set
|
|
|
{
|
|
|
this.___instanceObserver = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private bool ___callBase;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___instanceBehavior;
|
|
|
|
|
|
private mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___instanceObserver;
|
|
|
}
|
|
|
}
|