update copyright
This commit is contained in:
Родитель
42abcffffc
Коммит
4476d10ba9
|
@ -1,20 +1,10 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: AddFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Function to add integer or concatenate string.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
internal class AddFunc : StandaloneFunc
|
internal class AddFunc : StandaloneFunc
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: AndFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: BinaryFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: ComparisonFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: DynamicPredicateType.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,16 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: EmptyPropertyContext.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Property context that does not have any property.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: GetFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: GuanException.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Define base exception generated from the trace tool.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: GuanExpression.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Wrapper for expression used in trace.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: GuanFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Define the functions that can be used in TraceExpression.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: GuanPredicate.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Predicate expression used for matching trace records.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
|
|
||||||
public class GuanPredicate
|
public class GuanPredicate
|
||||||
{
|
{
|
||||||
public static readonly GuanPredicate MatchAll = new GuanPredicate(true);
|
public static readonly GuanPredicate MatchAll = new GuanPredicate(true);
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
|
||||||
namespace Guan.Logic
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Interface for exporting object to compound term.
|
|
||||||
/// </summary>
|
|
||||||
public interface ICompoundTerm
|
|
||||||
{
|
|
||||||
CompoundTerm ToCompoundTerm();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: IGuanExpressionContext.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
public interface IGuanExpressionContext
|
public interface IGuanExpressionContext
|
||||||
|
|
|
@ -1,16 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: IPropertyContext.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Define the interface for retrieving named property.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
public interface IWaitingTask
|
public interface IWaitingTask
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
|
|
||||||
internal sealed class JsonPropertyContext : IPropertyContext
|
internal sealed class JsonPropertyContext : IPropertyContext
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: Literal.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: NotFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
//using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adapater to expose object properties as a compund term using reflection.
|
/// Adapater to expose object properties as a compund term using reflection.
|
||||||
|
@ -89,8 +90,7 @@ namespace Guan.Logic
|
||||||
return "null";
|
return "null";
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return JsonConvert.SerializeObject(this.value, Formatting.Indented);
|
||||||
//return JsonConvert.SerializeObject(this.value, Formatting.Indented);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: OrFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: OutputVariable.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: PropertyMatchFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Function to match/compare trace property.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: ReleaseAssert.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Helper class for providing assert behavior in production environment.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
public enum ResolveOrder
|
public enum ResolveOrder
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
internal class SplitFunc : BinaryFunc
|
internal class SplitFunc : BinaryFunc
|
||||||
|
|
|
@ -1,13 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: StandaloneFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: StrFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Function to convert object to literal string with quotation marks.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
|
|
||||||
internal class StringFunc : UnaryFunc
|
internal class StringFunc : UnaryFunc
|
||||||
{
|
{
|
||||||
public static readonly StringFunc Singleton = new StringFunc();
|
public static readonly StringFunc Singleton = new StringFunc();
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
// @File: UnaryFunc.cs
|
// ------------------------------------------------------------
|
||||||
//
|
|
||||||
// @Owner: xunlu
|
|
||||||
// @Test: xunlu
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
|
||||||
|
// ------------------------------------------------------------
|
||||||
namespace Guan.Logic
|
namespace Guan.Logic
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче