text stringlengths 1 932k |
|---|
// This code is distributed under MIT license.
// Copyright (c) 2015 George Mamaladze
// See license.txt or http://opensource.org/licenses/mit-license.php
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using xClient.Core.MouseKeyHook.WinApi;
namespace xClient.Core.MouseKeyHook.Implement... |
using Microsoft.AspNet.Mvc.Rendering;
using Microsoft.AspNet.Razor.TagHelpers;
using Organizer.Web.ViewModels;
namespace Organizer.Web.TagHelpers
{
[HtmlTargetElement("session")]
public class SessionTagHelper : TagHelper
{
private const string ModelAttributeName = "model";
private string ... |
@model Band
@{
ViewData["Title"] = "Edit";
}
<h2>Edit</h2>
<div id="band-wrapper">
<section class="band">
<article>
<form asp-action="Edit" asp-controller="Band" asp-route-id="@Model.Id" method="POST">
<div class="row">
<label for="bandName">Band name:<... |
@page "/"
@namespace BlazorPlayGround1.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>BlazorPlayGround1</title>
<base hre... |
namespace project_manage_system_backend.Dtos
{
public class ResponseGuthubUserInfoDto
{
public string login { get; set; }
public string avatar_url { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrintPartOfASCIITable
{
class Program
{
static void Main(string[] args)
{
var firstSym = int.Parse(Console.ReadLine());
var secondSym = int.Pars... |
/*
* Ory APIs
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
* The version of the OpenAPI document: v0.0.1-alpha.71
* Contact: support@ory.sh
* Generated by: https://github.com/... |
//-----------------------------------------------------------------------------
// Runtime: 260ms
// Memory Usage: 33.5 MB
// Link: https://leetcode.com/submissions/detail/328314479/
//-----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespa... |
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.Media;
using System.Windows.Media.Media3D;
namespace WPFArcUILibrary
{
/// <summary>
/// The basic class of arc componen... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using NewLife.Log;
namespace NewLife.Reflection
{
/// <summary>程序集辅助类。使用Create创建,保证每个程序集只有一个辅助类</summ... |
/*
* Selling Partner API for Orders
*
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
*
* OpenAPI spec version: v... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2019 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using GameFramework;
using System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Emeraude.Essentials.Enumerations;
using Emeraude.Essentials.Helpers;
namespace Emeraude.Essentials.Extensions;
/// <summary>
/// Extensions for any collection types (IEnumerable, IQueryable).
/// </summary>
public... |
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Heijden.DNS;
using Org.BouncyCastle.Crypto;
using MimeKit;
using MimeKit.Cryptography;
namespace DkimVerifierExample
{
class DkimPublicKeyLocator : DkimPublicKeyLocatorBa... |
// Jeebs Rapid Application Development
// Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013
using System;
using System.Collections.Generic;
namespace Jeebs.Linq
{
/// <summary>
/// Enumerable Extensions: Filter
/// </summary>
public static class EnumerableExtensions_Filter
{
/// <inheritdoc cr... |
using System;
using NewLife;
using NewLife.Agent;
using NewLife.Log;
using NewLife.Net;
using NewLife.Remoting;
using NewLife.Threading;
using Stardust;
namespace Zero.Server
{
internal class Program
{
private static void Main(String[] args) => new MyServices().Main(args);
}
/// <summary>代理服务... |
/*
* Copyright(c) 2021 Samsung Electronics Co., Ltd.
*
* 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 ... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OpenVIII
{
public static partial class Module_main_menu_debug
{
#region Fields
private static int debug_choosedBS, debug_choosed... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace DacII.WinForms.Security
{
using DacII.Presenters;
using Accounting.Core.Security;
using Accounting.Bll;
using Accounting.Bll.Security;
using AdvancedDataGridView;
public partial class F... |
// ***********************************************************************
// Copyright (c) 2007-2015 Charlie Poole
//
// 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, ... |
@page
@using EasyAbp.CacheManagement.Localization
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@inject IHtmlLocalizer<CacheManagementResource> L
@model EasyAbp.CacheManagement.Web.Pages.CacheManagement.CacheItems.CacheItem.CreateModalModel
@{
Layout = nul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EbuyNetwork.Models
{
public class Item
{
public int id { get; set; }
public int userId { get; set; }
public string name { get; set; }
public bool isSold { get; set; }
public b... |
using RobotGame.Models.Blocks;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace RobotGame.Models
{
public class Chunk : IEnumerable<Block>
{
public const int WIDTH = 16;
public const int DEPTH = 16;
public const int HEIGHT = 256;
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace Dime.Scheduler.Sdk.Import
{
public class FilterValue : IImportRequestable
{
public FilterValue()
{
}
public FilterValue(string group, string value)
{
Group = group;
Value = val... |
// Copyright (c) Aksio Insurtech. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Aksio.CodeAnalysis.ExceptionDescriptionShouldFollowStandard;
/// <summary>
/// Represents a <see cref="DiagnosticAnalyzer"/> that requires a specific ... |
using Microsoft.CodeAnalysis.CodeRefactorings;
namespace F0.Testing.CodeAnalysis.CodeRefactorings
{
internal class CodeRefactoringTester<TCodeRefactoring> : CSharpCodeRefactoringTest<TCodeRefactoring, XUnitVerifier>
where TCodeRefactoring : CodeRefactoringProvider, new()
{
internal LanguageVersion? LanguageVersi... |
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 Bakery.Models;
namespace Bakery
{
public class Program
{
public static void Main()
{
System.Console.WriteLine(" Welcome to Pierre's bakery");
System.Console.WriteLine(" One loaf of bread is $5");
System.Console.WriteLine(" One pastr... |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation 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.Generic;
using System.IO;
using System.Text.Json;
using System.Windows;
namespace FancyZonesEdi... |
namespace FF12RNGHelper.Core
{
/// <summary>
/// Enumeration of all supported spells
/// </summary>
public enum Spells
{
Cure,
Cura,
Curaga,
Curaja,
CuraIzjsTza,
CuragaIzjsTza,
CurajaIzjsTza
}
} |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Clippit
{
public class ListItemTextGetter_fr_FR
{
priv... |
using System;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Controller : MonoBehaviour
{
//Urg that's ugly, maybe find a better way
public static Controller Instance { get; protected set; }
public Camera MainCamera;
public Camera Weapon... |
// 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.Generic;
using Microsoft.ML.Data;
namespace Microsoft.ML.TimeSeries
{
p... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Billing.WebApp.Data.Migrations
{
public partial class AddInvoiceItemsToInvoiceAndDeleteCascade : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
na... |
namespace TwitchLib.Client.Models.Builders
{
public sealed class WhisperMessageBuilder : IBuilder<WhisperMessage>, IFromIrcMessageBuilder<WhisperMessage>
{
private TwitchLibMessage _twitchLibMessage;
private string _messageId;
private string _threadId;
private string _message;
... |
using Dapper;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Procurement.Api.Data;
using Procurement.Api.Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Procurement.Api... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d10.h(800,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D10_BOX
{
public uint left;
public uint top;
public uint front;
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using Sy... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... |
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 YBlog.Core
{
public class Program
{
... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... |
//------------------------------------------------------------------------------
// 此代码版权(除特别声明或在RRQMCore.XREF命名空间的代码)归作者本人若汝棋茗所有
// 源代码使用协议遵循本仓库的开源协议及附加协议,若本仓库没有设置,则按MIT开源协议授权
// CSDN博客:https://blog.csdn.net/qq_40374647
// 哔哩哔哩视频:https://space.bilibili.com/94253567
// Gitee源代码仓库:https://gitee.com/RRQM_Home
// Gi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SamLu.Tools.Wlan_edu_Manager.GUI.Controls.WinForm
{
public delegate void ManagerPagePanelChangedEventHandler(object sender, ManagerPagePanelChangedEventArgs e);
public class ManagerPagePanelChangedEventArgs : Chan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace RevStackCore.Pattern
{
public class Service<TEntity, TKey> : IService<TEntity, TKey> where TEntity : class, IEntity<TKey>
{
protected readonly IRepository<TEntity, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TD.Security.Base
{
/// <summary>
/// RSA公钥、密钥
/// </summary>
public sealed class RSAKey
{
/// <summary>
/// 公钥,可以提供给别人
/// </summary>
public string PublicKey { get; set; ... |
@using OnlineExamPrep.WebAPI.Areas.HelpPage.ModelDescriptions
@model EnumTypeModelDescription
<p>Possible enumeration values:</p>
<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
</thead>
<tbody>
@foreach (EnumValueDescription value in Model.... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Identity.Client.Core;
namespace Microsoft.Identity.Client.Utils
{
internal static class EnumerableExtensions
{
internal st... |
// ------------------------------------------------------------------------------
// 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.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... |
/* Author: ezhex1991@outlook.com
* CreateTime: 2018-04-12 12:55:43
* Organization: #ORGANIZATION#
* Description:
*/
using UnityEditor;
using UnityEngine;
namespace EZhex1991.EZUnity.Playables
{
public class KeyframeDrawer : PropertyDrawer
{
public override void OnGUI(Rect rect... |
namespace Discount.API.Extension
{
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Npgsql;
namespace Discount.API.Extensions
{
public static class HostExtensions
... |
using System;
using System.Collections;
using netduino.helpers.Hardware;
namespace WaterHeaterController {
public class Status {
public void Display(ArrayList displayList, DS1307 clock, Schedule schedule) {
var now = clock.Get();
displayList.Add("Time: " + now.ToString("U") + "\r\n... |
using System.Globalization;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using static YukariToolBox.LightLog.ConsoleUtils;
namespace YukariToolBox.LightLog;
internal class ConsoleLogger
{
#region 控制台缓冲区
private StringBuilder _buffer = new();
#endregion
#region 控制台初始颜色
private r... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// *** 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... |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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 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;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using FinalBoostrapIntro.DAL;
using FinalBoostrapIntro.Models;
using Newtonsoft.Json;
namespace FinalBoostrapIntro.Controllers
{
public class Au... |
using FoxIDs.Models;
using ITfoxtec.Identity;
using ITfoxtec.Identity.Models;
namespace FoxIDs
{
public static class TrackKeyExtensions
{
public static JsonWebKey GetPublicKey(this TrackKeyItem trackKeyItem)
{
return trackKeyItem.Key.GetPublicKey();
}
}
} |
using System;
namespace _05.CalculateTriangleArea
{
class CalculateTriangleArea
{
static void Main()
{
double baseSide = double.Parse(Console.ReadLine());
double height = double.Parse(Console.ReadLine());
double area = TriangleArea(baseSide,height);
... |
/*
* Copyright 2020 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 "licens... |
using Examples.DDD.Anderson.ValueObjects;
namespace Examples.DDD.Anderson.Repositories
{
public interface ISensorRepository
{
MeasureValue GetData();
}
} |
//using Extensions.Enums;
using Godot;
using System;
using System.Globalization;
namespace Sulimn.Classes.Extensions.DataTypeHelpers
{
/// <summary>Extension class to more easily parse Integers.</summary>
public static class Int32Helper
{
/// <summary>Converts a boolean to integer.</summary>
... |
using System;
using System.Windows;
using System.IO;
using System.Windows.Interop;
using ManagedShell.Interop;
using CairoDesktop.Configuration;
using CairoDesktop.Common;
using System.Linq;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using System.Windows.Controls;
u... |
using FoxTunes.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FoxTunes
{
public class UpdateLibraryRatingTask : BackgroundTask
{
public const string ID = "0DA1A44E-0FEC-492B-9F57-92F402196792";
public UpdateLibraryRatingT... |
using CitizenFX.Core;
using CitizenFX.Core.Native;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PocceMod.Mod
{
public class Common : BaseScript
{
public Common()
{
EventHandlers["PocceMod:Burn"] += new Action<int>(entity => API.StartEntity... |
// 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.Generic;
using Microsoft.Extensions.Logging;
namespace Iot.Device.Common
{
/// <summary>
/// This class contains static members that ... |
namespace EdFi.SampleDataGenerator.Core.Serialization.Output.Interchanges
{
public partial class StudentAttendanceData
{
}
} |
using Dapper.Contrib.Extensions;
using NHSD.GPITF.BuyingCatalog.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
namespace NHSD.GPITF.BuyingCatalog.Models
{
#pragma warning disable CS1591
public abstract class ReviewsBase : IHasPreviousId
{
/// <summary>
/// Unique identifier of enti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _06.Sum_Reversed_Numbers
{
class Program
{
static void Main()
{
List<string> inputNumbers = Console.ReadLine().Split().ToList();
List<int> rever... |
// 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.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Horology;
using BenchmarkDotNet.Order;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Validators;
using JetBrains.Annotat... |
namespace ZeroLog.Config
{
public class AppenderDefinition
{
public string Name { get; set; }
public string AppenderTypeName { get; set; }
public dynamic AppenderJsonConfig { get; set; }
}
} |
namespace TextPersonRelationship
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace hanoi.GUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Ap... |
using System;
using System.IO;
using System.Linq;
using LiteDB;
using FluentAssertions;
using Xunit;
namespace LiteDB.Tests.Database
{
public class DeleteMany_Tests
{
[Fact]
public void DeleteMany_With_Arguments()
{
using (var db = new LiteDatabase(":memory:"))
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Assetz;
namespace Assetz.Controllers
{
public class AssetTypesController : Controller
{
private IUnitOfWorkFactory uowFactory;
private IRepository<AssetType> repository;
public AssetTypesControlle... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - TestApp</title>
<environment include="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns
{
//Singleton Pattern (not thread safe)
//The object handles its instantiation by itself.
public class SingletonUnSafeBrian
{
private static SingletonUnSafeBrian _singletonUnSafeBrian = null;
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace QuizyfyAPI.Migrations
{
public partial class AddImagetoQuiz : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ImageUrl",
table: ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace System.Diagnostics.Metrics
{
internal interface IObjectSequence
... |
using UnityEngine;
using System.Collections;
public class BulletScript : MonoBehaviour {
public float lifeTime, sparkleTime;
public int damage;
private bool dying;
private ParticleSystem ps;
// Use this for initialization
void Start () {
ps = GetComponent<ParticleSystem>();
dying = true;
}
// Update is... |
using System.Collections.Generic;
using ZigNet.Services.DTOs;
namespace ZigNet.Services
{
public interface ITestResultService
{
IEnumerable<LatestTestResultDto> GetLatest(int suiteId);
IEnumerable<LatestTestResultDto> GetLatestGrouped(int suiteId);
}
} |
#nullable enable
using System;
namespace PrimeFuncPack
{
partial class Dependency<T1, T2>
{
public Dependency<TResult1, TResult2> Map<TResult1, TResult2>(
Func<IServiceProvider, T1, TResult1> mapFirst,
Func<IServiceProvider, T2, TResult2> mapSecond)
=>
I... |
#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 System.Collections.Generic;
using ClearC... |
using SG.SubClient.GameMenu.UI.LogicFeature;
using SG.SubClient.GameMenu.UI.LogicFeature.IService;
using SG.SubClient.GameMenu.UI.LogicFeature.Service;
using SG.SubClient.GameMenu.UI.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using Syst... |
// *** 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... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.DotNet.Cli.CommandLine
{
internal class CommandOption... |
using System;
using System.Text;
using NetCore8583.Util;
namespace NetCore8583.Parse
{
public class LllbinParseInfo : FieldParseInfo
{
public LllbinParseInfo() : base(IsoType.LLLBIN,
0)
{
}
public override IsoValue Parse(int field,
sbyte[] buf,
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace ShellSquare.Witsml.Client
{
internal class GridNode : INotifyProper... |
#pragma warning disable 1591
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.17020
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code ... |
// *** 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... |
//------------------------------------------------------------------------------
// <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.... |
// 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 Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Common.Tools.NUnit;
/// <summary>
/// Contains se... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nest;
using Tests... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using FASTER.core;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace ManagedSampleCore
{
public unsafe class Functions
{
public static void RMWCompletionCallback(KeyStruct* key, In... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
namespace Tiled2Unity
{
public... |
namespace tree_walk_interpreter
{
public enum TokenType
{
// Single-character tokens.
LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE,
COMMA, DOT, MINUS, PLUS, SEMICOLON, SLASH, STAR,
// One or two character tokens.
BANG, BANG_EQUAL,
EQUAL, EQUAL_EQUAL,
GREATER, GREATER_EQUAL,
LESS... |
@{
ViewBag.Title = "Create Coupon";
}
<input type="button" id="btnCoupon" name="btnCoupon" value="Generate Coupon" />
<input type="text" id="txtGeneratedCoupon" readonly="readonly" />
<script type="text/javascript">
$(document).ready(function () {
$("#btnCoupon").click(function () {
$.aja... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.