text stringlengths 1 932k |
|---|
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Sugar : MonoBehaviour {
} |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using Lucene.Net.Index;
using Lucene.Net.Util.Mutable;
using System;
using System.Globalization;
namespace Lucene.Net.Queries.Function.DocValues
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this w... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChestInteract : MonoBehaviour {
public GameObject gabePortrait;
public GameObject gabeConcern;
public GameObject[] sceneActivatables;
private AudioSource trapNoise;
// Use this for initialization
void ... |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... |
#pragma checksum "..\..\About.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "CA298204B2E38C49C5DB364638FE3A87"
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом фа... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Bitmex.Client.Websocket.Client;
using Crypto.Websocket.Extensions.Core.Models;
using Crypto.Websocket.Extensions.Core.OrderBooks;
using Crypto.Websocket.Extensions.Core.OrderBooks.Models;
usin... |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
namespace Proffer.Storage.Tests.Stubs
{
using Proffer.Storage.Configuration;
public class GenericStoreOptionsStub : StoreOptions
{
public GenericStoreOptionsStub()
{
this.Name = "GenericStore";
this.ProviderType = "Stub";
}
}
} |
using System;
using ObjCRuntime;
using Foundation;
namespace AppKit {
public partial class NSColorPickerTouchBarItem {
// If you modify, also search for other other XM_ACTIVATED_COPY and update as well
NSObject target;
Selector action;
public event EventHandler Activated {
add {
target = ActionDispat... |
namespace Stryker.Core.Mutants
{
/// <summary>
/// Represents a single mutation on domain level
/// </summary>
public class Mutant : IReadOnlyMutant
{
public int Id { get; set; }
public Mutation Mutation { get; set; }
public MutantStatus ResultStatus { get; set; }
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
using Lucene.Net.Search.Spans;
using System.Xml;
namespace Lucene.Net.QueryParsers.Xml.Builders
{
/*
* 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 copyrigh... |
// Copyright 2016 Esri.
//
// 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 law or agreed to in writing, software ... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.UnitTests.Emit;
using Microsoft.... |
using System.Collections.Generic;
using System.Linq;
namespace BabouMail.MailGun
{
public class ApiResponse
{
public ApiResponse()
{
Errors = new List<ApiError>();
}
public bool Success => !Errors.Any();
public List<ApiError> Errors { get; set; }
}
... |
/*
* Copyright 2010-2014 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... |
/**
* SendKeysTest.cs: Test cases for SendKeys
*
* These tests can only run in ms.net one at a time.
* Since ms.net apparently hooks the keyboard to
* implement this, running two tests in a row
* makes the second test run before the hook
* of the first test is released, effectively
* hanging the keyboard. CTR... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ChatSharp
{
/// <summary>
/// A collection of IRC channels a user is present in.
/// </summary>
public class ChannelCollection : IEnumerable<IrcChannel>
{
internal ChannelCollection()
... |
namespace Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Models;
public class AddBasketItemRequest
{
public int CatalogItemId { get; set; }
public string BasketId { get; set; }
public int Quantity { get; set; }
public AddBasketItemRequest()
{
Quantity = 1;
}
} |
using BcGov.Fams3.SearchApi.Contracts.IA;
using BcGov.Fams3.SearchApi.Contracts.Person;
using System;
namespace BcGov.Fams3.SearchApi.Core.Adapters.Models
{
public class DefaultIASearchFailed : IASearchFailed
{
public DefaultIASearchFailed(Guid searchRequestId, string searchRequestKey, Person person,... |
using System;
using System.Text.RegularExpressions;
class SeriesOfLetters
{
static void Main()
{
var text = Console.ReadLine();
var regex = new Regex(@"(.)\1+");
Console.WriteLine(regex.Replace(text, "$1"));
}
} |
// FullScreenChatService
using ClubPenguin;
using ClubPenguin.Chat;
using ClubPenguin.Net;
using Disney.Kelowna.Common.DataModel;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using System.Collections.Generic;
public class FullScreenChatService : AbstractDataModelService
{
private List<FullScreenChatDa... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.Azure.Gaming.VmAgent.Core.Interfaces
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
public class ProcessWrapper : IProce... |
namespace TestApp.Models
{
public abstract class ComplexClassBase : ICompexClass
{
protected ComplexClassBase()
{
}
public long ID { get; set; }
public int Value2 { get; set; }
public long Value3 { get; set; }
}
} |
namespace BaristaLabs.Skrapr.ChromeDevTools.Page
{
using Newtonsoft.Json;
/// <summary>
/// Information about the Resource on the page.
/// </summary>
public sealed class FrameResource
{
/// <summary>
/// Resource URL.
///</summary>
[JsonProperty("url")]
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Logical Recipe for making Items in the Game
/// (contains every logical reference to it's Item components as well as the crafting station)
/// </summary>
[CreateAssetMenu]
public class CraftingRecipe : Scri... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:2.0.50727.1433
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... |
using System;
using System.Globalization;
using System.IO;
using System.Text;
using HandlebarsDotNet.Compiler.Resolvers;
using Newtonsoft.Json;
using Xunit;
namespace HandlebarsDotNet.Test
{
public class CustomConfigurationTests
{
public IHandlebars HandlebarsInstance { get; private set; }
pub... |
namespace _9.Control_Lifecycle_Catchup
{
using System;
using System.Web.UI.WebControls;
public partial class AddingDynamicControls : System.Web.UI.Page
{
protected void BtnClick(object sender, EventArgs e)
{
this.eventLog.Items.Add(new ListItem("Button Click called"));
... |
using System;
using BinarySerializer;
namespace R1Engine.Jade {
// Found in GEO_SKN_Load
public class GEO_GeometricObject_Ponderation : BinarySerializable {
public short Flags { get; set; }
public ushort PonderationListsCount { get; set; } // BonesCount
public VertexPonderationList[] PonderationLists { get; s... |
@*DocSection:RgbViewModel*@
@using Kentico.Forms.Web.Mvc
@using LearningKit.FormBuilder
@model LearningKit.FormBuilder.FormComponents.RgbInputComponent
@* Gets a collection of system HTML attributes necessary for the correct functionality of the component input fields *@
@{
IDictionary<string, object> htmlAttri... |
using System;
using Xamarin.Forms;
namespace FancyButtonTest
{
public class FancyButton : View
{
string _Title = "Title";
string _SubTitle = "SubTitle";
Image _Icon = new Image();
public FancyButton () { }
public string Title {
get { return _Title; }
set { _Title = value; }
}
public string Sub... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
using pb = global::Google.ProtocolBuffers;
using pbc = global::Google.ProtocolBuffers.Collections;
using pbd = global::Google.ProtocolBuffers.Descriptors;
using scg = global::System.Collections.Generic;
namespace Google.ProtocolBuffers.TestProtos {
publi... |
class AddressOfOperator
{
static void Main()
{
int number;
unsafe
{
// Assign the address of number to a pointer:
int* p = &number;
// Commenting the following statement will remove the
// initialization of number.
*p = 0xfff... |
#if WORKINPROGRESS
#if MIGRATION
namespace System.Windows.Automation
#else
namespace Windows.UI.Xaml.Automation
#endif
{
//
// Summary:
// Contains values used as automation property identifiers specifically for properties
// of the System.Windows.Automation.Provider.IMultipleViewProvider pattern.
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CreateBoard : MonoBehaviour
{
[SerializeField] List<BoardTemplate> boardTemplates = new List<BoardTemplate>();
public int boardTemplateindex=0;
SpriteRenderer verticalSprite,horizontalSprite,emptyboxSprite;
... |
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Web;
namespace BasicServerHTTPlistener
{
internal class Program
{
private static void OriginalMain(string[] args)
{
//if HttpListener is not supported by the Framework
if (!HttpListener.Is... |
using NUnit.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Tizen.NUI.BaseComponents;
using Tizen.NUI.Binding;
namespace Tizen.NUI.Components.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[NUnit.Framework.Description("Controls/RecyclerVi... |
using Microsoft.Xna.Framework.Input;
using StardewValley;
namespace ObjectProgressBars
{
public class Configuration
{
public InputButton ToggleDisplay
{
get;
set;
} = new InputButton((Keys)80);
public bool DisplayProgressBars
{
get;
... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Graphics.Canvas;
using System.Numerics;
using Windows.Foundation;
namespace Chubosaurus
{
/// <summary>
/// The GenericItem is the basic building block of a Scene.
/// </summary>
public class GenericItem
{
... |
using System;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Data.Entity.Migrations;
namespace Luma.SmartHub.Web.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PropertyObserving
{
abstract class DelegateInvocationProxy
{
public abstract void Invoke(object value1, object value2);
public abstract void Add(Delegate right);
public abstract void Subtract(Delegate right);... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dwrite_3.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
p... |
namespace FunctionalTests.fixtures
{
using FunctionalTests.fixtures.Migrations;
using System.Data.Entity;
class BloggingInitializer
: DropAndMigrateDatabaseToLatestVersion<BloggingContext, Configuration>
{
public BloggingInitializer()
{
}
public override void S... |
using System.Threading;
using System.Threading.Tasks;
using FinanceControl.IntegrationMessages;
using FinanceControl.Services.Users.Application.Messages.DomainEvents;
using FinanceControl.Services.Users.Domain.Extensions;
using FinanceControl.Services.Users.Infrastructure.Extensions;
using FinanceControl.Services.User... |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using Newtonsoft.Json;
using osu.Framework.IO.Network;
namespace osu.Game.Online.API
{
public class RegistrationRequest : WebRequest
{
internal string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AdventOfCode.Solutions.Year2020
{
class Day21 : ASolution
{
static Dictionary<string, HashSet<string>> all2ings = new Dictionary<string, HashSet<string>>();
List<string> inglist = new List<string>()... |
using ChartJs.Blazor.ChartJS.Common.Enums;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace ChartJs.Blazor.ChartJS.Common
{
/// <summary>
/// Represents a dataset containing a collection of values.
/// </summary>
... |
/*
* 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... |
/*
Copyright (c) 2017 LinkedIn Corp.
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 law or agreed t... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
using Microsoft.VisualStudio.Language.StandardClassification;
using System.Windows.Media;
namespace SassyStudio.Scss.Cla... |
namespace OCDSApi.Models
{
public class HardCopyCost
{
public double amount { get; set; }
public string currency { get; set; }
}
} |
/*
* 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... |
using UnityEngine;
using System.Collections;
using MoreMountains.Tools;
using System.Collections.Generic;
namespace MoreMountains.Tools
{
[CreateAssetMenu(fileName="AchievementList",menuName="MoreMountains/Achievement List")]
/// <summary>
/// A scriptable object containing a list of achievements. You need to crea... |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using ClearCanvas.Common;
using ClearCanvas.De... |
using Newtonsoft.Json;
namespace Fitbit.Models
{
public class BestTotals
{
[JsonProperty("caloriesOut")]
public CaloriesOutStats CaloriesOut { get; set; }
[JsonProperty("distance")]
public DistanceStats Distance { get; set; }
[JsonProperty("floors")]
public Flo... |
using System;
using Public.Common.Lib.Code.Logical;
namespace Public.Common.Lib.Code
{
/// <summary>
/// Holds property values for important details about a project, including GUID, naming info, language, and project type.
/// </summary>
/// <remarks>
/// This class is dumb data. The functionali... |
using System;
namespace CipherManager.Core
{
public class FileIdentificationException : CipherFileException
{
public FileIdentificationException() : base("文件标识错误,该文件不被CipherManager支持")
{
}
}
} |
using System;
using NetOffice;
namespace NetOffice.MSHTMLApi.Enums
{
/// <summary>
/// SupportByVersion MSHTML 4
/// </summary>
[SupportByVersionAttribute("MSHTML", 4)]
[EntityTypeAttribute(EntityType.IsEnum)]
public enum _htmlMarqueeBehavior
{
/// <summary>
/// SupportByVersion MSHTML 4
/// </summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace KilyCore.WEB.Areas.SysManage.Controllers
{
[Area("SysManage")]
public class NewsController : Controller
{
public IActionResult NewsCenter()
{
... |
using System;
using System.Collections;
using DCL;
using DCL.Components;
using DCL.Helpers;
using DCL.Models;
using NSubstitute;
using NSubstitute.ReceivedExtensions;
using Tests;
using UnityEngine;
using UnityEngine.TestTools;
using Assert = UnityEngine.Assertions.Assert;
using Object = UnityEngine.Object;
public cla... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Assert = UnityEngine.Assertions.Assert;
namespace CameraOperator.Tool
{
public class NewTestScript
{
[Test]
public void PathCalculatingTest()
{
... |
using System;
using System.Linq;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using UniversitasApp.Models;
using UniversitasApp.Controllers;
namespace UniversitasApp.CRUD
{
public sealed class ClientCRUD
{
public static List<Client> ReadAl... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System.Diagnostics;
namespace WalletService.Service.Pages
{
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public class ErrorModel : PageModel
{
... |
using System;
using System.Collections.Generic;
using Domain;
using FluentValidation;
namespace MovieService.Model
{
public class MovieModel
{
public Guid MovieId { get; set; }
public string Title { get; set; } = null!;
public string Plot { get; set; } = null!;
public int Runti... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Tokenattributes;
namespace NuG... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-edition... |
// Copyright (C) 2015-2021 The Neo Project.
//
// The neo is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and bi... |
namespace SparkPostFun.Analytics;
public record EngagementDetailsResponse
{
public IList<EngagementDetailsResponseResult> Results { get; init; } = new List<EngagementDetailsResponseResult>();
} |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using CMS;
// Ensures that the Kentico API can discover and work with custom classes/components registered in the MVC web project
// Placed into a separate class because AssemblyInfo.cs cannot access code from external libraries in cases where
// the web project is precompiled with outputs merged into a single assembl... |
using RogueSharp.Random;
using System.Collections.Generic;
namespace RogueSharp.DiceNotation.Terms
{
/// <summary>
/// The ConstantTerm class represents a constant value in a DiceExpression
/// </summary>
/// <remarks>In the expression "2d6+5" the integer "5" is a ConstantTerm</remarks>
public cla... |
// 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;
using System.Threading;
/// <summary>
/// System.Threading.Interlocked.CompareExchange(ref object,obj... |
using System;
using UnityEngine;
using System.IO;
namespace UnityStandardAssets.CinematicEffects
{
[ExecuteInEditMode]
[RequireComponent(typeof(Camera))]
[AddComponentMenu("Image Effects/Cinematic/Stylistic Fog")]
#if UNITY_5_4_OR_NEWER
[ImageEffectAllowedInSceneView]
#endif
public class StylisticF... |
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using EventStore.ClientAPI;
using NUnit.Framework;
namespace EventStore.Core.Tests.ClientAPI
{
[TestFixture, Category("LongRunning")]
public class connect_to_existing_persistent_subscription_with_start_from_beginning_not_se... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DialogActivator : MonoBehaviour {
public string[] lines;
private bool canActivate;
public bool isPerson = true;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void... |
using System.Collections;
using UnityEngine;
namespace Enemies
{
public class EnemyRanged : Enemy
{
[Header("Spell Parameters")]
[SerializeField] private float shootDelay = 2.0f;
[SerializeField] private GameObject projectilePrefab;
[SerializeField] private Transform shootPosit... |
// 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;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
using Microso... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Playback
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class MediaPlaybackCommandManag... |
namespace WinTail
{
public class Messages
{
#region Neutral/system messages
public class ContinueProcessing {}
#endregion
#region Success messages
public class InputSuccess
{
public InputSuccess(string reason)
{
Reason = r... |
namespace EasyCaching.Bus.Redis
{
using EasyCaching.Core;
using EasyCaching.Core.Bus;
using EasyCaching.Core.Serialization;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
/// <s... |
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace Framework.Model.Data {
public interface IUnitOfWork {
Task<EntityResult> SaveAsync(CancellationToken cancellationToken = default(CancellationToken));
Task<EntityResult> SaveAsync(DbTransaction transaction, Ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Interpreter.Value
{
public class Map : IValue, ICallable
{
private readonly Dictionary<IValue, IValue> items = new Dictionary<IValue, IValue>();
public Invocation Call => _call;
public in... |
namespace FreeTime.Application.Common.Interfaces
{
public interface ICurrentUserService
{
int userId { get; }
}
} |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
// PInvokeMap is an enum that defines the PInvoke attributes. ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using LVIDiagnosticConcordanceStudy.Areas.Identity.Data;
using LVIDiagnosticConcordanceStudy.Data.Repository;
using LVIDiagnosticConcordanceStudy.Infrastructure.Specifications;
using Microsoft.AspNetCore.Identity;
using Microsoft.... |
// <copyright file="HybridMCTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of thi... |
/*
* MundiAPI.PCL
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Conv... |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
@model TicketingSystem.Web.Areas.Admin.Models.CategoryEdit
@{
ViewBag.Title = "Edit";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h3>@Model.Name</h3>
<hr />
@Html.ValidationSummary(true, "", new { @class = "te... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using ... |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/freepublish/getarticle 接口的请求。</para>
/// </summary>
public class CgibinFreePublishGetArticleRequest : WechatApiRequest
{
/// <summary>
/// 获... |
namespace Cuture.AspNetCore.ResponseCaching
{
/// <summary>
/// 可以转换为缓存Key
/// </summary>
public interface ICacheKeyable
{
#region Public 方法
/// <summary>
/// 作为缓存Key
/// </summary>
/// <returns></returns>
string AsCacheKey();
#endregion Pub... |
// File: OrderingException.cs
// Copyright (c) 2018-2019 Maksym Shnurenok
// License: MIT
using System;
namespace Marketplace.Services.Ordering.Exceptions
{
/// <summary>
/// Ordering exception class
/// </summary>
/// <seealso cref="System.Exception" />
public class OrderingException : Exception
... |
using System.Linq;
using System.Runtime.InteropServices;
using PagarMe.Mpos.Tms;
namespace PagarMe.Mpos.Entities
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct Application
{
public int PaymentMethod;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 100)] public... |
using NetWork.Utilities;
using ProtoBuf;
using System;
namespace Package
{
[ForRecv(532), ForSend(532), ProtoContract(Name = "KickMemberRes")]
[Serializable]
public class KickMemberRes : IExtensible
{
public static readonly short OP = 532;
private long _roleId;
private IExtension extensionObject;
[Proto... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenIZ.Core.Model.Constants;
using OpenIZ.Core.Model.DataTypes;
using OpenIZ.Core.Model.Entities;
using OpenIZ.Core.Security;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Principal;
using System.Text;... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.9
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.