content stringlengths 23 1.05M |
|---|
using System;
using UnityEngine;
namespace LDJam48.StateMachine.Action
{
[Serializable]
public class PlayOneShotParticleAction : OneShotAction
{
[SerializeField] private int effectIdx;
public int EffectIdx => effectIdx;
protected override IOneShotAction BuildRuntimeImpl()
{... |
//-----------------------------------------------------------------------
// <copyright file="FilterableCollection.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Micro... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Inventory.Un... |
// The purpose of this program is to learn about the configuration
// system. This time we want to bind a typed class to the configuration
// file to extract its members in a typed fashion using a POCO, Plain
// Old Class Object.
//
// Needed Extensions:
// Microsoft.Extensions.Configuration
// Micro... |
using Bert.lin.Common;
using CompanyModel;
using SRX.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Script.Serialization;
namespace Test
{
class Program
{
static void Main(string[] a... |
@using coreWeb.Models
@model IEnumerable<coreWeb.Models.Department>
<div class="row">
<div class="col-md-10 offset-md-2">
<table class="table">
<tr>
<th>Name</th>
<th>Location</th>
<th>Employee Count</th>
<th>操作</th>
... |
// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Autofac.Features.Indexed
{
/// <summary>
/// Provides components by lookup operations via an index (key) type.
/// </summary>
/// <typeparam name... |
using NPOI.Util;
using System.Text;
namespace NPOI.HSSF.Record.PivotTable
{
/// SXVDEX - Extended PivotTable View Fields (0x0100)<br />
///
/// @author Patrick Cheng
public class ExtendedPivotTableViewFieldsRecord : StandardRecord
{
public const short sid = 256;
/// the value of the <c>cchSubName</c> field w... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HttpDownloader
{
class MyProgressBar : ProgressBar
{
public MyProgressBar()
{
// Modify the ControlStyle... |
using Entitas;
using Entitas.CodeGeneration.Attributes;
using UnityEngine;
namespace _1010C.Scripts.Components
{
[Game, Event(EventTarget.Self)]
public class PositionComponent : IComponent
{
public Vector2 Value;
}
}
|
#pragma warning disable 414
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
using g3;
using f3;
using gs;
using cotangent;
public class PurgeSpiralToolSettings : BaseToolSettings<PurgeSpiralTool>
{
InputField height;
InputField le... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Portal.Business.Contracts;
using Portal.Domain.Models;
using Portal.Domain.Helper;
using Portal.Domain.ViewModels;
namespace Portal.Controllers
{
... |
using Cascade.CodeAnalysis.Common.Simulation;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Cascade.CodeAnalysis.Core.Simulator.Visitors
{
partial class Simulator
{
public override Evaluation VisitXmlCDataSection(XmlCDataSectionSyntax node)
{
return base.VisitXmlCDataSectio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DrumEject : MonoBehaviour {
public GameObject drumPrefab;
public void EjectDrum()
{
GameObject drum = Instantiate(drumPrefab, transform.position, transform.rotation) as GameObject;
drum.name = "Sp... |
namespace InterReact;
public enum TickType
{
/// <summary>
/// This value is used as the default to distinguish it from BidSize = 0
/// </summary>
Undefined = -2,
/// <summary>
/// from TickMarketDataType. This value is used internally.
/// </summary>
MarketDataType = -1,
/// <s... |
using System.Threading.Tasks;
using Customers.Pn.Infrastructure.Models.Customer;
using Microting.eFormApi.BasePn.Infrastructure.Models.API;
namespace Customers.Pn.Abstractions
{
public interface ICustomersService
{
Task<OperationDataResult<CustomersModel>> Index(CustomersRequestModel pnRequestModel);
... |
// Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common.Utilities;
namespace Nuke.Common.CI.TeamCity.Configuration
{
public class TeamCityProject : ConfigurationEntity
{
pu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DroidExplorer.Controls {
/// <summary>
///
/// </summary>
public partial class TaskDialogForm : Form {
#region PRIVATE members
... |
namespace HotelSystem.Web.Areas.Booking.ViewModels.Available
{
using System.Collections.Generic;
public class BookingViewModel
{
public DataSelectorInputModel DataSelector { get; set; }
public IEnumerable<HotelNameViewModel> HotelsNames { get; set; }
}
}
|
namespace Exemplos.CustomVisionApi.Commands.Project.Model
{
using Exemplos.CustomVisionApi.Extensions;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training;
internal class ProjectModelSubCommand : ICommand
{
private CommandLineApp... |
using System.Web.Mvc;
namespace BlackMagic.Mvc.WebFormsBridge
{
//Both pages are required.
public abstract class RazorBridgeViewPage : RazorBridgeViewPage<dynamic>
{
}
public abstract class RazorBridgeViewPage<T> : WebViewPage<T>
{
public string Title
{
get { return (string)(Context.Items... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SqlOptimizerBenchmark.Controls.BenchmarkTreeView
{
public class QueryVariantTreeNode : BenchmarkObjectTreeNode
{
private ContextMenuStrip queryVaria... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NetTaskInterface
{
public class Logger
{
public event Action<string> onInfo;
public event Action<string, Exception, bool> onError;
public event Action<string, string> onMail;
/// <summary>
///... |
namespace OpenBveApi.Runtime
{
/// <summary>Represents data trasmitted by a beacon.</summary>
public class BeaconData
{
// --- members ---
/// <summary>The type of beacon.</summary>
public int Type { get; private set; }
/// <summary>Optional data the beacon transmits.</summa... |
using System;
using System.IO;
namespace SpeakEasy
{
/// <summary>
/// A simple wrapper around an HttpWebResponse
/// </summary>
public interface IHttpWebResponse : IDisposable
{
/// <summary>
/// Indicates whether or not the web response has content
/// </summary>
b... |
using System;
using System.Collections.Generic;
namespace WinMan.Windows
{
internal interface IWin32VirtualDesktopService
{
void Connect();
int GetCurrentDesktopIndex(IntPtr hMon);
int GetDesktopCount(IntPtr hMon);
bool IsWindowPinned(IntPtr hWnd);
bool IsCurrentDes... |
@model string
@{
ViewData["Title"] = "RawLog";
}
<h1>RawLog</h1>
<div>
<button class="btn btn-primary btn" onclick="document.location.href='@Url.Action("Index")'">Back to List</button>
</div>
<pre><code>@Model</code></pre>
|
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
namespace Microsoft.TeamFoundation.Migration.Shell.Undo
{
/// <summary>
/// Defines the public interface of a... |
using System;
using System.Data;
namespace Smooth.IoC.UnitOfWork.Interfaces
{
public interface IDbFactory
{
/// <summary>
/// Creates an instance of your ISession expanded interface
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns>ISession</returns>
... |
using UnityEngine;
using System.Collections;
public class Move : MonoBehaviour {
public Vector2 range = new Vector2 (-5, 10);
public Vector3 speed = new Vector3 (0, 0, -10);
public Vector3 position = new Vector3 (0, 0, 40);
// Use this for initialization
void Start () {
}
// Update is called once per f... |
using Meowv.Blog.TestBase;
namespace Meowv.Blog.Application.Tests
{
public abstract class MeowvBlogApplicationTestBase : MeowvBlogTestBase<MeowvBlogApplicationTestModule>
{
}
} |
using System;
using System.IO;
using Elton.Nest.Models;
using Elton.Nest.Rest.Parsers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Elton.Nest.Tests.Models
{
[TestClass]
public class MessageParserTest : AbstractModelTest
{
private class DummyMapper : Mapper
{
in... |
using System;
using System.Collections.Generic;
using System.Text;
using Common;
using Backend.Game;
using System;
namespace Backend.Network
{
public partial class Incoming
{
private void OnRecvAddGolds(IChannel channel, Message message)
{
CAddGolds msg = message as CAddGolds;
var conn = db.Insta... |
using Csla;
using Csla.Data;
using System;
using System.Linq;
namespace ProjectTracker.Library
{
[Serializable()]
public class ResourceList : ReadOnlyListBase<ResourceList, ResourceInfo>
{
#region Factory Methods
public static ResourceList EmptyList()
{
return new ResourceList();
}
p... |
namespace WindowsFormsApplication2
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
namespace VacationManager.Services.Data
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using VacationManager.Web.ViewModels.TeamModels;
public interface ITeamService
{
Task Create(TeamCreateInputModel model);
Task Delete(... |
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace DarkHelpers.WPF
{
internal class DarkWpfNavigationHandler
{
private Window GetCurrentActiveWindow()
{
return Application.Current.Windows.OfType<Window>().SingleOrDefault(x => x.IsActive);
}
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Billing.WebApp.Entities;
namespace Billing.WebApp.Interfaces
{
public interface IUserRepository
{
void Update(User user);
Task<bool> SaveAllAsync();
Task<IEnumerable<User>> GetUsersAsync();
Ta... |
using System.Collections.Generic;
using EZAddresser.Editor.Foundation.DomainModel;
using EZAddresser.Editor.Foundation.Observable.ObservableCollection;
using EZAddresser.Editor.Foundation.Observable.ObservableProperty;
using EZAddresser.Editor.Core.Domain.Models.Shared;
namespace EZAddresser.Editor.Core.Domain.Models... |
namespace FirstTracks.Core.Enums
{
public enum Difficulty
{
Beginner,
Intermediate,
Advanced,
Expert
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cronyx.Console.Parsing.Parsers
{
public class BoolParser : ParameterParser<bool>
{
private static readonly StringBuilder mBuilder = new StringBuilder();
public override bool TryParse(Ar... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.IO;
using System.Text;
namespace YaJS.Compiler {
/// <summary>
/// Сканер
/// </summary>
public sealed class Tokenizer {
private static readonly Dictionary<string, TokenType> Keywords = new Dictionary<string, TokenT... |
namespace ChakraCore.NET.DebugAdapter.VSCode
{
public class OnStatusChangArguments
{
public DebugAdapterStatusEnum Previous { get; private set; }
public DebugAdapterStatusEnum Current { get; private set; }
public OnStatusChangArguments(DebugAdapterStatusEnum previous, DebugAdapterStatus... |
using ms17.BLL.Interface;
using ms17.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ms17.Controllers
{
public class CommentController : Controller
{
private ICommentService _commentService = null;
//Constructors
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using Elsa.Models;
using Elsa.Server.Api.Models;
using Elsa.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection... |
using Workflow.Base.Infrastructure.Attributes;
using Castle.Facilities.Startable;
using Castle.MicroKernel.Registration;
namespace Workflow.Web.Mvc.App
{
public static class ReflectionHelpers
{
public static BasedOnDescriptor StartIfNecessary(this BasedOnDescriptor descriptor)
{
ret... |
namespace XamarinMadridDemo.Features;
public class CounterViewModel : BaseViewModel
{
private int counter;
public CounterViewModel(IServiceProvider serviceProvider) : base(serviceProvider)
{
counter = 0;
CountCommand = new Command(Count);
}
public int Counter
{
get =>... |
using System;
using System.Collections.Generic;
namespace PubNubAPI
{
public class ManageMembersBuilder
{
private readonly ManageMembersRequestBuilder manageMembersBuilder;
public ManageMembersBuilder(PubNubUnity pn){
manageMembersBuilder = new ManageMembersRequestBuilder(p... |
using System;
using System.Collections.Generic;
namespace _4DMonoEngine.Core.Common.Interfaces
{
public interface IInitializable
{
IEnumerable<Type> Dependencies();
bool IsInitialized();
void Initialize();
}
}
|
using System.Globalization;
using DemoApp.Models;
namespace DemoApp.Mappers
{
internal class ProductMapper : IProductMapper
{
public Product MapFrom(ProductInfo info)
{
return new Product
{
ProductId = int.Parse(info.ProductId, CultureInfo.... |
namespace EightSpark.Client
{
public interface ICache
{
void Set(string url, RuleValue deserializedResult);
string Get(string url);
void SetCacheTime(int minutes);
}
} |
using Npgsql;
using System.Data;
namespace DotNetSearch.Infra.Data.DbConnection
{
public class SqlConnectionFactory : IDbConnectionFactory
{
private readonly string dbConnectionString;
public SqlConnectionFactory(string dbConnectionString)
{
this.dbConnectionString = dbCon... |
namespace CurrentPlayerInformation.Models
{
public class PlayerRank
{
public int Global { get; set; }
public int Country { get; set; }
}
}
|
@model TravelBlog.Models.Sınıflar.Contact
<!--<form>
<div class="form-group">
<h3>Contact Us</h3>
@Html.LabelFor(x => x.Name)
@Html.TextBoxFor(x => x.Name, new { @class = "form-control", @placeholder = "Name" })
<br />
@Html.LabelFor(x => x.Mail)
@Html.TextBoxFor(x => x.Mail, new { @class = "fo... |
using System;
using PaymentContex.Domain.Entities;
public class CreditCardPayment : Payment
{
public CreditCardPayment(
string cardHolderName,
string cardNumber,
string lastTransactionNumber,
DateTime paidDate,
DateTime expireDate,
decimal total,
de... |
using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SemanticArchitecture.Application.Application_Services_Interfaces;
using SemanticArchitecture.Domain.Core.Domain_Entities;
namespace SemanticArchitecture.Presentation.Controllers
{
public class SampleController : Controlle... |
using FloodControl.Screens;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace FloodControl.Tests
{
public sealed class TestGameScreen : IGameScreen
{
private readonly RotateTest _rotate;
public TestGameScreen(SpriteBatch spriteBatch, Texture2D sprites)
{... |
using Codeable.Foundation.Common;
using Codeable.Foundation.Core;
using System;
using System.Web.Http;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using sdk = Stencil.SDK.Models;
using dm = Stencil.Domain;
using Stencil.Primary;
using Stencil.SDK;
using Stencil.Web.Controllers;
u... |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
namespace UwpInstaller
{
public class Installer
{
private readonly string[] _cerExtension = { ".cer" };
private readonly string[] _bundleExetension = { ".msixbundle"... |
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Newtonsoft.Json;
using NSubstitute;
using NUnit.Framework;
using Octopus.Cli.Commands.Project;
using Octopus.Client.Model;
namespace Octo.Tests.Commands
{
public class CreateProjectCommandFixture : ApiCommandFixtureBase
{
Create... |
using System;
using System.Windows.Forms;
using Primavera.Extensibility.CustomForm;
using PRISDK100;
namespace PrimaveraSDK
{
public partial class frmDemo1 : CustomForm
{
private bool controlsInitialized;
public frmDemo1()
{
InitializeComponent();
}
... |
using System;
using System.Configuration;
using System.Web.Mvc;
namespace SerialLabs.Web.Mvc
{
/// <summary>
/// A simple authorize attribute which enforce a query string key authorization
/// </summary>
public class SimpleKeyAuthorizationAttribute : AuthorizeAttribute
{
private string _ke... |
using NServiceBus;
namespace SFA.DAS.NServiceBus.Configuration.NewtonsoftJsonSerializer
{
public static class EndpointConfigurationExtensions
{
public static EndpointConfiguration UseNewtonsoftJsonSerializer(this EndpointConfiguration config)
{
config.UseSerialization<NewtonsoftSer... |
namespace BullOak.Repositories.StateEmit
{
public interface IControlStateWritability<TState>
{
void MakeStateWritable();
void MakeStateReadOnly();
TState State { get; }
}
}
|
using System;
using System.Threading;
using System.Threading.Tasks;
namespace _10OOP {
/// <summary>
/// 异步销毁,生成一个 CanncellationTokenResource,然后调用 Disposed
/// </summary>
public partial class DisposedAsync : IDisposable {
private readonly CancellationTokenSource _cts = new Cancellation... |
// Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Tests.Common.Builders
{
public class PropertyTypeDetail
{
public string Alias { get; set; }
public string Name { get; set; }
public string Description { get; set; } = string.Empty... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Magicodes.Wx.PublicAccount.Sdk.Apis.Guide.Dtos
{
public class GetGuideMassendJobListResult : ApiResultBase
{
/// <summary>
/// 群发任务列表
/// </summary>
[JsonProperty("list")]
public List<GuideMassendJobList... |
using Advent;
using Serilog;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Day_11
{
//https://adventofcode.com/2020/day/11
public class Part1TextGrid : IAdventProblem
{
private string Dayname => Helpers.GetDayFromNamespace(this);
public strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Concurrency.Richter
{
class NonBlockingSynchronization
{
private volatile int _sync = 0;
private volatile int _lockValue = 1;
private vo... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine.UI;
using UnityEngine;
public class UIManager : MonoBehaviour {
public Image m_movesBar;
public Transform m_keyPanel;
public GameObject m_keyImagePrefab;
public List<Transform> m_objectsToDestroy;
... |
using System;
namespace codewars_solutions
{
//This sample shows an implementation of Adaptor design pattern
public class Target
{
public int Health { get; set; }
}
public interface IUnit
{
void Attack(Target target);
}
public class Marine : IUnit
{
public v... |
using System;
using System.Net;
using WebDriverManager.DriverConfigs.Impl;
using Xunit;
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerClass, MaxParallelThreads = 2)]
namespace WebDriverManager.Tests
{
public class DriverManagerTests
{
[Fact]
public void ChromeTest()
... |
namespace Hl7.Billing
{
/// <summary>
/// Describes a credit rating as used in PV1-23.
/// </summary>
public class CreditRating : LookupEntity
{
}
} |
#if !SILVERLIGHT
using System;
using ServiceStack.Logging;
namespace ServiceStack.Messaging
{
public class InMemoryTransientMessageFactory
: IMessageFactory
{
private static readonly ILog Log = LogManager.GetLogger(typeof(InMemoryTransientMessageFactory));
private readonly InMemoryTran... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace nata.Models
{
public class ContractsViewModel
{
public List<Contracts> Contracts { get; set; }
public SelectList Accounts { get; set; }
... |
using System.Threading;
namespace TestSketches;
class HeavyAnimations {
void settings() {
size(400, 400);
}
void setup() {
background(150);
}
void draw() {
Thread.Sleep(500);
background(Black);
// Use the minimum screen size for relative rendering
... |
using System;
using System.Linq;
using Perpetuum.Accounting.Characters;
using Perpetuum.Host.Requests;
using Perpetuum.Players;
using Perpetuum.Zones;
namespace Perpetuum.RequestHandlers
{
public class EnableSelfTeleport : IRequestHandler
{
private readonly IZoneManager _zoneManager;
public En... |
using YoYoProject.Common;
using YoYoProject.Models;
namespace YoYoProject.Controllers
{
public sealed class GMLinuxOptions : GMResource
{
private string displayName;
public string DisplayName
{
get { return GetProperty(displayName); }
set { SetProperty(value, re... |
using System;
using FluentAssertions;
using Xunit;
namespace MathUtils.Tests
{
public class CalculatorShould
{
[Fact]
public void Sum_ANumberAndZero_ReturnsTheNumber()
{
int number = 10;
var calculator = new Calculator();
var result = c... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class PlayerController : MonoBehaviour
{
public enum PlayerNumber { PlayerOne, PlayerTwo }
[SerializeField]
private Rigidbody rigidbody;
[SerializeField]
private float speed;
[Se... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.IO.Compression;
namespace WzComparerR2.Patcher.Builder
{
public class WzPatcherWriter
{
public WzPatcherWriter(Stream output)
{
if( output == null)
{
throw n... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pliant.Grammars;
using Pliant.Terminals;
namespace Pliant.Tests.Unit.Grammars
{
[TestClass]
public class WordTerminalTests
{
[TestMethod]
public void WordTerminalShouldMatchWordCharacters()
{
Assert.IsTrue(WordTe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class totalScore : MonoBehaviour {
public static int SelfScore;
public static int EnemyScore;
// Use this for initialization
void Start () {
SelfScore = 0;
EnemyScore = 0;
}
// Update is called once per frame
void Upd... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GithubContributionArt.Server.Clients.Github.Models
{
public record ExchangeCodeWithAccessTokenRequest(
[property: JsonProperty("client_id")] string ClientId,
... |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace FUR10N.NullContracts
{
internal class NotNullMethodInfo
{
public readonly Location Location;
public readonly IMethodSymbol Symbol;
public readonly BlockSyntax Body;
public NotNullMethodInfo(L... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace GDLibrary.Graphics
{
/// <summary>
/// Defines a textured 1x1x1 hexagon, centred on origin, aligned with XYZ axis
/// </summary>
public class HexagonMesh : Mesh, ICloneable
{
protected override v... |
// Lexxys Infrastructural library.
// file: Ternary.cs
//
// Copyright (c) 2001-2014, Kraft Pro Utilities.
// You may use this code under the terms of the MIT license
//
using System;
namespace Lexxys
{
public struct Ternary: IEquatable<Ternary>
{
public static readonly Ternary True = new Ternary(true);
public s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Furniture", menuName = "Interior/Furniture", order = 1)]
public class Furniture : ScriptableObject
{
public string Name;
public string Manufacturer;
public string Description;
public bool SnapsT... |
/*
* Copyright 2021 James Courtney
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ppt2pdf
{
public partial class UserControlSettingExcahngerWrap : UserControl
{
... |
using System;
using System.Collections.Generic;
using System.Text;
struct RInt
{
public static RInt Zero { get; } = new RInt(new int[0]);
const int D9 = 1000000000;
static readonly int[] Digits = InitDigits();
static int[] InitDigits()
{
var d = new int[10];
d[0] = 1;
for (int i = 0; i < 9; ... |
using System.Linq;
using DSharpExtensions.Attributes;
using DSharpPlus.CommandsNext;
namespace DSharpExtensions.ClassExtensions
{
public static class CommandExtensions
{
public static string GetUsage(this Command command)
{
Usage usage = (Usage) command.CustomAttributes.FirstOrDefa... |
/////////////////////////////////////////////////////////////////////////////////////////////
/////// THIS FILE HAS BEEN AUTOMATICALLY CONVERTED FROM THE JAVA SOURCES. DO NOT EDIT ///////
/////////////////////////////////////////////////////////////////////////////////////////////
using Giis.Selema.Manager;
using OpenQ... |
// Copyright 2015 by the person represented as ThoroughlyLostExplorer on GitHub
//
// 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... |
using Cinemachine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraControl : MonoBehaviour
{
private CinemachineComposer composer;
[SerializeField]
private float sensetivty=1f;
void Start()
{
composer = GetComponent<CinemachineVirtualCamer... |
using System;
using System.Runtime.Serialization;
namespace YouTubeApiRestClient.Views
{
//
// Summary:
// Basic details about a playlist, including title, description and thumbnails.
[DataContract]
public class PlaylistItemSnippet
{
//
// Summary:
// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using puck.core.Abstract;
using puck.core.Base;
using System.IO;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using puck.Models;
using System.Co... |
using GameWorld;
using Godot;
using System;
public class NewGame : Control {
GameSetup.GameSettings gameSettings = new GameSetup.GameSettings();
SpinBox WorldSeed;
OptionButton WorldSize;
SpinBox WorldSealevel;
public override void _Ready() {
WorldSeed = (SpinBox) FindNode("WorldSeed");
WorldSize = (OptionB... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#if BUILD_MSI_TASKS
using System;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Microsoft.Deployment.WindowsInstaller.Package;
namespace RepoTasks;
public... |
using System.Collections.Generic;
namespace EmailMaker.Commands.Handlers
{
public interface IRecipientParser
{
IDictionary<string, string> Parse(string recipientStr);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.