text stringlengths 1 932k |
|---|
/*
https://www.codewars.com/kata/58cfa163c496ce8856000064/csharp
7 kyu
Custom Accessors
In this Kata you need to fill in the public 'get' and 'set' accessor bodies for the NumericAccessor class.
This simple class is meant to do several things:
Check if the value being assigned (set) is divisible by 2.
If it is, the... |
using System;
using System.ComponentModel.DataAnnotations;
using AdventureWorks.BaseDomain.Enums;
using AdventureWorks.BaseDomain.Interfaces;
using AdventureWorks.BaseDomain.CustomTypes;
namespace AdventureWorks.BaseDomain.Entities.Sales
{
public partial class BaseSalesReason : IBaseEntity
{
public int... |
namespace Vurdalakov.LoupedeckCtTool
{
partial class ResultForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... |
namespace QuizBotCore.Transitions
{
public class InvalidTransition : Transition
{
}
} |
namespace RegPetServer.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Collections.Generic;
public class Article
{
private ICollection<Tag> tags;
public Article()
{
this.tags = new HashSet<Tag>();
... |
namespace Grunt.Models.HaloInfinite
{
public class SpartanBody
{
public APIFormattedDate LastModifiedDateUtc { get; set; }
public string LeftArm { get; set; }
public string RightArm { get; set; }
public string LeftLeg { get; set; }
public string RightLeg { get; set; }
... |
//-----------------------------------------------------------------------
// <copyright file="ObjectCollisionAwarePlacementManager.cs" company="Google LLC">
//
// Copyright 2020 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in ... |
using JetBrains.Annotations;
namespace Intersect.Plugins.Helpers
{
/// <summary>
/// Partial implementation class for helpers that require a known <see cref="IPluginContext"/>.
/// </summary>
/// <typeparam name="TContext">the type of <see cref="IPluginContext"/> needed</typeparam>
public abstract... |
// 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;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.VisualStudio.ProjectSystem.Properties;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestMonsterMagic : GenericMonster {
private int tickCounter;
public Sprite[] sprites;
// Use this for initialization
void Start ()
{
SetHealth(2);
tickCounter = SetMonsterTickCounter();
}
... |
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData
// package to your project.
////#define Handle_PageResultOfT
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte
{
/// <summary>
/// 擬似乱数列
/// </summary>
public class DDRandomXorshift32 : IDDRandom
{
private uint X;
public DDRandomXorshift32(uint seed)
{
this.X = seed;
}
/// <summary>
/// 0以上2^32未満の乱数を... |
namespace ClearHl7.Codes.V240
{
/// <summary>
/// HL7 Version 2 Table 0394 - Response Modality.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0394</remarks>
public enum CodeResponseModality
{
/// <summary>
/// B - Batch.
/// </summary>
Batch,
/... |
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Services;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// A property editor to allow the individual selection of pre-defined items.
/// </summary>
[DataEditor(
Constants.PropertyEdi... |
#pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "41FFAD696057373EFC3609E508CE98FB"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改... |
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Xpo;
using DevExpress.Xpo.DB;
using DevExpress.Xpo.Helpers;
using JetBrains.Annotations;
namespace Xpand.Extensions.XAF.Xpo.ObjectSpaceExtensions{
public static partial class ObjectSpaceExtensions{
[PublicAPI]
public static void DeleteAllDat... |
namespace FsContentDialogDemo.ViewModels
{
using MLib;
using MLib.Interfaces;
using MLib.Themes;
using Settings.Interfaces;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
/// <summary>
/// ViewModel class that manages them... |
using AutoMapper;
using Health_Tec.Controllers.Presentation;
using Health_Tec.Models;
namespace Health_Tec.Mapping
{
// Convierte los objetos que vienen desde la capa
// de persistencia a objetos del Presentation Model
public class MappingProfiles : Profile
{
public MappingProfiles()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp1.GeometryModel {
public class Costs {
public int Index { get; set; }
public double SummaryCost { get; set; }
public double AreaCost { get; set; }
... |
@inject PollingService Poller
@using Opserver.Data.Dashboard
@using Opserver.Data.Elastic
@using Opserver.Data.HAProxy
@using Opserver.Data.Redis
@using Opserver.Data.SQL
@using Opserver.Controllers;
@{
var issues = Poller.GetIssues();
}
@functions
{
public string GetLink(Issue i)
{
var node = i as... |
using System;
using System.Linq;
using System.Web;
using System.Web.UI;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Owin;
using Parinya_MasterProject.Models;
namespace Parinya_MasterProject.Account
{
public partial class ResetPassword : Page
{
protected string StatusMe... |
namespace MassTransit.Transports.InMemory.Topology.Configurators
{
using InMemory.Builders;
using MassTransit.Topology;
public interface IInMemoryMessageConsumeTopologyConfigurator<TMessage> :
IMessageConsumeTopologyConfigurator<TMessage>,
IInMemoryMessageConsumeTopology<TMessage>
... |
// <copyright file="Proxy.cs" company="Quamotion">
// Copyright (c) Quamotion. All rights reserved.
// </copyright>
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Quamotion.WebDriver.Client.Models
{
/// <summary>
/// A JSON object describing a Proxy configuration.
/// </summary>
p... |
namespace Microsoft.eShopOnContainers.Services.Ordering.API
{
using AspNetCore.Http;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using global::Ordering.API.Application.IntegrationEvents;
using global::Ordering.API.Application.IntegrationEvents.Events;
using global::Ordering.API... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
using PlusCommon.Log;
using PlusGame.Contract;
using PlusGame.IO;
namespace PlusGame.Config
{
public static class GameEnvironment
{
private readonly static string configPath = "config";
... |
using System;
namespace CrossNews.Core.Model.Api
{
public interface IItem
{
int Id { get; }
ItemType Type { get; }
DateTime Time { get; }
string By { get; }
bool Dead { get; }
}
} |
using System;
using System.ComponentModel;
using System.Globalization;
using BizHawk.Common;
using BizHawk.Emulation.Common;
using Newtonsoft.Json;
namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
{
public partial class GPGX : ISettable<GPGX.GPGXSettings, GPGX.GPGXSyncSettings>
{
public GPGXSettings GetSett... |
using System.Collections.Generic;
using System.Linq;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.material;
using Unity.UIWidgets.painting;
using Unity.UIWidgets.rendering;
using Unity.UIWidgets.service;
using Unity.UIWidgets.ui;
using Unity.UIWidgets.widgets;
using Image = Unity.UIWidgets.widgets.Image;
na... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos valores de atributo para modificar la información
// asociada con un ensamblado.
[assembly: Assembl... |
using System;
using System.Collections.Generic;
using Dovetail.SDK.ModelMap.Instructions;
using Dovetail.SDK.ModelMap.Legacy;
using FChoice.Foundation.Filters;
namespace Dovetail.SDK.ModelMap
{
public interface IModelBuilder
{
IEnumerable<FieldSortMap> FieldSortMapOverrides { get; set; }
ModelData GetOne... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FacebookSharp.Winforms;
using FacebookSharp.Schemas.Graph;
using FacebookSharp.Extensions;
namespace FacebookSharp.Samples.WinFo... |
@{
ViewData["Title"] = "NanoPhotometer N120 Touch";
}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Main content -->
<section class="content">
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 c... |
namespace NowWhat.Application.Features.DocumentTypes.Queries.GetAll
{
public class GetAllDocumentTypesResponse
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
[Serializable]
/// <summary>
/// Base Packet Structure
/// </summary>
public class Packet
{
/// <summary>
/// Identifier code
/// </summary>
public short opcode;
/// <summary>
/// JSON data as String to convert further for obj... |
using System;
using Broadcast;
namespace Gaucho.Server.Test.Handlers
{
public class RecurringInputHandler : IInputHandler, IServerInitialize, IDisposable
{
private IProcessingServer _server;
private Broadcaster _broadcaster;
private ConfiguredArguments _arguments;
public Recur... |
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace PetsLostAndFoundSystem.MVC.Models.Identity
{
public class ChangePasswordFormModel
{
[Required]
[DisplayName("Current Password")]
public string CurrentPassword { get; set; }
[Required]
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using HotChocolate.Types;
#nullable enable
namespace HotChocolate.Utilities.Serialization
{
internal delegate object InputObjectFactory(
IReadOnlyDictionary<string, object> fields,
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis;
namespace ShaderGen.Metal
{
public class MetalBackend : LanguageBackend
{
public MetalBackend(Compilation compilation) : base(compilation)
{
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GISShare.Controls.Plugin.WinForm.WFNew
{
public class ComboTreeItemP : IPlugin, IPluginInfo, IEventChain, IPlugin2, ISetEntityObject, IBaseItemP_, ITextBoxItemP, ICustomizeComboBoxItemP_, ICheckedComboBoxItemP_, IComboTreeItemP
{
... |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using ET_Tool.Common.Models;
namespace ET_Tool.Business.Mappers.Transformation
{
public class DegreeToDecimalLatLongMapper : IDataMapper
{
private readonly RuntimeArgs _runtimeArgs;
public DegreeToDecimalL... |
@model PropertyValue
<div class="col-md-3">aaa
@Html.DropDownList(Model.Property.Name, Model.GetPossibleValues(), Model.Property, new { @class = "form-control" })
@Html.Condition(!string.IsNullOrEmpty(Model.Property.Description), () => "<span class=\"help-block\">" + Model.Property.Description + "</span>")
</... |
using SFA.DAS.EmployerFinance.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Provider.Events.Api.Client.Configuration;
using StructureMap;
using System.Net.Http;
using SFA.DAS.Http.TokenGenerators;
using SFA.DAS.NLog.Logger.Web.MessageHandlers;
using SFA.DAS.Provider.Events.Api.Client;
namespace SFA.DAS.EmployerFin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Komodo.Runtime
{
public class MandatoryCalibrationTrigger : MonoBehaviour
{
void Start()
{
KomodoEventManager.TriggerEvent("MandatoryHeightCalibration");
}
}
} |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
namespace Neo4jManager
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class Neo4jDeploymentsPool : Dictionary<string, INeo4jInstance>, INeo4jDeploymentsPool
{
p... |
/*
* 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 ... |
#region File Description
//-----------------------------------------------------------------------------
// CpuSkinningHelpers.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#end... |
using UnityEngine;
using System.Collections;
public class ClimbStartTrigger : MonoBehaviour {
public Transform startNode;
//This trigger starts the climb action
void OnTriggerEnter (Collider other) {
if (other.gameObject.CompareTag("Player"))
{
Climb climbScript = other.game... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.Globalization;
using System.Web;
using System.Net;
using System.IO;
namespace DiceBot
{
public abstract class DiceSite
{
public event EventHandler<RequireCaptchaEventA... |
using System;
using Microsoft.Xna.Framework;
namespace MonoDragons.Core.PhysicsEngine
{
public class RandomDirection
{
private Vector2 _direction;
public Vector2 Get()
{
if (_direction == Vector2.Zero)
ResolveRandomDirection();
return _direction... |
using UnityEngine;
using System.Collections;
using AndroidUtils;
using System.Collections.Generic;
namespace FirebaseUnityWrapper.Storage
{
public class ListResult : JavaObjectWrapper
{
public ListResult(AndroidJavaObject javaObject) : base(javaObject) { }
public IList<StorageReference> Items ... |
using cor64.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*
RDRAM_BASE_REG - 0x03F00000
0x03F0 0000 to 0x03F0 0003 RDRAM_CONFIG_REG or
RDRAM_DEVICE_TYPE_REG
0x03F0 0004 to 0x03F0 00... |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using System;
using System.Collections.Generic;
using Twilio.Base;
using Twilio.Converters;
namespace Twilio.Rest.Serverless.V1.Service.Function
{
/// <summary>
/// PLEASE NOTE that this class cont... |
using System;
namespace SudokuSolver
{
class Program
{
static bool SolveSudoku(int[,] table, int row = 0, int col = 0)
{
if (col == 9)
{
row++;
col = 0;
if (row == 9)
{
return true;
}
}
if (table[row, col] > 0)
{
return SolveSudoku(table, row, col + 1);
}
for ... |
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.VisualBasic;
nam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using BlackBoxLib;
using MaximSpa.Assets.Strings;
using MaximSpa.Utils;
namespace MaximSpa
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web A... |
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("Elevate Process")]
[assembly: AssemblyDesc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Sidekick.SitecoreResourceManager.Data.Properties.Collectors;
using Sitecore.Pipelines;
using Sitecore.Pipelines.GetAboutInformation;
namespace Sidekick.Siteco... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GenericBoxofString
{
public class Threeuple<Tfirst, TSecond, TThird>
{
public Threeuple(Tfirst firstItem, TSecond secondItem, TThird thirdItem)
{
this.First = firstItem;
this.Second = secondIte... |
// *** 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;
names... |
using System.Runtime.CompilerServices;
namespace Eneter.Messaging.Nodes.Router
{
/// <summary>
/// Functionality for routing messages to a different address.
/// </summary>
/// <remarks>
/// Router receives messages and routes them to a different preconfigured address.
/// </remarks>
[Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
using CozyMabi.WpfExe.Command;
using System.Collections.ObjectModel;
using CozyMabi.WpfExe.Model;
using CozyMabi.WpfExe.User... |
using System;
using log4net.Appender;
using log4net.Config;
using log4net.Core;
using log4net.Layout;
namespace ToolsPack.Log4net
{
public static class Log4NetQuickSetup
{
private const string DefaultPattern = "%date{HH:mm:ss,fff} [%-5level] %message [%logger{1}:%line]%newline";
/// <summary>
/// Create a p... |
using Fatec.Application.Interface;
using Fatec.Application.ViewModels;
using Fatec.CrossCutting.Models.PaginacaoHelper;
using PagedList;
using System;
using System.Web.Mvc;
namespace Fatec.Mvc.Controllers
{
[Authorize]
public class TagsController : Controller
{
private readonly ITagsAppService _ta... |
/*
* 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... |
using System;
using System.Collections.Generic;
namespace Figuras
{
class Vector2D
{
protected int x, y;
//Constructor de Vector2D
public Vector2D(int x, int y)
{
this.x=x;
this.y=y;
}
}
class Color
{
enum Name{red, blue, ... |
using System;
namespace Zenject
{
[System.Diagnostics.DebuggerStepThrough]
public class BindingId : IEquatable<BindingId>
{
Type _type;
object _identifier;
public BindingId()
{
}
public BindingId(Type type, object identifier)
{
_type = t... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input.Utilities
{
/// <summary>
/// Helper class to get Can... |
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:4.0.30319.42000
//
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
// 變更將會遺失。
// </auto-generated>
//------------------------------------------------------------------------------
names... |
using System.Linq;
namespace Colourful
{
/// <summary>
/// Utilities to crop range of values or vectors.
/// </summary>
public static class ClampHelper
{
/// <summary>
/// If the given value is less than the minimum, returns the minimum value.
/// If the given value is grea... |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Emit;
using Pchp.CodeAnalysis.Emit;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cci = Microsoft.Cci;
namespace Pchp.CodeAnalysis.Symbols
{
in... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18010
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Module12.WebAPI.Controllers
{
[Route("[controller]")]
[ApiController]
public class ExceptionController : ControllerBase
{
... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Steeltoe.Common.Hosting;
using Steeltoe.Extensions.Configuration.CloudFoundry;
namespace CloudFoundryJwtAuthentication
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
... |
using Kodestruct.Common.Data;
using Kodestruct.Wood.Properties;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Kodestruct.Wood.NDS.NDS2015.ShearWall
{
public class WoodFrameShearWallWithWoodPanel
{
public (double v, string Fastener, str... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace es.ucm.fdi.iav.rts.g02
{
public class CasillaPrioAtaque
{
private ColorTeam team;
private int influencia;
private CasillaBehaviour casilla;
public void ActualizaAtaque()
... |
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Text;
using Microsoft.CodeAnalysis.UnitTests.Formatting;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.Formatting
{
public class CSharpFormattingTestBase : FormattingTestBase
{
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Built.Grpc.Config
{
public class ConsulRemoteServiceConfig
{
public string Name { get; set; }
public string ServiceName { get; set; }
... |
using Swiddler.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Windows;
namespace Swiddler.Security
{
/// <summary>
/// Cross-process synced certificate management.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using City.Snapshot.Snapshot;
using City.UIFrames;
using Fusion;
using Fusion.Core.Mathematics;
using Fusion.Drivers.Graphics;
using Fusion.Engine.Common;
using Fusion.Engine.Frames;
using Fusion.Engine.Graph... |
/*
* LeagueClient
*
* 7.23.209.3517
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations... |
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("Sh... |
// 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.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
namespace System.Runtime.Intrinsics.X86
{
/// <summary>
/// This class provides access ... |
using System.Data;
using System.Data.SqlClient;
namespace HairSalon
{
public class DB
{
public static SqlConnection Connection()
{
SqlConnection conn = new SqlConnection(DBConfiguration.ConnectionString);
return conn;
}
}
} |
using System;
namespace NetBrain.Api.Exceptions
{
public abstract class NetBrainException : Exception
{
private readonly Response _response;
public NetBrainException(Response response)
{
_response = response;
}
public override string ToString()
=> $"{_response.StatusCode}: {_response.StatusDescrip... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Stratis.Bitcoin.Features.Miner.Interfaces;
using Stratis.Bitcoin.Features.Miner.Models;
using Stratis.Bitcoin.Features.Wallet;
using Stratis.Bitcoin.Features.Wa... |
using Sloth.Core;
using System.Collections.Generic;
namespace Sloth.Repeat
{
public class EventReader : IEventReader
{
private IEventConverter eventConverter;
private IFileAdapter fileAdapter;
public EventReader()
{
eventConverter = new EventConverter();
file... |
using UnityEngine;
namespace CameraSystem
{
public class AndroidCameraRig : MonoBehaviour, ICameraRig
{
/// <summary>
/// カメラのリセンタ.
/// </summary>
public void Recenter()
{
Debug.Log("AndroidCameraRig : Recenterしたよ");
}
public Transfo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace HaiFeng
{
class Program
{
private static string _errLog = string.Empty;
[STAThread]
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace asyncInnApp.Migrations
{
public partial class AddHotelsTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Hotels",
columns... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Plugin.Media;
using Plugin.Media.Abstractions;
using Microsoft.ProjectOxford.Vision;
using Microsoft.ProjectOxford.Vision.Contract;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using server.Model.Location;
namespace server.Model.Account
{
/// <summary>
/// Contains the data that is needed for registration
/// </summary>
public class RegInfo
{
public UserCredential UserCredInfo { ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ChainPattern
{
public interface IAsynPieceExecutor
{
void Execute(IAsynChainResult data);
bool IsDone {
get;
}
IAsynPieceResult Result {
get;
}
}
} |
using Kentico.Kontent.Management.Models.Shared;
using Kentico.Kontent.Management.Models.Subscription;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Kentico.Kontent.Management;
public partial class ManagementClient
{
/// <inheritdoc />
public async Task<IListingResponseModel<Sub... |
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
using swagger.api.config.Filters;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.IO;
namespace swagger.api.config.Models
{
/// <summa... |
using UnityEngine;
using SanAndreasUnity.Utilities;
using System.Linq;
namespace SanAndreasUnity.Behaviours
{
public class OutOfRangeDestroyer : MonoBehaviour
{
public float timeUntilDestroyed = 5;
public float range = 250;
private float timeSinceOutOfRange = 0;
void Start(... |
using System;
namespace DD4T.ContentModel.Factories
{
[Obsolete("This interface has been marked as obsolute, please use DD4T.ContentModel.Contracts.Factories.ILinkFactory instead.")]
public interface ILinkFactory : DD4T.ContentModel.Contracts.Factories.ILinkFactory
{
}
} |
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("Bi... |
using System.Web;
using System.Web.Mvc;
namespace BlipDrop
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.