text stringlengths 1 932k |
|---|
namespace Chip8Sharp.Forms
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour {
[SerializeField] float projectileSpeed = 1f;
[SerializeField] float projectileDamage = 50f;
// Update is called once per frame
void Update() {
transform.Translate(Vector2.... |
#pragma warning disable 0649//ignore default value null
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
namespace LowoUN.Module.UI
{
public enum UIStateType {
None = 0,
ValueChange = 1,
Selected = 10,//
Deselected = 11,//
Show = 20,
... |
namespace SampleHttpServer.Server.Http.Response
{
using Enums;
using Exceptions;
using Server.Contracts;
public class ViewResponse : HttpResponse
{
private readonly IView view;
public ViewResponse(HttpStatusCode statusCode, IView view)
{
this.ValidateStatusCode... |
using UnityEngine;
namespace CDK {
public abstract class CBasePhysicsTriggers : MonoBehaviour {
[SerializeField] protected bool _isTrigger = true;
[SerializeField] [TagSelector] private string _tag = "Player";
[SerializeField] protected CUnityEventTransform Enter;
[SerializeField] protected CUnityEventTr... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.ins.scene.insserviceprod.finish
/// </summary>
public class AlipayInsSceneInsserviceprodFinishRequest : IAlipayRequest<AlipayInsSceneIn... |
// Copyright (c) 2017 Jan Pluskal
//
//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 to in ... |
namespace tincoder
{
partial class Form3
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
using Cofoundry.Core;
using Cofoundry.Domain.CQS;
using Cofoundry.Domain.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Domain
{
/// <summary>
/// Simple mapper for mapping to CustomEntityDefinitionMicroSummary obje... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Java.Lang;
using ChatKitQs.Src.Common.Data.Models;
using Java.Util;
namespace ChatKitQs.Src.Common.... |
using System;
using UnityEngine;
using UnityScript.Lang;
[AddComponentMenu("Image Effects/Color Adjustments/Tonemapping"), ExecuteInEditMode, RequireComponent(typeof(Camera))]
[Serializable]
public class Tonemapping : PostEffectsBase
{
[Serializable]
public enum TonemapperType
{
SimpleReinhard,
UserCurve,
Hab... |
namespace RocketNotify.TelegramBot.Filtration
{
using System;
using System.Linq;
using RocketNotify.TelegramBot.Messages;
using RocketNotify.TelegramBot.Settings;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
/// <summary>
/// Filters a message based on whether the bot is... |
using System;
using ExpressionToCodeLib;
using ValueUtils;
using Xunit;
namespace ValueUtilsTest
{
public class FieldwiseEqualityTest
{
static readonly Func<SampleStruct, SampleStruct, bool> eq = FieldwiseEquality<SampleStruct>.Instance;
[Fact]
public void IdenticalValuesAreEqual() =>... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.IO.Pipes;
using System.Linq;
using System.Net.Http;
using Sy... |
using System;
using System.Collections.Generic;
namespace PizzaBox.Data.Model
{
public partial class Pizza
{
public Pizza()
{
PizzaOrder = new HashSet<PizzaOrder>();
PizzaToppings = new HashSet<PizzaToppings>();
}
public int Id { get; set; }
pub... |
using System.Collections.Generic;
using CsQuery.HtmlParser;
namespace CsQuery.Implementation
{
/// <summary>
/// An HTML input element.
/// </summary>
public class HTMLInputElement : FormSubmittableElement, IHTMLInputElement
{
/// <summary>
/// Default constructor.
/// </s... |
@model Hive.Backend.DataModels.UserProfile
@{
ViewBag.Title = "Create";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Create</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>UserProfile</h4>
<hr />
@Html.ValidationSummary(tru... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LodeRunner.API.Test.IntegrationTests
{... |
#region Licence
/**
* Copyright © 2014-2019 OTTools <https://github.com/ottools/ItemEditor/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... |
//------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RogueLike
{
public enum DoorType
{
//close by room, or no room can associate
None,
Normal,
Hidden,
SuperHidden,
Boss,
Shop,
Reward,
Challenge,
}
... |
// <copyright file="GuildMember.Generated.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
//------------------------------------------------------------------------------
// <auto-generated>
// This source code was auto-ge... |
@model ProcessoSeletivoINTRA.Models.venda
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Venda</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.IO.Compression;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Razor.Tasks;
using Micros... |
namespace Stripe
{
public enum SourceType
{
Card,
BankAccount
}
public class Source : StripeEntityWithId
{
public SourceType Type { get; set; }
public StripeCard Card { get; set; }
public StripeBankAccount BankAccount { get; set; }
}
} |
namespace BatchDownloader
{
partial class FrmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
namespace SixLabors.Fonts
{
/// <summary>
/// A glyph from a particular font face.
/// </summary>
public readonly struct Glyph
{
private readonly GlyphInstance instance;
... |
/*
* Copyright (C) 2009 Google 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
//
// 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 Microsoft.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using Microsoft.SqlServer.Dac;
using Microsoft.SqlTools.ServiceLayer.Conn... |
namespace CarRentingSystem.Controllers.Api
{
using CarRentingSystem.Models.Api.Cars;
using CarRentingSystem.Services.Cars;
using CarRentingSystem.Services.Cars.Models;
using Microsoft.AspNetCore.Mvc;
[ApiController]
[Route("api/cars")]
public class CarsApiController : ControllerBase
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Runtime.InteropServices;
namespace VrmLib
{
class MeshSplitter
{
public static ValueTuple<
List<ValueTuple<int, Triangle>>,
List<ValueTuple<int, Triangle>>> SplitTriangles(Mesh... |
// --------------------------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Script: ./scripts/cldr-plural-rules.csx
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
namespace DeXrm.Win.Tools
{
public interface IControllerFrmQuery
{
void GetEntities();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using FluentValidation;
using FluentValidation.Results;
using IbanNet.Validation.Results;
using TestHelpers;
using Xunit;
namespace IbanNet.FluentValidation
{
[Collection(nameof(SetsStaticValidator))]
public class Integ... |
// *** 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... |
using UnityEngine;
using System.Collections;
public class DonationChing : MonoBehaviour
{
public ObjectPool pool;
new public AudioSource audio;
public float initialScale, growSpeed, maxScale, fadeStartTime, fadeSpeed, ySpeed;
public Vector2 xBounds, yBounds;
private float scale, time, alpha;
private TextMe... |
<mt-header class="my-header-danger" title="预约学车">
<mt-button slot="left" icon="back" @@click="goBack()">返回</mt-button>
<span slot="right">{{Location.City}}</span>
</mt-header>
<div class="my-title">
<h2>请填写预约信息</h2>
</div>
<div class="my-form">
<mt-field label="预约科目" placeholder="选择科目" v-model="Model... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp8
{
class Program
{
static void Main(string[] args)
{
// 8. Клас животно
var name = Console.ReadLine().ToLower();
switch(n... |
namespace QR_Test
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。... |
using Abp.Application.Services.Dto;
namespace XiaoLin.VNADS.Roles.Dto
{
public class PagedRoleResultRequestDto : PagedResultRequestDto
{
public string Keyword { get; set; }
}
} |
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Reflection;
namespace CodeArts.Runtime
{
/// <summary>
/// 参数项目。
/// </summary>
public class ParameterItem : StoreItem
{
private static readonly ConcurrentDictionary<ParameterInfo, ParameterItem> ItemCache =... |
// dnlib: See LICENSE.txt for more info
using System;
using System.Collections.Generic;
using System.Diagnostics;
using dnlib.DotNet.Emit;
using dnlib.DotNet.MD;
using dnlib.DotNet.Pdb;
using dnlib.PE;
using dnlib.Threading;
using dnlib.W32Resources;
namespace dnlib.DotNet {
readonly struct ModuleLoader {
readonly... |
// *** 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... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 ... |
public partial class AkSoundEngine
{
#if (UNITY_IOS || UNITY_TVOS) && !UNITY_EDITOR
/// <summary>
/// Converts "AkOSChar*" C-strings to C# strings.
/// </summary>
/// <param name="ptr">"AkOSChar*" memory pointer passed to C# as an IntPtr.</param>
/// <returns>Converted string.</returns>
public static string ... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/compressapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
... |
// <copyright file="BotFilterMiddlewareOptions.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.DIConnect.Bot
{
/// <summary>
/// Options used for creating the bot filter middleware.
/// </summary>
public class BotFilterMiddleware... |
#region License
//
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2010 the Open Toolkit library.
//
// 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, 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/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the Li... |
namespace RelaxAndSport.Infrastructure.Booking.Repositories
{
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using RelaxAndSport.Application.Booking.Massages;
using RelaxAndSport.Application.Booking.Massages.Queries.Common;
using RelaxAndSport.Domain.Booking.Exceptions;
using RelaxAndSp... |
using System;
using System.Dynamic;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
namespace RfpProxy
{
public abstract class TransparentRfpProxy : AbstractRfpProxy
{
private bool _useTProxy;
protected TransparentRfpProxy(int listenPort, string ommHost, int ... |
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;... |
//
// Description : Array and textureless GLSL 2D simplex noise function.
// Author : Ian McEwan, Ashima Arts.
// Maintainer : stegu
// Lastmath.mod : 20110822 (ijm)
// License : Copyright (C) 2011 Ashima Arts. All rights reserved.
// Distributed under the MIT License. See LICENSE file.
// ... |
#region Copyright
/*Copyright (C) 2015 Wosad 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/licenses/LICENSE-2.0
Unless required by applicable law or ... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace QueryBuilder.UnitTests.QueryBuilder.Dynamic
{
using System;
using Microsoft.DigitalWorkplace.DigitalTwins.QueryBuilder;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class QueryWhereTest
... |
using System.Linq;
using Ocelot.Configuration;
using Ocelot.Configuration.File;
namespace Ocelot.Cache
{
public class RegionCreator : IRegionCreator
{
public string Create(FileReRoute reRoute)
{
if(!string.IsNullOrEmpty(reRoute?.FileCacheOptions?.Region))
{
... |
// 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.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.Cod... |
using System.Collections.Generic;
using UnityEngine.UI;
/// <summary>
/// This class contains a text array which shows up in the inspector,
/// make an array or list of this class to make a 2D array that shows up in the inspector.
/// </summary>
[System.Serializable]
public class TextArrayContainer
{
public List<... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
// 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 Elastic.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
namespace Examples.Docs
{
public cla... |
namespace MusicVisualizer
{
public struct AppSettings
{
public readonly int FFTLength;
public AppSettings(int fftLength)
{
this.FFTLength = fftLength;
}
}
} |
using System;
namespace DesignPattern.Prototype.PrototypeManager
{
public interface OfficeDocument : ICloneable
{
new OfficeDocument Clone(); // 隐藏ICloneable的Clone接口方法定义
void Display();
}
} |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using FluentValidation;
using MediatR;
using Xunit;
namespace Nut.MediatR.Behaviors.FluentValidation.Test;
public class FluentValidationBehaviorTest
{
[Fact]
public void ctor_ServiceFa... |
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... |
using Man.Dapr.Sidekick.Http;
using Man.Dapr.Sidekick.Logging;
using Man.Dapr.Sidekick.Process;
namespace Man.Dapr.Sidekick
{
public class DaprSentryHost : DaprProcessHost<DaprSentryOptions>, IDaprSentryHost
{
public DaprSentryHost(IDaprProcessFactory daprProcessFactory, IDaprProcessHttpClientFactory ... |
namespace BlazorBffAzureAD.Shared.Authorization;
public class ClaimValue
{
public ClaimValue()
{
}
public ClaimValue(string type, string value)
{
Type = type;
Value = value;
}
public string Type { get; set; } = string.Empty;
public string Value { get; set; } = string... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// TaskVoucherBasicInfo Data Structure.
/// </summary>
[Serializable]
public class TaskVoucherBasicInfo : AopObject
{
/// <summary>
/// 券图标
/// </summary>
[XmlElement("logo")]... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Internal
{
using System.Collections.Generic;
using System.Data.Entity.Core;
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Ent... |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit.Abstractions;
using Xunit;
namespace S2Geometry
{
using S2BuilderUtil;
using static S2Builder;
using DegenerateBoundaries = S2BuilderUtil.LaxPolygonLayer.Options.DegenerateBoundaries;
using LabelSetIds = List<List<int>>;
... |
using Mimp.SeeSharper.DependencyInjection.Abstraction;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Mimp.SeeSharper.DependencyInjection
{
public class FirstDependencySelector : IDependencySelector
{
public IDependencyFactory? Select(IDependencyProvider provider, IDepe... |
@model DataLayer.ViewModels.ForgotPasswordViewModel
@{
ViewBag.Title = "بازیابی کلمه عبور";
}
<h2>بازیابی کلمه عبور</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<d... |
using System;
namespace Improbable.Gdk.GameObjectRepresentation
{
/// <summary>
/// Marks fields of MonoBehaviours that require an Injectable to be injected into them.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class RequireAttribute : Attribute
{
}
} |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Tailwind.Traders.WebBff.Infrastructure;
using Tailwind.Traders.WebBff.Model... |
// 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;
using System.IO;
using Kafka.Public;
namespace Kafka.Protocol
{
/// <summary>
... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Map_Editor.Engine;
using Map_Editor.Engine.Map;
using Map_Editor.Misc.Properties;
using Microsoft.Xna.Framework;
namespace Map_Editor.Forms.Controls
{
/// <summary>
/// Interaction logic for EffectTool.xaml
/// </summar... |
using CommandLine;
using CommandLine.Text;
using System;
using System.Collections.Generic;
using TerritoryTools.Alba.Controllers.UseCases;
namespace TerritoryTools.Alba.Cli.Verbs
{
[Verb(
"download-addresses",
HelpText = "Download addresses using your account")]
public class DownloadAddresses... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2019 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using GameFramework;
using GameFr... |
using System.Collections;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEngine;
public class Weapon : MonoBehaviour
{
// public TargetFollow _Target;
public GameObject projectile;
public Transform shootinpos;
public float speed;
private float time_btwshoot;
public flo... |
using AlarmBot.Models;
using Microsoft.Bot.Builder;
using PromptlyBot;
using PromptlyBot.Validator;
using System.Threading.Tasks;
namespace AlarmBot.Topics
{
public class AddAlarmTopicState : ConversationTopicState
{
public Alarm Alarm = new Alarm();
}
public class AddAlarmTopic : Conversatio... |
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using System.ComponentModel.Design;
using System.IO;
using Tweakster.VisualStudio.Toolkit.Execute;
using Task = System.Threading.Tasks.Task;
namespace Tweakster.Commands.Editor
{
internal sealed class ReadOnlySwitchCommand
{
public stat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MapzenGo.Helpers;
using MapzenGo.Models.Enums;
using UnityEngine;
namespace MapzenGo.Models
{
public class Place : MonoBehaviour
{
private Transform _target;
public string Id;
public string Type... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace PersonelProject.ToDo.DataAccess.Migrations
{
public partial class UrgencyAddedColumn : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Urgen... |
using Newtonsoft.Json;
namespace AirView.Api.Core.Hateoas
{
/// <summary>
/// Represents a hyperlink from the containing resource to a URI.
/// <see href="https://tools.ietf.org/html/draft-kelly-json-hal-08#section-5" />
/// </summary>
public class LinkDto
{
public LinkDto(stri... |
// *** 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
namespace ZYH.WebControl_V
{
public class CallbackEventArgs : EventArgs
{
public CallbackCommands Command = CallbackCommands.NA;
public CallbackManager CallbackManager;
... |
#region File Header
// Filename: Settings.cs
// Author: Elmer Nocon
// Date Created: 2019/05/16
// License: MIT
#endregion
using System.Text;
using UnityEditor;
namespace UnityCommandLine.BuildPipeline
{
/// <summary>
/// A container class for all values used when building a player.
/// </summary>
p... |
using System;
using XKCDPasswordGen;
namespace ExampleApp
{
class ExampleApp
{
static void Main(string[] args)
{
var fourWordPassword = XkcdPasswordGen.Generate(4);
Console.WriteLine("4 random words: " + fourWordPassword);
var dashPassword = XkcdPasswordGen... |
// 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.CommandLine.IO;
using System.Text;
namespace System.CommandLine.Rendering
{
internal abstract class ContentRenderingSpanVisito... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Armarios
{
public partial class ShowRelatorio : Form
{
public ShowRelatorio()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SCDataManager.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page";
return View();
... |
/*
* 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.IO;
using System.Linq;
namespace UnPak.Console
{
public class DirectoryService
{
public DirectoryInfo GetPackRoot(DirectoryInfo inputDir) {
var allDirs = inputDir.EnumerateDirectories("*", SearchOption.AllDirectories);
var firstContent = allDirs.FirstOrDefault(d =>... |
using System;
namespace STak.TakEngine
{
public static class ArgumentValidator
{
public static void EnsureNotNull(object obj, string name)
{
if (obj == null)
{
throw new ArgumentNullException(name);
}
}
}
} |
namespace SoundFingerprinting.DAO
{
using System.Collections.Generic;
using SoundFingerprinting.Configuration;
using SoundFingerprinting.DAO.Data;
public interface ISubFingerprintDao
{
int SubFingerprintsCount { get; }
IEnumerable<int> HashCountsPerTable { get; }
void Ins... |
// ==========================================================================
// AssetsValidator.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// =======================================================... |
using System.IO;
using System.Windows;
using System.Windows.Threading;
using Sentry;
namespace WpfDotNetCoreCSharp
{
public partial class App : Application
{
public App()
{
DispatcherUnhandledException += App_DispatcherUnhandledException;
SentrySdk.Init(o =>
... |
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using TraceabilityEngine.Util;
using TraceabilityEngine.Util.Interfaces;
namespace Traceabili... |
namespace LineDC.Messaging.Messages.Flex
{
public enum Align
{
Start,
End,
Center
}
} |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.