text stringlengths 1 932k |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnZombies : MonoBehaviour
{
public bool day;
public bool changing;
public GameObject zombie;
private float timeChange = 1f;
private List<Vector3> spawnpoints = new List<Vector3>();
private int zombie... |
namespace Patterns.Mediator.Contracts
{
public abstract class Aircraft
{
private readonly IAirTrafficControl _atc;
private int _altitude;
protected Aircraft(string callSign, IAirTrafficControl atc)
{
_atc = atc;
CallSign = callSign;
_atc.RegisterAircraftUnderGuidance(this);
}
public abstract i... |
// 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 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XecMe.Common;
using XecMe.Core.Tasks;
using XecMe.Core.Utils;
namespace XecMe.Core.Fluent.Timer
{
/// <summary>
/// Interface to define the milliseconds interval for the timer job
///... |
using System;
int number;
do
{
Console.Write("Enter an integer: ");
} while (!int.TryParse(Console.ReadLine(), out number));
Console.WriteLine(number);
double number2;
do
{
Console.Write("Enter a number: ");
} while (!double.TryParse(Console.ReadLine(), out number2));
Console.WriteLine(number2);
bool truthV... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... |
namespace Chainblock.Models
{
using global::Chainblock.Contracts;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class Chainblock : IChainblock
{
private Dictionary<int, ITransaction> transactions;
public Chainblock()
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost ... |
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using System.Windows.Media;
using Company.Desktop.Framework.Mvvm.UI;
using MahApps.Metro.Controls.Dialogs;
namespace Company.Desktop.Application.Dependencies.UI
{
public class MetroProgressController : IProgressCo... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace docx2tex.Library
{
partial class Engine
{
private int? GetInt(XmlNode srcNode, string query)
{
if (srcNode == null)
return null;
XmlNode node = srcNode.Select... |
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("8.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace UberApp.Models
{
public class LogIn
{
public string Email { get; set; }
public string Password { get; set; }
public string Firstname { get; set; }
}
} |
namespace EcitonEditor
{
/// <summary>出力端子のビューモデルです。</summary>
public class EcitonOutViewModel : EcitonTerminalViewModelBase
{
public EcitonOutViewModel(EcitonObjectViewModel parent, int index)
: base(parent,
EcitonTerminalOffsetCalculator.GetOffsetX(EcitonTerminalType... |
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about some new <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div> |
using System;
using RP_Server_Scripts.Network;
namespace RP_Server_Scripts.Client
{
internal sealed class ClientFactory : IClientFactory
{
private readonly IScriptMessageHandlerSelector _HandlerSelector;
private readonly IPacketWriterPool _StreamPool;
private readonly ClientList _Clien... |
//------------------------------------------------------------------------------
// <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;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Tactics.Constants
{
public class BaseSprites : MonoBehaviour
{
public Dictionary<string, Sprite> SpriteMap;
public void Awake()
{
this.SpriteMap = GetSpriteMap();
... |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class W3DragonsDream : W3Petard
{
[Ordinal(1)] [RED("gasEntityTemplate")] public CHa... |
using System;
using System.Windows;
using System.Windows.Data;
namespace Entrance.Converters
{
public class BoolToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
bool current ... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... |
using QuantumShell.Math;
using QuantumShell.QuantumModel;
namespace QuantumShell.QuantumGates
{
class PauliZGate : IQuantumGate
{
public override int QubitCount { get; protected set; }
public override IComplexMatrix Transform { get; protected set; }
public PauliZGate()
{
... |
//------------------------------------------------------------------------------
// <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 Newtonsoft.Json;
namespace MyHotel.Models
{
public class ResponseModel<T>
{
[JsonProperty("status")]
public Int32 Status { get; set; }
[JsonProperty("message")]
public String Message { get; set; }
[JsonProperty("data")]
public T Data { get;... |
using System;
namespace algo.model
{
/// <summary>
/// Avl Tree
/// </summary>
/// <typeparam name="T"></typeparam>
public class AvlTree<T> : BinarySearchTree<T, AvlTreeNode<T>> where T : IComparable
{
/// <summary>
/// 平衡因子
/// </summary>
public int[] B... |
using Uno.Compiler.API.Domain.AST.Expressions;
using Uno.Compiler.API.Domain.AST.Members;
using Uno.Compiler.API.Domain.Graphics;
using Uno.Compiler.Core.Syntax.Binding;
using Uno.Compiler.Core.Syntax.Compilers;
namespace Uno.Compiler.Core.Syntax.Builders
{
public partial class BlockBuilder
{
void Com... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TroydonFitnessWebsite.Migrations
{
public partial class SystemRestoreid : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AspNetR... |
using ExtendedXmlSerializer.ContentModel.Content;
using ExtendedXmlSerializer.ContentModel.Format;
namespace ExtendedXmlSerializer.ExtensionModel.Xml
{
interface IXmlContentsActivator
{
IInnerContent Create(IFormatReader reader, object instance, XmlContent content);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
using CoreLib.CORE.Helpers.Converters;
using CoreLib.CORE.Helpers.ObjectHelpers;
using CoreLib.CORE.Helpers.StringHelpers;
using CoreLib.CORE.Resources;
using Newtonsoft.Json;
using SberAc... |
using AutoMapper;
namespace HandControl.Services.Mappers
{
public interface IMapperFabric
{
IMapper CreateMapper();
}
} |
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayDaoweiOrderModifyResponse.
/// </summary>
public class AlipayDaoweiOrderModifyResponse : AlipayResponse
{
}
} |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<... |
using System.Collections.Generic;
using System.Security.Claims;
using Thinktecture.IdentityServer.Core.Connect.Models;
namespace Thinktecture.IdentityServer.Core.Connect
{
public class TokenValidationResult
{
public IEnumerable<Claim> Claims { get; set; }
public string Error { get; set; }
... |
namespace ExtendedControlsLibrary.General.UIUpdating
{
using System;
public class UpdateUIInformation
{
private readonly DateTime _createdAt = DateTime.Now;
private readonly Guid _token = Guid.NewGuid();
public UpdateUIInformation(object userState = null)
{
UserState = userState... |
using Chloe.DbExpressions;
using System;
using Chloe.Utility;
using Chloe.Descriptors;
using System.Reflection;
using Chloe.InternalExtensions;
namespace Chloe.Query.QueryState
{
internal sealed class RootQueryState : QueryStateBase
{
Type _elementType;
public RootQueryState(Type elementType, ... |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программным средством.
// Версия среды выполнения: 4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
// код создан повторно.... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL.Language.AST;
using GraphQL.Types;
using GraphQL.Utilities;
using GraphQL.Validation.Errors;
namespace GraphQL.Validation.Rules
{
/// <summary>
/// Overlapping fields are mergable:
///
/// If multiple field... |
using System;
using System.Collections.Specialized;
namespace BlazorWebFormsComponents {
public class FormViewUpdatedEventArgs : EventArgs {
public FormViewUpdatedEventArgs(int affectedRows, Exception e = null)
{
this.AffectedRows = affectedRows;
this.Exception = e;
}
public int AffectedRows { get;... |
// 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 DotNetNuke.Services.Social.Notifications
{
using System;
using System.Data;
using System.Xml.S... |
using System.Web;
using System.Web.Optimization;
namespace MsVisionDog.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new S... |
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 Crystallography.Controls
{
public partial class EOSControl : UserControl
{
#re... |
using BlazorHero.CleanArchitecture.Application.Features.Brands.Queries.GetAll;
using BlazorHero.CleanArchitecture.Client.Infrastructure.Extensions;
using BlazorHero.CleanArchitecture.Shared.Wrapper;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Localization;
using OrchardCore.DisplayManagement.Handlers;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.Users.Models;
using OrchardCor... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Telegram.Bot.Types;
// ReSharper disable once CheckNamespace
namespace Telegram.Bot.Requests
{
/// <summary>
/// Unpin a message in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the ‘can_... |
/****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.com
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... |
using System.Collections.Generic;
namespace XtraUpload.WebApi
{
internal class RolesResultDto
{
public IEnumerable<RoleClaimsResultDto> Roles { get; set; }
}
} |
/*
* @lc app=leetcode id=2 lang=csharp
*
* [2] Add Two Numbers
*/
// @lc code=start
/**
* Definition for singly-linked list.
* public class ListNode {
* public int val;leet
* public ListNode next;
* public ListNode(int val=0, ListNode next=null) {
* this.val = val;
* this.next = ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Tester.Database
{
public class Player
{
public Player()
{
Created = DateTime.Now;
}
public int Id { get; set; }
public string Name { get; set; }
public string Alias { get... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Presentation</title>
<environment include="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<... |
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("Sch... |
// /*
// * Copyright (c) 2014, Furore (info@furore.com) and contributors
// * See the file CONTRIBUTORS for details.
// *
// * This file is licensed under the BSD 3-Clause license
// * available at https://raw.github.com/furore-fhir/spark/master/LICENSE
// */
namespace Spark.Engine.Web
{
using System;
u... |
using System;
namespace Flash.Extensions.EventBus.Dashboard
{
public class UrlHelper
{
private readonly DashboardContext _context;
public UrlHelper([NotNull] DashboardContext context)
{
if (context == null) throw new ArgumentNullException(nameof(context));
_con... |
#if UNITY_IOS
using UnityEngine;
using System.Runtime.InteropServices;
namespace NativePopup
{
public class IOSNativeMessage : MonoBehaviour, INativeMessage
{
#region IOS_FUNCTION
[DllImport("__Internal")]
private static extern void _init();
[DllImport("__Internal")]
... |
using Newtonsoft.Json;
using System;
namespace Mixer.Chat.Models
{
public class WsUserUpdateEvent
{
[JsonProperty("user")]
public Int64 UserId { get; set; }
[JsonProperty("roles")]
public string[] Roles { get; set; }
[JsonProperty("permissions")]
public string[] Permissions { get; set; }
[JsonProperty... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using Avalonia.Animation;
using Avalonia.Collections;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Diagnostic... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ScottPlot.Demo.Experimental
{
class CustomPlottables
{
public class AddPlottable : PlotDemo, IPlotDemo
{
public string name { get; } = "Add a Plottable Manually";
public string description { g... |
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;
using StatTag.Core.Models;
namespace StatTag.Controls
{
public sealed partial class DateTimeValuePro... |
// <auto-generated />
namespace IronJS.Tests.UnitTests.Sputnik.Conformance.NativeECMAScriptObjects.TheMathObject.FunctionPropertiesOfTheMathObject
{
using System;
using NUnit.Framework;
[TestFixture]
public class SqrtTests : SputnikTestFixture
{
public SqrtTests()
: base(@"Confo... |
using System;
using xLightClient.Core.Networking;
namespace xLightClient.Core.Packets.ClientPackets
{
[Serializable]
public class GetConnectionsResponse : IPacket
{
public string[] Processes { get; set; }
public string[] LocalAddresses { get; set; }
public string[] LocalPorts { g... |
using Xunit;
namespace AliasModelBinder.IntegrationTests
{
public class
IntegrationClassFixture : IClassFixture<IntegrationTestFixture>
{
}
} |
using eMarket.Domain.Product;
using eMarket.Host.Web.Models.Product;
using eMarket.Host.Web.Services.Product;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace eMarket.Host.Web.Controllers
{
[RoutePrefix("Products")]
public class ProductsContr... |
using System;
using System.Collections.Generic;
using System.Html;
using System.Html.Media.Graphics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Xml;
using MorseCode.CsJs.Common;
using MorseCode.CsJs.Common.Data;
using MorseCode.CsJs.Common.Observable;
using MorseCode.CsJs.ViewModel.Grid;
us... |
/*
* 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... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// 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.Elasticsearch.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
namespace Examples.Sear... |
/*
* Copyright 2014 Stanislav Muhametsin. 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
*
* Unless req... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NewsMediaManager.Entities;
//
// Data Access Component for News Media Management
//This layer interacts with Entity Framework
//
namespace NewsMediaMa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Reflection;
using System.Text.RegularExpressions;
using static ClassExplorer.FilterFrame<System.Type>;
namespace ClassExplorer.Commands
{
/// <summary>
/// The FindType cmdlet searches the AppDom... |
using System;
using UnityEngine;
namespace AssetBundleGraph {
[Serializable] public class ConnectionPoint {
[SerializeField] public string pointId;
[SerializeField] public string label;
[SerializeField] public bool isInput;
[SerializeField] public bool isOutput;
[SerializeField] public Rect buttonRect;
... |
using System;
using FluentScheduler;
using Microsoft.Extensions.DependencyInjection;
namespace SFSM_Watchdog
{
public class ApplicationRegistry : Registry
{
// Inject the application service provider using pure DI.
// (see Startup.cs code example)
public ApplicationRegistry(IServicePro... |
namespace Naos.Tracing.Domain
{
using Naos.Foundation.Domain;
public class SpanStartedDomainEvent : DomainEventBase
{
/// <summary>
/// Initializes a new instance of the <see cref="SpanStartedDomainEvent"/> class.
/// </summary>
/// <param name="span">The span.</param>
... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Iviz.Msgs
{
public struct RentEnumerator<T> : IEnumerator<T>
{
readonly T[] a;
readonly int length;
int currentIndex;
public RentEnumerator(T[] a, int length)
{
this.a = a;
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Core.Common.ServiceBus.Dtos;
using GUI.Command;
using GUI.Core.Tree.Helpers;
using GUI.Models.Schema;
using GUI.Models.Schema.Helpers;
namespace GUI.Core.Tree
{
internal static class EquipmentTreeNodeFac... |
using RimWorld;
using Verse;
namespace Flavor_Expansion
{
[DefOf]
public static class EndGameDefOf
{
static EndGameDefOf()
{
DefOfHelper.EnsureInitializedInCtor(typeof(EndGameDefOf));
}
public static RulePackDef FE_History;
public static RulePackDef FE_W... |
// *** 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... |
@model CustomerUserSettingsModel
@using Telerik.Web.Mvc.UI;
@using SmartStore.Core.Domain.Customers;
@using SmartStore.Core.Domain.Security;
@{
ViewBag.Title = T("Admin.Configuration.Settings.CustomerUser").Text;
}
@using (Html.BeginForm())
{
<div class="section-header">
<div class="title">
... |
#pragma warning disable CA1028 // Enum Storage should be Int32
namespace Gw2Sharp.Models
{
/// <summary>
/// Represents a profession.
/// Used by Mumble Link and chat links.
/// </summary>
public enum ProfessionType : byte
{
/// <summary>
/// Guardian.
/// </summary>
... |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using NUnit.Framework;
namespace NUnit.Common.Tests
{
public class TestNameParserTests
{
[TestCase("Test.Namespace.Fixture.Method")]
[TestCase("Test.Namespace.Fixture.Method,")]
[T... |
using Oracle.ManagedDataAccess.Client;
using System;
using System.Data;
namespace GenericSqlProvider.Oracle
{
// Cannot derive from sealed type OracleConnection
public class GenericOracleConnection : IDbConnection, IDisposable
{
private OracleConnection connection;
private OracleTransactio... |
/*
* 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... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using static System.Reflection.BindingFlags;
namespace MinimuAsyncBridgeUnitTest
{
[TestClass]
public class UnitTestMemoryLeak
{
List<WeakRefere... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using TrexRunner.Entities;
using TrexRunner.Graphics;
using TrexRunner.System;
namespace TrexRunner
{
public class TRexRunnerGame : Game
{
pri... |
using Aspose.Tasks.Saving;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference
when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more in... |
@model ACStalkMarket.Models.ResetPasswordViewModel
@{
ViewBag.Title = "Restablecer contraseña";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Restablezca la contraseña.</h4>... |
//------------------------------------------------------------------------------
// <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>
//--... |
#define DOTNET
using System.Collections.Generic;
using ShapeTemplateLib;
namespace Edit2DLib
{
public partial class Edit2DHoleGroup
{
public void RemoveCurrentPolygonVertex()
{
if (MostRecentlySelectedHole == null) return;
if (MostRecentlySelectedHole.HoleType ... |
// 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.
//
// Revision history:
//
// BD - May 2017 - Initial prototype of JIT.
//
using System.Collections.Generic;
using... |
using System;
namespace StringTaskVowelCounter
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Ohjelma kertoo syötteessä olevien vokaalien määrän.");
string userInput = UserInput();
string removedUserInput = VowelsRemove(userInput);
... |
//-----------------------------------------------------------------------
// <copyright file="FlowZipSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//--... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WinTail
{
public class Messages
{
#region Neutral/system messages
/// <summary>
/// Marker class to continue processing.
/// </summary>
public c... |
// *** 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.AwsN... |
@using ASPInformationSystem
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers" |
using System;
using System.IO;
using System.Net;
using Villermen.RuneScapeCacheTools.Exception;
using Villermen.RuneScapeCacheTools.Model;
using Villermen.RuneScapeCacheTools.Utility;
namespace Villermen.RuneScapeCacheTools.Cache.Downloader
{
public class HttpFileDownloader
{
public byte[] DownloadFil... |
/* Copyright (c) 2019 ExT (V.Sigalkin) */
using UnityEngine;
namespace extOSC.Components.ReceiverReflections
{
[AddComponentMenu("extOSC/Components/Receiver/Rect Reflection")]
public class OSCReceiverReflectionRect : OSCReceiverReflection<Rect>
{
#region Protected Methods
protected override bool ProcessMessa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;
usi... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace Bogus.Web
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefault... |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.