text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace O2.ToolKit.Core
{
/// <remarks> Класс помощник позволяющий сохранять данные классов </remarks>
public static class O2Serializer
{
/// <summary>
/// </sum... |
using AutoSFaP.Models;
using System.Linq;
using System.Threading.Tasks;
namespace AutoSFaP
{
public interface IDataLimiter<T> where T : class
{
IQueryable<T> LimitData(IQueryable<T> query, SortField<T>[] sortFields, FilterField<T>[] filterFields);
Task<PagedResult<T>> LimitDataAsync(IQueryable... |
namespace U3dClient
{
public interface IAction
{
void OnStart();
bool Execute();
void OnEnd();
}
} |
using System;
using System.IO;
using NUnit.Framework;
using Net.Pkcs11Interop.Common;
using Net.Pkcs11Interop.LowLevelAPI41;
using RutokenPkcs11Interop.Common;
using RutokenPkcs11Interop.Helpers;
using RutokenPkcs11Interop.LowLevelAPI41.MechanismParams;
namespace RutokenPkcs11InteropTests.LowLevelAPI41
{
public s... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using UnsafeCollections;
using UnsafeCollections.Collections.Native;
using UnsafeCollections.Collec... |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) Under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file to Y... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Reflection
{
[Flags]
public enum MemberTypes
{
Constructor = 0x01,
Even... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace AGCSE
{
public class clsTickMark : clsItem... |
using MLAPI.Data.Transports;
using System;
namespace MLAPI.Data
{
/// <summary>
/// A data object that represents a NetworkTransport channel
/// </summary>
[Serializable]
public class Channel
{
/// <summary>
/// The name of the channel
/// </summary>
public stri... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Initiate manual failover for the Route Point.
/// The response is either a Su... |
//-----------------------------------------------------------------------
// <copyright file="StructureMapDependencyResolver.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
//... |
/// Copyright (C) 2012-2014 Soomla Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable l... |
using Mf2_DotNet.Structure;
namespace Mf2_DotNet
{
public interface IMf2Visitor
{
void Visit(IMf2Struct element);
}
} |
namespace LogoFX.Client.Mvvm.Model.Specs.Objects
{
public class SelfEditableModel : EditableModel
{
private string _value;
public string Value
{
get => _value;
set => SetProperty(ref _value, value);
}
public SelfEditableModel Self { get; set; }
... |
// Copyright (c) 2015 The original author or authors
//
// This software may be modified and distributed under the terms
// of the zlib license. See the LICENSE file for details.
namespace SpriterDotNet
{
public class Config
{
/// <summary>
/// Enables ALL metadata calculations.
/// <... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css" /... |
// Condition.cs created with MonoDevelop
// User: stefant at 14:10 06/12/2008
//
using System;
using System.Collections.Generic;
using AD=AutoDiff;
namespace Alica
{
/// <summary>
/// A quantifier associated with agents, i.e., the domain identifiers of this quantifier refer to properties of an agent
/// </summa... |
using System;
using System.Collections;
using System.Resources;
namespace Linguist.Resources.Common
{
/// <summary>
/// Stores all the resources localized for one particular culture,
/// ignoring all other cultures, including any fallback rules.
/// </summary>
/// <remarks>
/// Compatibility t... |
/*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You may
* obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking
{
/// <summary>
/// This script allows to scroll a texture both horiz... |
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Management.Automation;
using System.Diagnostics;
using System.Management.Automation.Inter... |
using Pulsee.Game.GameStates.BaseState;
using Pulsee.Utilities.Display;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pulsee.Game.GameStates
{
class GameStatesManager
{
private string firstStateToLoad = "mainMenu";
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WEB.Shop.Application.Orders;
namespace WEB.Shop.UI.Pages
{
public class OrderModel : PageModel
{
public GetOrder.Response Order { get; set; }
public void OnGet(int id, [FromServices] GetOrder getOrder)
{
... |
//
// System.Data.Odbc.OdbcConnection
//
// Authors:
// Brian Ritchie (brianlritchie@hotmail.com)
//
// Copyright (C) Brian Ritchie, 2002
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associat... |
using System;
using UIKit;
namespace testapp
{
public partial class ViewController : UIViewController
{
public ViewController (IntPtr handle) : base (handle)
{
}
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
// Perform any additional setup after loading the view, typically from a nib.... |
//
// RandomisedPickerTests.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2008 Alan McGovern
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without r... |
/*
Dataphor
© Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
namespace Alphora.Dataphor.DAE.Language.MySQL
{
using System;
using Alphora.Dataphor.DAE.Language;
using SQL = Alphora.Dataphor.DAE.Language.SQL;
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace PermanentSatellite.LogicAndMath
{
/*This class shape a Node from two Point*/
class Node
{
/*Fields*/
public Point pointA { get; private set; }
public Point pointB { get; private set; }
public Nod... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nerva.Rpc.Wallet
{
public class GetAddress : Request<GetAddressRequestData, GetAddressResponseData>
{
public GetAddress(GetAddressRequestData rpcData, Action<GetAddressResponseData> completeAction, Action<RequestError> fai... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Web.Security;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArg... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... |
using System;
using System.IO;
using RaNetCore.BlobStorage.Interfaces;
namespace RaNetCore.BlobStorage.Abstraction
{
public abstract class BlobManager : IBlobManager, IFileBlobStorage, IImageBlobStorage
{
private readonly IBlobStorageProvider provider;
public BlobManager(IBlobStorageProvider... |
// ------------------------------------------------------------------------------------------------
// This code was generated by EntityFramework Reverse POCO Generator (http://www.reversepoco.co.uk/).
// Created by Simon Hughes (https://about.me/simon.hughes).
//
// Registered to: Simon Hughes
// Company : Revers... |
using System.Numerics;
using SharpGLTF.Transforms;
namespace SabTool.Data.Graphics
{
public class Skeleton
{
public static Skeleton SingleBoneInstance { get; } = new Skeleton
{
NumBones = 1
};
public int NumBones { get; set; }
public int SomeSize { get; se... |
namespace KeySender.Models
{
enum KeyCommand : short
{
//
// Summary:
// A sentinel value that implies there is no action to take, as no key has been sent / pressed.
Nothing = 0,
//
// Summary:
// The BACKSPACE key.
Backspace = 8,
... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using lab_47_asp_core_mvc.Data;
namesp... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Diagnostics;
using System.IO;
using System.Net.Sockets;
using System.Thre... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAna... |
// Copyright (c) 2012, Joshua Burke
// All rights reserved.
//
// See LICENSE for more information.
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the informati... |
// Copyright © Amer Koleci and Contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
namespace Vortice.Engine;
public sealed class TransformSystem : EntitySystem<TransformComponent>
{
private readonly HashSet<TransformComponent> _transformationRoots = new ... |
using System.Collections;
using System.Collections.Generic;
public class pt_update_little_window_c119 : st.net.NetBase.Pt {
public pt_update_little_window_c119()
{
Id = 0xC119;
}
public override st.net.NetBase.Pt createNew()
{
return new pt_update_little_window_c119();
}
public int id;
public override void... |
using UnityEngine;
namespace LogicUI.FancyTextRendering.MarkdownLogic
{
class Bold : SimpleMarkdownTag
{
protected override string MarkdownIndicator => "**";
protected override string RichTextOpenTag => "<b>";
protected override string RichTextCloseTag => "</b>";
protected ove... |
using System;
using System.Collections.Generic;
using System.Text;
using ISAAR.MSolve.Discretization.Interfaces;
namespace ISAAR.MSolve.Discretization.Mesh.Generation.Custom
{
public class RectilinearMeshGenerator2D<TNode> : IMeshGenerator<TNode> where TNode : INode
{
private readonly IReadOnlyList<do... |
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using TwitchLib.Client.Models;
namespace ROBot.Core.Handlers
{
public class TwitchCommandController : ITwitchCommandController
{
private readonly ILogger logger;
private... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
using System;
using System.Collections.Concurrent;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Infrastructure;
using Microsoft.Owin.Security.Cookies... |
/****************************************************************************
* Copyright 2019 Nreal Techonology Limited. All rights reserved.
*
* This file is part ... |
namespace ReactiveData
{
/// <summary>
/// A ReactiveConstant is like a ReactiveVar except that it never changes and thus has no Set
/// method. It can be used when there's something that doesn't change but still needs to be
/// treated as type Reactive, perhaps to pass to some method that handles data ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
usin... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace AGS.Types
{
public class CustomProperties
{
private Dictionary<string,CustomProperty> _properties = new Dictionary<string,CustomProperty>();
public CustomProperties()
{
}
pub... |
//
// Copyright 2008-2009 The SharpSvn Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
// ReSharper disable InconsistentNaming
namespace WpfAnalyzers.Test
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CodeFixes;
using NUnit.Framework;
public class ImplementValueConverterCodeFixProviderTests
{
private static readonly CodeFixProvider Fix = new ImplementValueConverterF... |
using System.Threading.Tasks;
namespace BolRetailerApi.Models.Authorization
{
/// <summary>
/// Authorization token interface.
/// </summary>
public interface IAuthorizationToken
{
/// <summary>
/// Returns true if the token is (still) valid.
/// </summary>
/// <ret... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/xaudio2.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syste... |
namespace EmplSys.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Common;
[Table("Countries")]
public class Country
{
private ICollection<Municipality> municipalities;
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2.Beer_and_Chips
{
class Program
{
static void Main(string[] args)
{
string fanName = Console.ReadLine();
decimal budget = decimal.Parse(Consol... |
using System;
using System.Collections.Generic;
using System.Reflection;
using HotChocolate.Configuration;
using HotChocolate.Language;
using HotChocolate.Types.Descriptors.Definitions;
using static HotChocolate.Internal.FieldInitHelper;
#nullable enable
namespace HotChocolate.Types
{
public class InputField : Fi... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
/*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LLVM {
public class GlobalValue: Constant {
internal GlobalValue(IntPtr valueref) : base(valueref) { }
}
} |
singleton TSShapeConstructor(Fog_ConeDAE)
{
baseShape = "./Fog_Cone.DAE";
lodType = "TrailingNumber";
neverImport = "env*";
loadLights = "0";
}; |
using MathCore.WPF.WindowTest.Services;
using MathCore.WPF.WindowTest.Services.Interfaces;
using MathCore.WPF.WindowTest.ViewModels;
using Microsoft.Extensions.DependencyInjection;
namespace MathCore.WPF.WindowTest
{
public partial class App
{
private static void ConfigureServices(IServiceCollection ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace CloudCityCakesMVC.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Users",
... |
@model Saritasa.BoringWarehouse.Domain.Users.Commands.CreateUserCommand
@{
ViewBag.Title = "CreateUser";
}
<h2>CreateUser</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>CreateUserCommand</h4>
<hr />
@Html.ValidationSummary(true,... |
// This file is part of the TA.Horizon project
//
// Copyright © 2015 Tigra Networks., all rights reserved.
//
// File: HorizonAppSpecs.cs Last modified: 2015-03-13@06:39 by Tim Long
using System;
using System.Collections.Generic;
using Machine.Specifications;
using TA.Horizon.Importers;
namespace TA.Horizon.Spec... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("08... |
using Pinspaces.Core.Controls;
using Pinspaces.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace Pinspaces.Shell.Controls
{
[PinType(DisplayName = "Fold... |
namespace Reflections.UnitTests.TestClasses
{
internal class ClassWithOneVirtualAttributedMethod
{
// ReSharper disable once UnusedMember.Global
[Dummy]
public virtual string DeclaredMethod()
{
return string.Empty;
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[DisallowMultipleComponent]
public class Oscillator : MonoBehaviour {
[SerializeField] Vector3 movementVector = new Vector3(10f, 10f, 10f);
[SerializeField] float period = 2f;
[Tooltip("Test Tooltip DELETE Later")][SerializeFi... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Text;
using System.Runtime.InteropServices;
using Xunit;
[assembly: BestFitMapping(true, ThrowOnUnmappableChar = true)]
[StructLayout(LayoutKind.Sequent... |
/*
* Lyzard Modeling and Simulation System
*
* Copyright 2019 William W. Westlake Jr.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\dxgi.h(321,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("aec22fb8-76f3-4639-9be0-28eb43a67a2e"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IDXGIObject
{
... |
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using WebApp1.Models;
namespace WebApp1.Controllers
{
[Authorize]
public class ManageController : Control... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
namespace osu.Game.Skinning
{
/// <summary>
/// The type of legacy font to use for <see cref="LegacySpriteText"/>s.
/// </summary>
publ... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Identity;
using PierresInventory.Models;
using System.Threading.Tasks;
using PierresInventory.ViewModels;
using System.Security.Claims;
namespace PierresInventory.Controllers
{
public class AccountController : Controller
{
private readonly PierresInven... |
using Abp.MultiTenancy;
using System;
namespace Abp.ZeroCore.SampleApp.Core
{
public class Tenant : AbpTenant<User>
{
protected Tenant()
{
}
public Tenant(Guid id, string tenancyName, string name)
: base(id, tenancyName, name)
{
}
}
} |
using GroupDocs.Viewer.UI;
using GroupDocs.Viewer.UI.Core;
using GroupDocs.Viewer.UI.Middleware;
using Microsoft.AspNetCore.Routing;
using System;
using System.Collections.Generic;
using System.Linq;
using Options = GroupDocs.Viewer.UI.Configuration.Options;
namespace Microsoft.AspNetCore.Builder
{
public static c... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
#if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX
#else
#if CORE
namespace HelixToolkit.SharpDX.Core
#else
namespace HelixToolkit.UWP
#endif
#endif
{
public static class AtomicHelper
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WX.Model.ApiRequests
{
/// <summary>
/// 获取接口分析分时数据(getinterfacesummaryhour)
/// </summary>
public class DatacubeGetInterfaceSummaryHourRequest : DatacubeGetInterfaceRequest
{
protected overrid... |
using ClientLogic;
using ClientLogic.DataAccess;
using ClientLogic.Model;
using ClientLogic.ViewModel;
using ClientLogic.WinRT;
using IsItNiceGUI.Data;
using Microsoft.Live;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collection... |
namespace MyDAL
{
/// <summary>
/// 用于 update 语句 set 字段,以生成 SQL 如: table.column1=table.column1+num ... ...
/// </summary>
public enum ChangeEnum
{
/// <summary>
/// +
/// </summary>
Add,
/// <summary>
/// -
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.C... |
using System;
using Thinktecture.IdentityServer.Core.Configuration;
using Thinktecture.IdentityServer.WsFed.Services;
namespace Thinktecture.IdentityServer.WsFed.Configuration
{
public class WsFederationPluginOptions
{
PluginConfiguration _dependencies;
public WsFederationPluginOptions(Plugin... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.InteropServices;
partial struct Cli... |
/******************************************************************************/
/* This source, or parts thereof, may be used in any software as long the */
/* license of NostalgicPlayer is keep. See the LICENSE file for more */
/* information. ... |
using Doublelives.Domain.Infrastructure;
namespace Doublelives.Domain.Sys
{
public class SysDept : AuditableEntityBase
{
public string Fullname { get; set; }
public int? Num { get; set; }
public int? Pid { get; set; }
public string Pids { get; set; }
public string S... |
using System.Linq;
using Microsoft.EntityFrameworkCore;
using SampleWeb.Data;
using SampleWeb.Services.Samples.Models;
namespace SampleWeb.Services.Samples
{
public interface ISampleDataService
{
FormWithFileViewModel GetFormWithFileViewModel();
bool ProcessFormWithFileViewModel(FormWithFileVi... |
namespace Properties_Methods_and_Extension_Methods
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class PropertiesMethodsAndExtensionMethods
{
public static void Main(string[] args)
{
... |
/* Copyright (c) 2017 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class RevokeSecurityGroupEgressRequest : APIRequest
{
public RevokeSecurityGroupEgressRequest() : base("revokeSecurityGroupEgress"... |
using Microsoft.Extensions.DependencyInjection;
using ShortDash.Core.Data;
using ShortDash.Core.Interfaces;
namespace ShortDash.Core.Services
{
public class ConfigurationKeyStoreService : IKeyStoreService
{
private readonly IServiceScopeFactory serviceScopeFactory;
public ConfigurationKeyStore... |
/*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
namespace SampleToolkit
{
public interface ISampleToolkit
{
string NotTailorable { get; set; }
string Tailorable { get; set; }
}
} |
namespace Frameplate.CQRS
{
public interface ICommandContext
{
}
} |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using priberam.Models.DAO;
namespace priberam.Migrations
{
[DbContext(typeof(Appli... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Esso.Model.Models
{
public class Category
{
public DateTime? DateUpdated { get; set; }
}
} |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.