text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace WaveFun
{
public partial class WaveForm : Form
{
public double frequency;
private Random rand = new Random();
private WaveGenerator wave;
List<double> frequencies;
List<int> keysPressed;
public WaveForm()
{
I... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Gaming.Input
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class RacingWheel : global::Windows.Gaming.Input.IGameController,globa... |
using System.Threading.Tasks;
namespace Bing.Biz.OAuthLogin.Core
{
/// <summary>
/// 获取用户信息提供程序
/// </summary>
/// <typeparam name="TUserInfoResult">授权用户信息结果</typeparam>
/// <typeparam name="TAuthorizationUserParam">授权用户参数</typeparam>
public interface IGetUserInfoProvider<TUserInfoResult, in T... |
using System;
/// <summary>
/// Limit the display of the field based on the enum value of another field
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class DatablockEnumAttribute : Attribute
{
public Enum enumValue;
public string fieldName;
public bool reverse;
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace AllInOne_blog
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{... |
@using System.Collections.Generic
@using System.Collections.ObjectModel
@using System.Web.Http.Description
@using System.Threading
@using Locations.Services.Areas.HelpPage.ModelDescriptions
@model IList<ParameterDescription>
@if (Model.Count > 0)
{
<table class="help-page-table">
<thead>
<tr><t... |
namespace LoggingExample.Services;
public interface ICounter
{
Dictionary<int, int> NumberCounter { get; set; }
void IncrementNumberCount(int requestPath);
} |
using System;
using Weborb.Reader;
namespace Weborb.Reader.JsonRPC
{
public class JsonNumberObject : NumberObject
{
private double jsonNumber;
public JsonNumberObject( double data ) : base( data )
{
this.jsonNumber = data;
}
public override Object defaultAdapt()
{
if( Math.Ro... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Sarif.Viewer.Fixes
{
internal enum FixScope
{
/// <summary>
/// Scope of fixes to be applied is in current document.
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using ContentPatcherAnimations.Framework;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using SpaceShared;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewModdingAPI.Utilitie... |
using System;
using System.Collections.Generic;
namespace Exercise_05_FootballTeamGenerator
{
public class FootballTeamGenerator
{
public static void Main()
{
ReceiveInput();
}
//Receuves input information from the console.
public static void ReceiveInput()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorldOfZero.Common
{
public enum Orientation
{
Horizontal,
Vertical
}
} |
using MongoDB.Driver;
namespace mHealthBank.MongoEF.Interfaces
{
interface IMongoTable<T> where T : class
{
IClientSessionHandle Session { get; }
IMongoCollection<T> Collection { get; }
}
} |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.Coyote.Runtime
{
/// <summary>
/// Provides a set of static methods for declaring points in the execution where interleavings
/// between operations should be explored during testing.
/// </summary>
/// ... |
using Microsoft.Maui.Platform;
namespace CommunityToolkit.Maui.Core.Views;
/// <summary>
/// Extension class where Helper methods for Popup lives.
/// </summary>
public static class PopupExtensions
{
/// <summary>
/// Method to update the <see cref="IPopup.Size"/> of the Popup.
/// </summary>
/// <param name="mau... |
// 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.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCor... |
using System.Collections.Generic;
namespace Model
{
public class Order
{
public int OrderId { get; set; }
public int ClientId { get; set; }
public Client Client { get; set; }
public decimal Iva { get; set; }
public decimal Subtotal { get; set; }
public decimal T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orchard.Data;
using Orchard.Roles.Models;
using Orchard.Roles.Services;
using Orchard.Security;
using Orchard.Specs.Hosting.Orchard.Web;
using TechTalk.SpecFlow;
namespace Orchard.Specs.Bindings {
[Binding]
public clas... |
namespace Sitecore.MediaFramework.Brightcove.Cleanup
{
using Sitecore.MediaFramework.Brightcove.Entities;
using Sitecore.MediaFramework.Brightcove.Indexing.Entities;
using Sitecore.MediaFramework.Cleanup;
public class PlaylistCleanupExecuter : CleanupExecuterBase<PlayList, PlaylistSearchResult>
{
protec... |
// 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;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax
{
internal partial class SyntaxToken
{
i... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winioctl.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... |
using J2N.Text;
using Lucene.Net.Documents;
using NUnit.Framework;
using System;
using System.Text.RegularExpressions;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Search
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. S... |
using UnityEngine;
using HutongGames.PlayMaker;
using DG.Tweening;
using UnityEngine.UI;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("DOTween")]
[Tooltip("Tweens the target's anchoredPosition to the given value, tweening only the X axis.")]
[HelpUrl("http://dotween.demigiant.com/documentatio... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
namespace MYH.ABP.Migrations
{
public partial class Initial_Migrations : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTa... |
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended.BitmapFonts;
using NodeGames.Network.Network.Messages;
namespace PongCore.Actors
{
/// <summary>
/// Class to keep the game state synchronized between machines.
/// </summary>
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Katalye.Components.Notifications;
using Katalye.Data;
using Katalye.Data.Entities;
using MediatR;
using Microsoft.EntityFrameworkCore;
using NLog;
namespace Katalye.Components.Commands.Minions
{
public static cl... |
using Obisoft.HSharp.Core.Models;
namespace Obisoft.HSharp;
public static class HtmlConvert
{
public static string SerializeHtml(HDoc Document)
{
return Document.GenerateHTML();
}
public static HDoc DeserializeHtml(string HTML)
{
var Document = new HDoc(HTML);
return Docum... |
namespace Semantity
{
using Definitions;
using Util.ArgumentMust;
public sealed class Length : PhysicalQuantity<Length>
{
public Length() : this(default(double))
{
}
public Length(double value) : this(value, Meter.Instance)
{
}
public Length(double value, Unit<Length> unit) : base(value, unit)
{... |
/*
* 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 UnityEngine;
public class CameraManager : MonoBehaviour
{
public float DampTime = 5;
public GameObject Target;
private static bool isInstantiated;
public void Awake()
{
if (!isInstantiated)
{
isInstantiated = true;
DontDestroyOnLoad(gameObject);
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// --------------------------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Script: ./scripts/cldr-list.csx
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generate... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoviesMais.RegraDeNegocio
{
public class Class1
{
}
} |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CR4Test2Popup : CR4Popup
{
public CR4Test2Popup(CR2WFile cr2w, CVariable parent,... |
using System;
using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using Common;
using Common.Log;
using JetBrains.Annotations;
using Lykke.Common.Api.Contract.Responses;
using Lykke.Common.Log;
using Lykke.Service.PayAPI.Attributes;
using Lykke.Service.PayAPI.Core.Domain.Rates;
using Lykke.Service.PayAPI... |
// ---------------------------------------------------------------------------------------------------------------------
// <copyright file="SymbolAttributeExtensions.cs" company="Justin Rockwood">
// Copyright (c) Justin Rockwood. All Rights Reserved. Licensed under the Apache License, Version 2.0. See
// LICENSE.... |
#if NET5_0_OR_GREATER
using Umbraco.Cms.Core.Notifications;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;
#else
using Our.Umbraco.GMaps.Core.Config;
using Umbraco.Core;
using Umbraco.Core.Composing;
#endif
namespace Our.Umbraco.GMaps.Core.Composing
{
#if NET5_0_OR_GREATER
public c... |
using RemoteDesktopViewer.Functionality;
using RemoteDesktopViewer.Model;
using RemoteDesktopViewer.View;
using System;
using System.Collections.ObjectModel;
namespace RemoteDesktopViewer.ViewModel
{
public class GroupManagerViewModel
{
private ConnectionGroupModel currentModel;
private Connec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LockPick : MonoBehaviour
{
[SerializeField]
int lockpickCurrentLocationIndex;
float lerpT = 0;
bool tapAnimActive;
bool reverse;
bool moveAnimActive;
[SerializeField]
bool breakAnimActive;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Rebus.Messages
{
/// <summary>
/// Message wrapper object that may contain a collection of headers and multiple logical messages.
/// </summary>
[Serializable]
public class Message
{
/// <summa... |
namespace Win.Paqueteria
{
partial class FormIngresos
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... |
// <copyright file="LoginUser.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Angular
{
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
/// <summary>
/// Defines Application User entity.
/// </... |
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Pomelo.EntityFrameworkCore.MySql.Infrastructure;
using Pomelo.EntityFrameworkCore.MySql.Tests.TestUtilities.Attributes;
using Xunit;
using Xunit.Abstractions;
namespace Pomelo.EntityFramew... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using UnityEngine;
//Wants to know when another object does something interesting
public abstract class ObserverController : MonoBehaviour
{
public abstract void OnNotify();
} |
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// InvoiceItemOpenModel Data Structure.
/// </summary>
[Serializable]
public class InvoiceItemOpenModel : AlipayObject
{
/// <summary>
/// 明... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class CardShowSrc : MonoBehaviour
{
public Image Logo;
public TextMeshProUGUI Attack, Defense, ManaCost;
public Text Description, Name;
public GameObject HideObj, HilightedObj;
[... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
// 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.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using CustomAuthorizationFailureResponse.Authorization.Requirements;
using Microso... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Общие сведения об этой сборке предоставляются следующим набором
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("Task01")]
[assembl... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
// 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.
using Newtonsoft.Json;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class CreateNewPrivateMessageResponse
{
[JsonProperty... |
// 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 Debug = System.Diagnostics.Debug;
namespace Internal.TypeSystem
{
// Functionality related to determinsti... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Mocking.DataGenerator.Generators
{
public class PhoneGenerator : RandomizerBase, IDataGenerator<string>
{
private readonly string _format;
public PhoneGenerator(string f... |
@page "{id:int?}"
@model WebApp.Areas.Game.Pages.Item.IndexModel
@{
ViewData["Title"] = "Items";
}
<!-- Breadcrumbs -->
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a asp-area="" asp-page="/Index">Home</a></li>
<li class="breadcrumb-item"><a asp-area="Game... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using INStock.Contracts;
namespace INStock.Models
{
public class ProductStock : IProductStock
{
private readonly List<IProduct> products;
public ProductStock()
{
... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using ClientDependency.Core;
using umbraco.BusinessLogic;
namespace umbr... |
// 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.
using System;
namespace osu.Game.Extensions
{
public static class EditorDisplayExtensions
{
/// <summary>
/// Get an editor formatted string (mm:... |
@page "/"
@namespace ExampleProject.Server.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ExampleProject</title>
<base hr... |
using System;
using System.Reflection;
using Harmony;
using UnityEngine;
namespace BuildingThemes.HarmonyPatches
{
public static class PatchUtil
{
private const string HarmonyId = "github.com/boformer/BuildingThemes";
private static HarmonyInstance _harmonyInstance = null;
private stat... |
namespace AElf.CrossChain
{
public class CrossChainConfigOptions
{
public string ParentChainId { get; set; }
public bool CrossChainDataValidationIgnored { get; set; } = true;
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Linq;
using System.Text;
using AdaptiveCards;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Schema;
namespace AlarmBot
{
public static class TopicViewHelpers
{
public static IMessageActivit... |
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace UnityEditor.ProGrids
{
class ScenePreferencesWindow : EditorWindow
{
internal ProGridsEditor editor;
const string k_SnapFieldControlName = "ProGridsSnapValueField";
GUIContent m_PredictiveGrid = new GUIContent("Predictive Grid", "If ena... |
using UnityEngine;
public class ButtonMovement : TouchManager {
public enum type { LeftButton, RightButton, UpButton, DownButton, ShootButton, JumpButton};
public type buttonType;
public GUITexture buttonTexture = null;
private Player thePlayer;
// Use this for initialization
void Start () {... |
namespace AutoFacDemo.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} |
@model HeaderViewModel
<header class="header">
<div class="person">
<div class="person-name">
<a href="@Model.HomeUrl">@Model.Name</a>
</div>
<div class="job-title">
@Model.JobTitle
</div>
</div>
<div class="contacts">
<div class="phone-number... |
using System;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using AlgorithmAnalysis.Common.Json;
namespace Microsoft.Extensions.Configuration.Json.Writable
{
public sealed class WritableJsonConfigurationProvider : JsonConfigurationProvider
{
private readonly JsonSerializerSetting... |
using System.Linq;
using Prism.Ioc;
using Prism.IocContainer.Wpf.Tests.Support.Mocks.Views;
using Prism.Regions;
using Xunit;
using static Prism.Container.Wpf.Tests.ContainerHelper;
namespace Prism.Container.Wpf.Tests.Regions
{
[Collection(nameof(ContainerExtension))]
public class RegionNavigationContentLoade... |
using System;
using System.Runtime.CompilerServices;
using NUnit.Framework;
using Reactive.Streams.TCK.Support;
using Reactive.Streams.TCK.Tests.Support;
namespace Reactive.Streams.TCK.Tests
{
/// <summary>
/// Validates that the TCK's <see cref="SubscriberWhiteboxVerification{T}"/> fails with nice human read... |
// 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.Collections.Concurrent;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
us... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.As... |
// *** 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;
using System.ComponentModel.DataAnnotations;
namespace CloudMedics.Domain.ViewModels
{
public class SignInModel
{
[Required(ErrorMessage = "")]
[EmailAddress(ErrorMessage = "Email Address is invalid")]
public string EmailAddress { get; set; }
public string Passwor... |
using System.Collections.Generic;
// Coded By Ali Can GÖNÜLLÜ
// alicangonullu.biz | alicangonullu@yahoo.com
// Thanks Support by Berke Kırbaş @iSnowBoy7
namespace Cosmos.System.ScanMaps;
/// <summary>
/// TR_StandardQ class. Represent TR_StandardQ keyboard layout.
/// </summary>
public class TR_StandardQ : Scan... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/* este codigo es importante recordar ya que es
el estado de atacar y no se puede olvidar
*/
public class EstadoAtacar : InstruccionesFSM //codigo estado atacar instrucciones
{
float nextFire; // metodo ... |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
using System.Drawing;
namespace IDE
{
public class ComponentDraw
{
public int DisplayListHandle;
public int Height;
public Point[] Terminals;
public string[] TerminalsString;
public int Width;
public ComponentDraw(int displayListHandle, int width, int height, in... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class RandomColorForRenderer : NetworkBehaviour
{
public Color[] colors = new Color[] { Color.red, Color.green, Color.yellow, Color.cyan, Color.blue };
[SyncVar(hook = nameof(UpdateColorRandomly))]
public ... |
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.OpenApi.Any;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace RegistryApi.Configuration
{
public static class SwaggerConfig
{
public static IServiceCollection AddSwaggerConfig(this IServiceCollection... |
#region License
/*
* Copyright 2004 the original author or authors.
*
* 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 re... |
/*******************************************************************************
* Copyright 2012-2019 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... |
using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
/// <summary>
/// Estonia
/// https://en.wikipedia.org/wiki/Public_holidays_in_Estonia
/// </summary>
public class EstoniaProvider : IPublicHolidayProvider
... |
// *** 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... |
namespace Next.Data.MongoDb
{
public interface IMongoDbSequenceStore
{
long GetNextSequence(string name);
}
} |
namespace Forum.App
{
using System;
using System.Collections.Generic;
using System.Linq;
using Forum.App.Controllers;
using Forum.App.Controllers.Contracts;
using Forum.App.Services;
using Forum.App.UserInterface;
using Forum.App.UserInterface.Contracts;
internal class MenuControll... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.open.mini.version.detail.query
/// </summary>
public class AlipayOpenMiniVersionDetailQueryRequest : IAlipayRequest<AlipayOpenMiniVersi... |
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using MyDiet.Business.IRepository;
using MyDiet.Data;
using MyDiet.Models;
using MyDiet.Models.Dtos;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyDiet.Business
{
public class ProductRepository : IProductReposi... |
// Copyright (c) Josef Pihrt. 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.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Mic... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using QUIKSharp.Converters;
namespace QUIKSharp.Tests
{
[TestFixture()]
public class QuikDateTimeConverterTests
{
public QuikDateTime... |
//------------------------------------------------------------------------------
// <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>
//--... |
using System;
using System.Numerics;
namespace From_Terabytes_to_Bits
{
public class FromTerabytesToBits
{
public static void Main()
{
double terabytes = double.Parse(Console.ReadLine());
double bites = (((((terabytes * 1024) * 1024) * 1024) * 1024) * 8);
... |
using System;
using ZyGames.Doudizhu.Model;
using ZyGames.Framework.Game.Contract;
using ZyGames.Framework.Game.Contract.Action;
using ZyGames.Framework.Game.Lang;
namespace ZyGames.Doudizhu.Script.CsScript.Action
{
public abstract class BaseAction : AuthorizeAction
{
protected BaseAction(short action... |
/*
* Tweek
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Newtonsoft.Json.Converters;
namespace Org.OpenAPITools.Client
{
/// <... |
using System;
using Newtonsoft.Json;
using StarlingBank.Utilities;
namespace StarlingBank.Models
{
/// <summary>
/// Class AddressUpdateRequest.
/// </summary>
public class AddressUpdateRequest
{
/// <summary>
/// TODO: Write general description for this method
/// </summary... |
namespace Reactive.Bindings.Interactivity
{
public abstract class TargetedTriggerAction<T> : TargetedTriggerAction
where T : class
{
public TargetedTriggerAction() : base(typeof(T))
{
}
protected new T Target
{
get { return (T)base.Target; }
... |
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using CarsManager.Application.Common.Exceptions;
using CarsManager.Application.Common.Interfaces;
using CarsManager.Application.Common.Security;
using CarsManager.Domain.Entities;
using MediatR;
using Microsoft.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using EventFlow.EventStores;
using EventFlow.EventStores.Files;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Szlem.AspNetCore... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SSW.Med_Man.MVC.Models
{
public class Patient : BaseModel
{
public string firstName { get; set; }
public string familyName { get; set; }
public string FullName
{
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Transactions;
using Microsoft.EntityFrameworkCore.Cosmos.Internal;
namespace Microsoft.EntityFrameworkCore.Cosmos.Storage.Internal;
/// <summary>
/// This is an in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.