text stringlengths 1 932k |
|---|
using System;
using System.Net.Http;
using FluentAssertions;
using WebApiMovieRest.Core.Extensions;
using WebApiMovieRest.Core.StartupTasks;
using WebApiMovieRest.Core.Tests.Builders;
using Xbehave;
namespace WebApiMovieRest.Core.Tests.Extensions
{
public class UrlHelperExtensionsTests
{
[Scenario]
... |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программным средством.
// Версия среды выполнения: 4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
// код создан повторно.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Text;
using System.Threading.Tasks;
using Addle.Wpf.ViewModel;
namespace RobotControl
{
public class ServoVM : ViewModelBase
{
readonly Subject<float> _valueChang... |
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Reflection;
using System.Text;
using System.Web;
namespace BasicServerHTTPlistener
{
internal class Program
{
private static void Main(string[] args)
{
//if HttpListener is not supported by th... |
using EPiServer.ServiceLocation;
using EPiServer.Shell.Security;
using Owin;
using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Epicache
{
public static class AdministratorRegistrationPage
{
private static Func<bool> _isLocalRequest = () => false;
private... |
using NBitcoin.BouncyCastle.Crypto.Parameters;
using NBitcoin.BouncyCastle.Math;
using NBitcoin.BouncyCastle.Math.EC;
using NBitcoin.BouncyCastle.Math.EC.Multiplier;
using NBitcoin.BouncyCastle.Security;
namespace NBitcoin.BouncyCastle.Crypto.Signers
{
/**
* EC-DSA as described in X9.62
*/
internal c... |
namespace Cake.Common.Solution.Project
{
/// <summary>
/// MSBuild Project Xml Element XNames
/// </summary>
internal static class ProjectXElement
{
private const string XmlNamespace = "http://schemas.microsoft.com/developer/msbuild/2003";
/// <summary>
/// Project root ele... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ArgusTV.DataContracts.Tuning
{
/// <exclude/>
public enum SignalPolarisation
{
/// <exclude/>
NotSet = -1,
/// <exclude/>
NotDefined = 0,
/// <exclude/>
LinearH =... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using FileHelpers.Events;
using FileHelpers.Helpers;
using FileHelpers.Options;
namespace FileHelpers.MasterDetail
{
/// <summary>
/// Read a master detail file, eg Orders fol... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace WebApiImport
{
public class Program
{
... |
namespace SIPSorcery.GB28181.Sys.XML
{
/// <summary>
/// 命令类型
/// </summary>
public enum CommandType
{
/// <summary>
/// 未知
/// </summary>
Unknown = 0,
/// <summary>
/// 心跳
/// </summary>
Keepalive = 1,
/// <summary>
/... |
/*
* 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 you under the Apache License, Version 2.0 (the
* "License"); you ... |
using SteviesMod.Content.Items.Consumables;
using Terraria;
using Terraria.ModLoader;
using Terraria.ObjectData;
namespace SteviesMod.Content.Tiles.Jungle
{
public class MagicFruitPlant : ModTile
{
public override void SetDefaults()
{
Main.tileValue[Type] = 810;
Main.ti... |
using System;
using System.Text;
using Microsoft.IdentityModel.Tokens;
namespace LUSVA.WebApi.Configurations
{
public class TokenServiceConfiguration
{
public string Issuer { get; set; }
public string Audience { get; set; }
public TimeSpan Expiration { get; set; }
public SigningCredentials Sign... |
/*
* 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... |
/*
* 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 You under the Apache License, Version 2.0
* (the "License"); you may... |
using System.Web;
using System.Web.Optimization;
namespace Sample.Mvc
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new Scrip... |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Xtensive.Orm.Providers;
using Xtensive.Orm.Tests.ObjectModel;
using Xtensive.Orm.Tests.ObjectModel.ChinookDO;
namespace Xtensive.Orm.Tests.Linq.Samples
{
[Category("Linq")]
public class LinqToSqlSamples : ChinookDOModel... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Project Oxford: http://ProjectOxford.ai
//
// Project Oxford SDK Github:
// https://github.com/Microsoft/ProjectOxfordSDK-Windows
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
// Per... |
using DbTool.Core;
using DbTool.DbProvider.MySql;
using DbTool.DbProvider.PostgreSql;
using DbTool.DbProvider.SqlServer;
using Microsoft.Extensions.DependencyInjection;
namespace DbTool.Test
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
servi... |
namespace PaketLoadScripts
#load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/monoandroid7.1/Microsoft.AspNetCore.Authentication.OAuth.csx" |
// 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.Globalization;
using System.Threading.Tasks;
using Microsoft.Extensions.CommandLineUtils;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.E... |
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 ERP.Dominio;
using ERP.Dominio.Gestores;
using ERP.Presentacion.ErroresCambios;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ERP.Pres... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SimpleWifi;
using SimpleWifi.Win32;
using System.Diagnostics;
using System.Net;
using System.Thread... |
// 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.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.Code... |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this li... |
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("Ke... |
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 information
// associated with an assembly.
[assembly: AssemblyTitle("Xamarin.Forms.Labs.ServiceStackSerializer"... |
/**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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 restriction, including without limitation the righ... |
using System;
using System.Collections.Generic;
namespace EZOper.NetSiteUtilities.AopApi
{
/// <summary>
/// AOP API: alipay.offline.provider.shopaction.record
/// </summary>
public class AlipayOfflineProviderShopactionRecordRequest : IAopRequest<AlipayOfflineProviderShopactionRecordResponse>
{
... |
// -------------------------------------------------------------
//
// mcachedb_update.cs
//
// Feb/02/2015
// -------------------------------------------------------------
using System;
using Memcached.ClientLibrary;
// -------------------------------------------------------------
class mcached_update
{
// --... |
using UnityEngine;
using System.Collections;
namespace UnityToolbag
{
public enum SpriteFrameAnimationResetOption
{
DontReset,
ResetIfNew,
ResetAlways
}
[AddComponentMenu("UnityToolbag/Sprite Frame Animator")]
public class SpriteFrameAnimator : MonoBehaviour
{
... |
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("Ne... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace OkonkwoOandaV20Tests.TradeLibrary
{
[TestClass]
public class TradeTests : Rest20TestsBase
{
#region Trade
[TestMethod]
public void success_place_market_order()
{
var marketOrderCreated = Results.Items.FirstOrDefa... |
@{
var attributes = new Dictionary<string, object>();
attributes.Add("type", "week");
attributes.Add("class", "text-box single-line");
if (ViewData.ModelMetadata.IsRequired)
{
attributes.Add("required", "required");
}
}
@Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue, attr... |
//------------------------------------------------------------------------------
// <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>
//--... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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... |
/*
* 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 System;
namespace BitPaySDK.Exceptions
{
public class PayoutRecipientUpdateException : PayoutRecipientException
{
private const string BitPayCode = "BITPAY-PAYOUT-RECIPIENT-UPDATE";
private const string BitPayMessage = "Failed to update payout recipient.";
protected string ApiCod... |
namespace akanevrc.TeuchiUdon
{
public interface ITeuchiUdonLeftValue
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTestBoilerplate.Services
{
public class MockBoilerplateSettingsFactory : IBoilerplateSettingsFactory
{
private readonly IBoilerplateSettings settings;
public MockBoilerplateSettings... |
using System;
namespace Dracoon.Sdk.Model {
/// <include file = "UserRequestsDoc.xml" path='docs/members[@name="fileUploadRequest"]/FileUploadRequest/*'/>
public class FileUploadRequest : CreateNodeRequestBase {
/// <include file = "UserRequestsDoc.xml" path='docs/members[@name="fileUploadRequest"]/Par... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wba.SpyshopActual.Domain.Entitys;
namespace Wba.SpyshopActual.Domain.Repositorys
{
public class ProductRepository
{
public IEnumerable<Product> Products { get; set; }
public ProductRepository()
... |
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using PnP.PowerShell.Commands.Base.PipeBinds;
namespace PnP.PowerShell.Commands.Lists
{
[Cmdlet(VerbsCommon.Move, "PnPListItemToRecycleBin")]
public class MoveListItemToRecycleBin : PnPWebCmdlet
{
[Parameter(Mandatory = true, ... |
using System.Web;
using System.Web.Mvc;
namespace UpdateMe
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
filters.Add(new RequireHttpsAttribute());
filters.Add... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
public class InGameDataManager : MonoBehaviour{
public string file = "record.json";
public Player playerData;
[SerializeField] private Text highScoreText;
public void Save(int playerF... |
namespace TrashGuy.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class schedulemodelkeyfix : DbMigration
{
public override void Up()
{
}
public override void Down()
{
}
}
} |
using System.ComponentModel.DataAnnotations;
namespace Fanda.Authentication.Repository.ViewModels
{
public class ChangePasswordViewModel
{
[Required]
[DataType(DataType.Password)]
[Display(Name = "Current password")]
public string OldPassword { get; set; }
[Required]
... |
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Mvc;
namespace RequestLog.TestApi.Controllers
{
/// <summary>
///
/// </summary>
public class CheckController : Con... |
using System;
namespace harold_project0
{
class Menu
{
static void DisplayMenu()
{
System.Console.WriteLine("Welcome to Backgammon pizza");
System.Console.WriteLine("Type an option:");
System.Console.WriteLine("1. New Order");
System.Console.Write... |
namespace NewLife.IoT.ThingModels;
/// <summary>数据集合</summary>
public class DataModels
{
/// <summary>设备编码</summary>
public String DeviceCode { get; set; }
/// <summary>数据集合</summary>
public DataModel[] Items { get; set; }
} |
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Grpc.IntegrationTesting")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Google Inc. All rights reserved."... |
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Unity.Barracuda.Compiler.Passes
{
class PreserveLayersPass : IModelPass
{
public void Run(ref Model model)
{
// outputs and memories can be queried by the user, make sure they are not removed
... |
namespace NewPlatform.Flexberry.ServiceBus.ConsoleHost
{
using System;
using System.Linq;
using ICSSoft.Services;
using NewPlatform.Flexberry.ServiceBus.Components;
using Unity;
/// <summary>
/// Консольное приложение для запуска сервисов ServiceBus.
/// </summary>
internal clas... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
/*
* 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
* di... |
using Microsoft.DotNet.PlatformAbstractions;
namespace Microsoft.DotNet.Cli.Utils
{
public class DefaultCommandResolverPolicy
{
public static CompositeCommandResolver Create()
{
var environment = new EnvironmentProvider();
var packagedCommandSpecFactory = new PackagedCom... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace LinqInfer.Data.Storage
{
public sealed class FileStorage : IVirtualFileStore
{
readonly DirectoryInfo _storageDir;
public FileStorage(DirectoryInfo storageDir)
{
_... |
/* Write a program that concatenates two text files into another text file.*/
using System;
using System.IO;
namespace _02.ConcatenateTextFiles
{
class ConcatenateTextFiles
{
static void Main(string[] args)
{
String fileName = @"..\..\FreeFile.txt";
String fileSource... |
using PlanterApp.Domain;
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace PlanterApp.Presentation.Converters
{
public class PlantSelectionConverter : IValueConverter
{
public object Convert(object value, Type targetType, o... |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código se generó a partir de una plantilla.
//
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
// Los cambios manuales en este archivo se sobrescr... |
using System.Threading.Tasks;
using ExpenseManager.Models.Entities;
using ExpenseManager.Models.UnitOfWorks;
namespace ExpenseManager.Models.Services
{
public class CompanyService : ICompanyService
{
private ICompanyUnitOfWork _companyUnitOfWork { get; }
public CompanyService(ICompanyUnitOfWork companyUnitOfWork... |
/*
* 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... |
// -----------------------------------------------------------------------
// <copyright file="DcelMesh.cs">
// Triangle.NET code by Christian Woltering, http://triangle.codeplex.com/
// </copyright>
// -----------------------------------------------------------------------
namespace DMMTriangleNet.Topology.DCEL
{
... |
// 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 System.Collections.Generic;
namespace StarkPlatform.Compiler.Stark
{
public static partial class SyntaxFacts
{
public static bool IsKe... |
/*
* Copyright (C) 2014 Mehdi El Gueddari
* http://mehdi.me
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace Improving.Highway.Data.Scope
{
using System;
public class AmbientContextSuppressor : IDisposable
{
... |
using System;
namespace _17.Cypher_Roulette
{
class cypherRulette
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
bool isReversed = false;
string mesage = String.Empty;
string previousString = String.Empty;
for (int i... |
using Markdig.Syntax;
namespace MarkConv.Nodes
{
public class MarkdownLeafBlockNode : MarkdownNode
{
public LeafBlock LeafBlock => (LeafBlock) MarkdownObject;
public MarkdownNode? Inline { get; }
public MarkdownLeafBlockNode(LeafBlock leafBlock, MarkdownNode? inline, TextFile file)
... |
/*
(c) Copyright ESRI.
This source is subject to the Microsoft Public License (Ms-PL).
Please see https://opensource.org/licenses/ms-pl for details.
All other rights reserved.
*/
using System;
using System.Windows.Input;
namespace ESRI.ArcGIS.Client.Application.Controls
{
public class CommandEventArgs : EventArgs... |
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("Ne... |
using isukces.code;
using isukces.code.interfaces;
namespace CodeGenerator
{
internal class OneArgMethodGenerator
{
public OneArgMethodGenerator(string dotnetName, string pyName, CsClass cl)
{
_cl = cl;
if (pyName == null)
pyName = dotnetName.ToLower();
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using System.Text;... |
@using System.Collections.Generic
@using System.Collections.ObjectModel
@using System.Web.Http.Description
@using System.Threading
@using PostmanDemo.Areas.HelpPage.ModelDescriptions
@model IList<ParameterDescription>
@if (Model.Count > 0)
{
<table class="help-page-table">
<thead>
<tr><th>Name<... |
@model StickerSwap.Data.Invite
<div class="alert alert-success" role="alert">
Your invite was successfully sent to @Model.EmailAddress! You'll get 2 credits as soon as they sign up!
</div> |
namespace ancient.runtime
{
public class cosh : AdvancedMathInstruction { public cosh (byte r1) : base(IID.cosh , r1) {} }
} |
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
using Microsoft.Maui.Controls.PlatformConfiguration;
using Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific;
namespace Microsoft.Maui.Controls.ControlGallery.Issues
{
#if UITEST
[NUnit.Framework.Category(Core.UITests.UI... |
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("Ma... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace BuildXL.Cache.ContentStore.Interfaces.Logging
{
/// <summary>
/// Provides logging with structure for when additional (non-message) information needs to be transmitted.
/// </summary>
public interface IStructuredLogge... |
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace IO.Swagger.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class AlbumForUserForApiContract {
/// <summary>
/// Gets or Se... |
#region copyright
// -----------------------------------------------------------------------
// <copyright file="Int32Serializer.cs" company="Akka.NET Team">
// Copyright (C) 2015-2016 AsynkronIT <https://github.com/AsynkronIT>
// Copyright (C) 2016-2016 Akka.NET Team <https://github.com/akkadotnet>
// </co... |
// This file was automatically generated by the code gen tool - do not modify.
using System ;
using scg = System.Collections.Generic ;
using sd = System.Data ;
using sds = System.Data.SqlClient ;
using sr = System.Reflection ;
using mst = Microsoft.SqlServer.Types ;
using mss = Microsoft.SqlServer.Server ;
using acr... |
using System;
namespace Lab_2_2
{
public class BeatsFactory
{
public Game CreateGame(GameType gameType, string title, double leftTeamCoef, double rightTeamCoef)
{
Game game;
switch (gameType)
{
case GameType.Dota:
game = ... |
using System;
using BEPUphysics.BroadPhaseEntries;
using BEPUutilities;
using BEPUutilities.DataStructures;
using BEPUutilities.Threading;
namespace BEPUphysics.BroadPhaseSystems.SortAndSweep
{
/// <summary>
/// Simple and standard implementation of the one-axis sort and sweep (sweep and prune) algorithm.
... |
using Juce.Core.Stats;
using Playground.Content.Stage.VisualLogic.Stats;
namespace Playground.Content.Stage.VisualLogic.Cheats.UseCases.SetShipSpeedCheat
{
public class SetShipSpeedCheatUseCase : ISetShipSpeedCheatUseCase
{
private readonly ShipStats shipStats;
private readonly StatModifier<fl... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TeamToDo.Enums
{
public enum Roles
{
FrontEndDeveloper,
NetworkEngineer,
ProjectManager,
QA,
SoftwareEngineer,
TeamLeader,
WebDeveloper
}
} |
namespace TrinketDigitalSecurity
{
partial class F_M_Two_04
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
namespace Bpmtk.Bpmn2
{
public class ComplexGateway : Gateway
{
public virtual Expression ActivationCondition
{
get;
set;
}
public override void Accept(IFlowNodeVisitor visitor)
{
visitor.Visit(this);
}
}
} |
namespace GymFitnessOlympic.View.MainForms
{
partial class FrmCheckinHoiVien
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/... |
using LinqKit;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace BlazorTable
{
internal static class Utilities
{
/// <summary>
/// Calculates Sum or Avera... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Batch.Models
{
/// <summary> Parameter group. </summary>
public partial class PoolEnableAutoScaleOptions
{
/// <summary> Initialize... |
/*
* 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... |
namespace sly.lexer.fsm
{
public class FSMNode<N>
{
internal FSMNode(N value)
{
Value = value;
}
internal N Value { get; set; }
internal int Id { get; set; } = 0;
internal bool IsEnd { get; set; } = false;
internal bool IsStart { get; set;... |
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Reflection;
using System.Threading;
namespace NewRelic.Agent.IntegrationTestHelpers.RemoteServiceFixt... |
// Copyright © 2020 EPAM Systems, Inc. All Rights Reserved. All information contained herein is, and remains the
// property of EPAM Systems, Inc. and/or its suppliers and is protected by international intellectual
// property law. Dissemination of this information or reproduction of this material is strictly forbidden... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Linq
{
public static partial class AsyncEnumerable
{
public static async Task<IEnumerable<TResult>> GroupJoinAsync<TOuter, TInner, TK... |
using Algorithms.GUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Algorithms
{
public partial class StartGui : Form
{
publ... |
using System;
namespace RouletteApi.Models
{
public class MakeBet
{
public Guid RouletteId { get; set; }
public Bet Bet { get; set; }
}
} |
using System.Threading;
using System.Net;
using System.IO;
using System.Net.Sockets;
using System.Instants;
namespace System.Dealer
{
public sealed class DealClient : IDealClient
{
private Socket socket;
private ushort port;
private IPAddress ip;
private IPHostEntry host;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.