text stringlengths 1 932k |
|---|
using System;
using Jotunn.Configs;
using Jotunn.Managers;
using UnityEngine;
namespace Jotunn.Entities
{
/// <summary>
/// Main interface for adding custom pieces to the game.<br />
/// All custom pieces have to be wrapped inside this class to add it to Jötunns <see cref="PieceManager"/>.
///... |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using System.Diagnostics;... |
using Microsoft.AspNetCore.Http;
using NetModular.Lib.Utils.Core.Attributes;
namespace NetModular.Lib.Utils.Mvc.Helpers
{
/// <summary>
/// IP帮助类
/// </summary>
[Singleton]
public class IpHelper
{
private readonly IHttpContextAccessor _contextAccessor;
public IpHelper(IHttpCon... |
/*
* 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.Numerics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MuParserSharp.Framework;
using MuParserSharp.Parser;
namespace MuParserSharp.Tests
{
[TestClass]
public class IssueReportTests
{
// Issue 68 (and related issues):
[TestMethod]
[DataRow("(abs(-3)+2)>=mi... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using Syste... |
using System.Buffers;
using System.Runtime.CompilerServices;
namespace DanmakuR.Protocol.Buffer
{
/// <summary>
/// 从<see cref="ArrayPool{T}"/>租用缓冲区
/// </summary>
public ref struct RentBuffer
{
private byte[]? buff = null;
public RentBuffer()
{
}
public byte[] Buff
{
[MethodImpl(MethodImplOpti... |
//
// Copyright (c) LightBuzz Software.
// All rights reserved.
//
// http://lightbuzz.com
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright
/... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class AndroidRuntimeSettings : ModuleRules
{
public AndroidRuntimeSettings(TargetInfo Target)
{
BinariesSubFolder = "Android";
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject"
... |
using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
namespace AddIn
{
internal class Notify
{
private readonly UserBalloonTipEvent _userBalloonTipClickedEvent;
private string _title;
private NotifyIcon _notifyIcon;
internal Notify(UserBallo... |
using StellarDoor.SOCollection;
using UnityEditor;
using UnityEngine;
namespace StellarDoor.SOCollection
{
[CustomEditor(typeof(_SONAME_Manager), true)]
public class _SONAME_ManagerEditor : SOCollectorEditor<_SONAME_>
{
}
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Управление общими сведениями о сборке осуществляется с помощью
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("chessWindow")]
[as... |
using System;
class ReverseNumber
{
static void Main()
{
Console.Write("Please enter a decimal number you want to reverse: ");
string number = Console.ReadLine();
decimal reversedNum = ReverseDigits(number);
Console.WriteLine(reversedNum);
}
static decimal ReverseDigit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Linq.Expressions;
using Abp.Linq.Extensions;
namespace Abp.Notifications
{
/// <summary>
/// Impl... |
using Microsoft.CodeAnalysis;
using System.Collections.Generic;
using System.Reflection;
namespace RazorLight.Compilation
{
public interface IMetadataReferenceManager
{
IReadOnlyList<MetadataReference> Resolve(Assembly assembly);
HashSet<MetadataReference> AdditionalMetadataReferences { get; }
}
} |
using SFA.DAS.PSRService.Domain.Enums;
namespace SFA.DAS.PSRService.Domain.Entities
{
public class Question
{
public string Id { get; set; }
public string Answer { get; set; }
public bool Optional { get; set; }
public QuestionType Type { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Tailviewer.Api;
using Tailviewer.Core;
namespace Tailviewer.Acceptance.Tests.BusinessLogic.Sources.Text.Simple
{
[TestFixture]
public sealed cla... |
namespace _01.Shellbound
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Shellbound
{
public static void Main()
{
var reginonAndShellSize = Console.ReadLine();
var result = new Dictionary<string, List<int>>();
w... |
@using System.Linq
@using AutoRest.Core.Utilities
@inherits AutoRest.Core.Template<AutoRest.NodeJS.Azure.Model.CodeModelJsa>
/*
@Header(" * ")
*/
@EmptyLine
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
@EmptyLine
'use strict';
@EmptyLine
var msRestAzure = require('ms-rest-azure');
@E... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using EventStore.ClientAPI;
using EventStore.ClientAPI.Projections;
using EventStore.ClientAPI.Common.Log;
using EventStore.ClientAPI.SystemData;
using Event... |
using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.Blockchain.Analysis.Clustering;
using WalletWasabi.Blockchain.TransactionOutputs;
using WalletWasabi.Wallets;
namespace WalletWasabi.Blockchain.Transactions
{
public class TransactionHistoryBuilder
{
public Transa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EhTagClient;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding;
// For more information on enabling MVC for empty projects, visit https://go.mic... |
// ***********************************************************************
// <copyright file="JsonDataProvider.cs" company="Alchiweb.fr">
// Copyright MIT License / 2015 Alchiweb.fr
// </copyright>
// <summary>
// Added by CategoriesForAppStudio
// Created by Hervé PHILIPPE
// alchiweb@live.fr / alchiw... |
using System;
using Chromium;
using Chromium.Event;
using Neutronium.Core.WebBrowserEngine.JavascriptObject;
using Neutronium.Core.WebBrowserEngine.Window;
using Neutronium.WebBrowserEngine.ChromiumFx.EngineBinding;
namespace Tests.ChromiumFX.Infra
{
internal class FakeHTMLWindow : IWebBrowserWindow
{
... |
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("Di... |
using AXmlPoConverter.AXml;
using AXmlPoConverter.Convertion;
using AXmlPoConverter.Po;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace... |
//------------------------------------------------------------------------------
// <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.Collections.Generic;
using System.Text;
namespace GenericEntity.Abstractions
{
public interface IJsonValueProvider
{
string GetString();
int GetInteger();
}
} |
/*
* 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... |
namespace Classbook.Data.Configurations
{
using Classbook.Data.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class SchoolYearConfiguration : IEntityTypeConfiguration<SchoolYear>
{
public void Configure(EntityTypeBuilder<SchoolYe... |
using System.Data.Entity.Migrations;
namespace EPiServer.Vsf.DataAccess.Migrations
{
public partial class AddRefreshTokenStore : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.AspNetRefreshTokens",
c => new
{
... |
@model WebApplication1.Models.ManageLoginsViewModel
@using Microsoft.Owin.Security
@{
ViewBag.Title = "Manage your external logins";
}
<h2>@ViewBag.Title.</h2>
<p class="text-success">@ViewBag.StatusMessage</p>
@{
var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes();
... |
namespace Paragraff.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class messagetouser : DbMigration
{
public override void Up()
{
AddColumn("dbo.Messages", "ToUserId", c => c.String(nullable: false, maxLength: 128));
Crea... |
/*
* Copyright (c) Contributors, http://whitecore-sim.org/, http://aurora-sim.org
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CurrentWeatherCodeCUSI.Models
{
public class CurrentWeatherModel
{
public Weather[] weather { get; set; }
public Main Main { get; set; }
public int dt { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BizTalkFactory.Management.Automation;
using System.Drawing;
using BTFGui.Enums;
namespace BTFGui.ObjectModel
{
public class HostInstance
{
public bool Selected { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Sql
{
public partial class AzureSqlDbExportTask : ExternalProcessTaskBase<AzureSqlDbExportTask>
{
/// <summary>
... |
/*
* 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... |
namespace AngleSharp.Css.Values
{
using AngleSharp.Css;
using AngleSharp.Extensions;
using System;
/// <summary>
/// Represents an absolute length value.
/// </summary>
public struct Length : IEquatable<Length>, IComparable<Length>, IFormattable
{
#region Basic lengths
... |
namespace Osls.Plants.RoadConstructionSite
{
public static class SpawnTimeGenerator
{
#region ==================== Fields / Properties ====================
/// <summary>
/// Must be a prime number to generate all numbers from 0 to SpawnModulator
/// </summary>
private con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GUC.Scripts.Arena.GameModes.BattleRoyale
{
partial class BRMode : GameMode
{
new public static bool IsActive { get { return GameMode.IsActive && GameMode.ActiveMode is BRMode; ... |
// This software is part of the Autofac IoC container
// Copyright © 2011 Autofac Contributors
// http://autofac.org
//
// 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
// restrict... |
#pragma checksum "D:\CodingWork\Projects\NongMinGoProject\SimplCommerce\src\Modules\SimplCommerce.Module.PurchaseForm\Areas\PurchaseForm\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Micro... |
using System;
using System.Collections.Generic;
using System.IO;
namespace StepmaniaServer
{
/// <summary>
/// packet sent to the client by the server to check whether the client is still connected properly
/// </summary>
class SMServerPing : Packet
{
private int _length;
private ... |
namespace FactoryGirl.NET.Specs
{
class Dummy
{
public const int DefaultValue = 1;
public Dummy() {
Value = DefaultValue;
}
public int Value { get; set; }
}
} |
using System;
using System.Xml.Serialization;
namespace Niue.Alipay.Domain
{
/// <summary>
/// DiagnoseResult Data Structure.
/// </summary>
[Serializable]
public class DiagnoseResult : AopObject
{
/// <summary>
/// 提示文案业务参数,JSON对象形式返回,JSON的KEY包含tradeCycle,userRate,industryRate... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConvenientHanYoung
{
class RegistryUtil
{
private const string APP_NAME = "ConvenientHanYoung";
private const string START_WITH_REGISTRY_KEY = "SOFTWARE\\Microsoft\\Win... |
@model EasyPTC.Web.ViewModels.VerifyCodeViewModel
@{
ViewBag.Title = "Verify";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
@Html.AntiForgeryToken()
@Html.Hidden("prov... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Print_a_Deck
{
class Program
{
static void Main(string[] args)
{
}
}
} |
using FlowScriptEngine;
using System.Collections.Generic;
using System.Linq;
namespace FlowScriptEnginePPDEditor.FlowSourceObjects.Mark.ParameterPreset
{
[ToolTipText("Mark_ParameterPreset_Value_Summary")]
public partial class ValueFlowSourceObject : FlowSourceObjectBase
{
public override string N... |
namespace SamirBoulema.TSVN.Options
{
partial class OptionsDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
/*
* Copyright 2019 pixiv Inc. All Rights Reserved.
*
* Use of this source code is governed by a license that can be
* found in the LICENSE.pixiv file in the root of the source tree.
*/
using Pixiv.Webrtc;
using System.Runtime.Serialization.Json;
namespace Pixiv.Sora
{
internal sealed class SetLocalDescri... |
/*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using Microsoft.DotNet.XUnitExtensions;
using Xunit;
namespace System.Drawing.Tests
{
... |
//this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class Nova_DialogueBoxController_DialogueUpdateModeWrap
{
public static void Register(LuaState L)
{
L.BeginEnum(typeof(Nova.DialogueBoxController.DialogueUpdateMode));
L.RegVar("Overwrite", get_Overwrite, ... |
using Assets.Scripts.Binding;
using Moq;
using NUnit.Framework;
using System;
using System.Globalization;
namespace Assets.Test.Scripts.Binding
{
[TestFixture]
class OnWayConverterTest
{
private OneWayValueConverter<int, double> _subject;
[SetUp]
public void SetUp()
{
... |
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using UnityEngine;
namespace EvaFuel
{
[KSPAddon(KSPAddon.Startup.MainMenu, false)]
public class EVAFuelGlobals : MonoBehaviour
{
public static bool changeEVA... |
using System;
using System.Data;
using NUnit.Framework;
using Paramol.SqlClient;
namespace Paramol.Tests.SqlClient
{
[TestFixture]
public class TSqlBinaryNullValueTests
{
private TSqlBinaryNullValue _sut;
private TSqlBinarySize _size;
[SetUp]
public void SetUp()
{
... |
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace ShortestPath.models
{
/// <summary>
/// A .csv file graph reader
/// </summary>
public class GraphReader
{
/// <summary>
/// .csv row pattern
/// </summary>
private static readonly Regex ... |
using ILGPU.Runtime;
using System;
using System.Collections.Immutable;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using Xunit;
using Xunit.Abstractions;
using static ILGPU.Tests.EnumValues;
#pragma warning disable CA1814 // Prefer jagged arrays over multidimension... |
using System;
using System.Diagnostics;
using System.Threading;
namespace TestProcessChild
{
class Program
{
static void Main(string[] args)
{
while (true)
{
Thread.Sleep(1000);
Console.WriteLine($"Child[{Process.GetCurrentProcess().Id}]:... |
using System;
using HarmonyLib;
using Verse;
namespace ActiveTerrain
{
// Token: 0x02000006 RID: 6
[HarmonyPatch(typeof(TerrainGrid), "RemoveTopLayer", null)]
internal static class __TerrainGrid
{
// Token: 0x0600000F RID: 15 RVA: 0x0000243C File Offset: 0x0000063C
[HarmonyPriority(600)]
private static void... |
/*
* Payment Gateway API Specification.
*
* The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
*
* The version of the OpenAPI document:... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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:... |
@model IdentitySample.Models.Reserva
@{
ViewBag.Title = "Datalhes";
}
<h2>Datalhes</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Reserva</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<div c... |
namespace Assets.Src.Game.Pers
{
using UnityEngine;
public class ManAnimator : MonoBehaviour
{
public Animator anim;
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.Q))
{
Debug.Log("Q");
... |
// ReSharper disable once CheckNamespace
namespace System
{
public interface ICloneable<out T>
{
T Clone();
}
} |
using Alabo.Dependency;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Alabo.RestfulApi.Clients {
public interface IHttpClient : IScopeDependency {
/// <summary>
/// Get类型请求,同步方法
/// </summary>
/// <param name="apiUrl"></param>
/// <param na... |
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("Ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using ... |
// 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
/... |
@using TokenValidationService.Areas.HelpPage.ModelDescriptions
@model ComplexTypeModelDescription
@Html.DisplayFor(m => m.Properties, "Parameters") |
using FluentValidation;
using FluentValidation.Validators;
using AdventureWorks.BaseDomain.Enums;
using AdventureWorks.BaseDomain.Interfaces;
using AdventureWorks.BaseDomain.CustomTypes;
namespace AdventureWorks.Application.DataEngine.Purchasing.Vendor.Commands.UpdateVendor
{
public partial class UpdateVendorComma... |
namespace Ancestry.Daisy.Documentation
{
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using Ancestry.Daisy.Documentation.Utils;
using Ancestry.Daisy.Utils;
public interface ICommentDocumentation
{
Met... |
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2019 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Source Code: https://github.com/Interkarma/daggerfall-unity
// Origina... |
//
// https://github.com/omgtehlion/NodeVsDebugger
// NodeVsDebugger: Node.js Debugging Support for Visual Studio.
//
// Authors:
// Anton A. Drachev (anton@drachev.com)
//
// Copyright © 2013
//
// Licensed under the terms of BSD 2-Clause License.
// See a license.txt file for the full text of the license.
//
usin... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.AI.MetricsAdvisor.Models
{
internal partial class AzureEventHubsParameterPatch : IUtf8JsonSerializable
{
vo... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Practica_Extra_Xam
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent... |
#region Using Directives
using ScintillaNET;
using System;
using System.Drawing;
using System.Windows.Forms;
#endregion Using Directives
namespace ScintillaNET_FindReplaceDialog
{
public partial class GoToDialog : Form
{
#region Fields
private Scintilla _scintilla;
private int _curr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Windows.Forms;
using System.Globalization;
using BrawlLib.IO;
namespace BrawlLib.SSBB.ResourceNodes
{
public unsafe class GCTNode : ResourceNode
{
internal byte* Data { get { return (byte*)WorkingUncompres... |
namespace FlippyFlop
{
public enum Events
{
ScoreUpdated,
FlippyDied,
ShowFinalScore,
FlippyFlipped,
GameStarted,
UpdateBestScore
}
} |
using Xamarin.Forms;
namespace CarouselViewDemos.Views
{
public partial class VariableSizeItemsPage : ContentPage
{
public VariableSizeItemsPage()
{
InitializeComponent();
}
}
} |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Microting.TimePlanningBase.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
using Books.Business;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Books.API.Filters
{
public class AuthorExistsAttribute : TypeFilterAttribute
{
public AuthorExistsAtt... |
using BepInEx.Configuration;
using System;
using System.Runtime.Serialization;
namespace Valheim.SpawnThat.Core.Configuration
{
public interface IConfigurationEntry
{
void Bind(ConfigFile config, string section, string key);
}
[Serializable]
public class ConfigurationEntry<TIn> : IConfigu... |
using Kyameru.Component.Ftp.Contracts;
using Kyameru.Component.Ftp.Enums;
using Kyameru.Component.Ftp.Extensions;
using Kyameru.Component.Ftp.Settings;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Net;
namespace Kyameru.Component.Ftp.Components
{... |
using OneOf;
using BreadTh.DataLayoutExpectations.Mcintyre321.ValueOf;
using BreadTh.DataLayoutExpectations.Interface;
using BreadTh.DataLayoutExpectations.Error;
using System.Text.Json;
using System.Text.Json.Nodes;
namespace BreadTh.DataLayoutExpectations;
public abstract class JsonIntExpectation<TSelf> : ValueOf<... |
using System;
using System.Collections.Generic;
using System.Linq;
using NPoco;
using Umbraco.Core.Cache;
using Umbraco.Core.Exceptions;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Entities;
using Umbraco.Core.Persistence.Querying;
using Umbraco.Core.Scoping;
namespace Umbraco.Core.Persistence.Repositories.... |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 ... |
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Realm Inc.
//
// 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/l... |
// 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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Grap... |
// 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.
namespace Microsoft.CodeAnalysis
{
internal interface ITextVersionable
{
bool TryGetTextVersion(ou... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace FavoriteTwitterSearches.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main (string[] args)
{
// if you want to use a different Application Delegate... |
using System;
namespace R5T.D0099.A001
{
/// <summary>
/// IMachineOutput and related services.
/// </summary>
public static class Documentation
{
}
} |
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float horizontalMovementSpeed = 16f;
public float verticalMovementSpeed = 10f;
private Rigidbody2D rb2D;
void Start()
{
rb2D = GetComponent<Rigidbody2D>();
}
void FixedUpdate()
{
float horizontal... |
using System.Drawing;
namespace DogAgilityCompetition.Controller.UI.Controls.Shapes
{
/// <summary>
/// Represents the base class for drawable shapes.
/// </summary>
public abstract class Shape
{
protected const int ShadowOffset = 2;
public ShapeState State { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
using MeetupManager.Portable.ViewModels;
using MeetupManager.Portable.Models;
using MeetupManager.Portable.Helpers;
namespace MeetupManager.Portable.Views
{
public partial class GroupsView : ContentPage
{
GroupsVi... |
#region Copyright & License
// Copyright © 2012 - 2015 François Chabot, Yves Dierick
//
// 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
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CreateField : MonoBehaviour {
public Camera theCamera;
public GameObject minesweeperTile;
[System.Serializable]
public class LevelsAttributes{
public int columns;
public int rows;
public int mi... |
using ApacheOrcDotNet.Compression;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ApacheOrcDotNet.Protocol;
namespace ApacheOrcDotNet.ColumnTypes
{
public class StructWriter : IColumnWriter<object>
{
//Assume all root values are present
public StructWriter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.