text stringlengths 1 932k |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Finish : MonoBehaviour
{
private AudioSource winSoundEffect;
private bool levelCompeleted = false;
void Start()
{
winSoundEffect = GetComponent<AudioSource>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeMusicLevel : MonoBehaviour
{
// Reference to Audio Source component
private AudioSource audioSrc;
// Music volume variable that will be modified
// by dragging slider knob
private float musicVolume ... |
// WARNING
//
// This file has been generated automatically by Visual Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
namespace LetterApp.iOS.Views.Chat.Cells
{
[Registe... |
using System.Collections.Generic;
using System.Drawing;
using BGSObjectDetector;
namespace LineDetector
{
//TODO(isaach): Pull methods into a separate interface for things that overlap with ICrossingDetector and ILineBasedDetector.
/// <summary>
/// Interface for a line crossing detector that uses a sing... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/codecapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using WeMicroIt.Utils.JSONConverter.Interfaces;
namespace WeMicroIt.Utils.JSONConverter
{
public class JSONConversion : IJSONConversion
{
private JsonSerializerSettings JSONSettings { get; set; }
private ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MikuMikuFlex3.PMXFormat
{
public class 表示枠リスト : List<表示枠>
{
public 表示枠リスト()
: base()
{
}
/// <su... |
/*Problem 12. * Zero Subset
*
We are given 5 integer numbers. Write a program that finds all subsets of these numbers whose sum is 0.
* Assume that repeating the same subset several times is not a problem. */
using System;
using System.Collections.Generic;
class ZeroSubset
{
static void Main()
... |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="XMLCleaner.cs" company="SyndicatedLife">
// Copyright© 2007 - 2021 Ryan Wilson <syndicated.life@gmail.com> (https://syndicated.life/)
// Licensed under the MIT license. See LI... |
using System;
using System.Collections.Generic;
using Javeriana.Pica.ApplicationCore.Entities;
using Javeriana.Pica.ApplicationCore.Interfaces;
using Microsoft.AspNetCore.Mvc;
namespace Javeriana.Pica.Web.Controllers.Api
{
//TODO Implemente los demás controladores de acuerdo a lo descrito en el contexto del talle... |
namespace Api2Captcha
{
public class CaptchaResponse
{
#region Fields
private Response _response;
private string _value;
#endregion
#region Properties
/// <summary>
/// 2Captcha server response value
/// </summary>
public string Value
{
get { return _value; }
... |
// Copyright (c) 2022 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace Telegram.BotAPI.AvailableMethod... |
using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
namespace Mantis_Tests
{
public class HelperBase
{
protected IWebDriver driver;
protect... |
using Newtonsoft.Json;
using SEP3BlazorT1Client.Models;
namespace SEP3BlazorT1Client.Data.Impl.ResponseTypes.RuleResponseTypes
{
public class UpdateRuleResponseType
{
[JsonProperty("updateResidenceRule")] public Rule Rule { get; set; }
}
} |
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("03.... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Json.Schema.Generation.Tests
{
public class NullabilityTests
{
public class ReferenceMember
{
public string Property { get; set; }
}
public class ReferenceMemberWithNull
{
[Nullable(true)]
public ... |
//*********************************************************
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
//
//
//
//
//*********************************************************
namespace Bio.Algorithms.Alignment
{
/// <summary>
/// This class extends PairwiseAlignmentAttributes and a... |
using System.Web;
using System.Web.Optimization;
namespace AbionDotNet
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new Scri... |
using System.Collections.Generic;
using Statiq.Common;
using System.Xml.Linq;
namespace Docs.Shortcodes
{
public class ChildrenShortcode : SyncShortcode
{
public override ShortcodeResult Execute(KeyValuePair<string, string>[] args, string content, IDocument document, IExecutionContext context)
... |
namespace SampleSite.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace Packt.Shared.AutoGen
{
[Index(nameof(CategoryId), Name = "CategoriesProducts")]
[Index(nameof(Categ... |
using Bridge;
namespace Bridge.Html5
{
/// <summary>
/// The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.
/// </summary>
[Ignore]
[Enum(Emit.StringNameLowerCase)]
[Name("String")]
public enum BackgroundCli... |
/*
* MotionClick driver skeleton generated on 11/3/2014 5:36:12 PM
*
* Initial version coded by Stephen Cardinale
* - Re-Trigger Only Mode. Non Re-Trigger not implemented due to unexpected behavior.
* - Night-Only mode not tested, but it should work as expected.
*
* References needed:
* Microsoft.SPOT.Ha... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace StructualTextEditer
{
public partial class Form1 : Form
{
// private PrintInfo pinfo;
... |
using System.Threading.Tasks;
using FirebaseAdmin.Auth;
using Microsoft.AspNetCore.Http;
using Reservatio.Data.Dto;
using Reservatio.Models;
namespace Reservatio.Services.User
{
public interface IUserService
{
Task<string> GetCurrentUserIdAsync(HttpRequest request);
Task<UserRecord> GetCurrent... |
using System;
using System.Collections.Generic;
namespace Abp.Authorization.Roles
{
/// <summary>
/// Used to cache permissions of a role.
/// </summary>
[Serializable]
public class RolePermissionCacheItem
{
public const string CacheStoreName = "AbpZeroRolePermissions";
public... |
using System;
using System.Collections.Generic;
namespace LineMessagingAPI
{
/// <summary>
/// Template message with an image, title, text, and multiple action buttons.
/// https://developers.line.me/en/docs/messaging-api/reference/#buttons
/// </summary>
public class ButtonsTemplate : ITemplate
... |
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using System.ComponentModel;
using Nest;
namespace Examples.Indices
{
public class IndexTemplatesPage : ExampleBase
{
[U(Skip = "Example not implemented")]
[Description("indices/index-templates.asciidoc:33")]
public void Line33()
{
// tag::45266650464f16bc1... |
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace NamingAnalyzer.TestInvalidConfig.Verifiers
{
internal static class CSharpVerifierHelper
{
/// <summary>
/// By default, the compiler reports diagnostics for nullable r... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*
We are testing the following scenario:
interface I<T> {}
[in Class_ImplicitOverrideVirtualNewslot.cs]
class C<T> : I<T> { virtual newslot methods}
class D<T> : C<T>, I<T> {vir... |
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace GuruComponents.CodeEditor.Library.Drawing.Shapes
{
public class ShapeSpyral :ShapeCurve
{
private PointF[] _visiblePoints;
private PointF _startPoint;
private float _frequency;
private int _numSteps;
#region Constr... |
/*
* 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
* distribute... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BattleDialogBox : MonoBehaviour
{
[SerializeField]
Text dialogText;
[SerializeField]
Color highlightedColor;
[SerializeField]
int lettersPerSecond;
[SerializeField]
Game... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Naveego.Auth.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
public partial cl... |
using Discord.API;
using Discord.API.Gateway;
using Discord.Logging;
using Discord.Net.Converters;
using Discord.Net.Udp;
using Discord.Net.WebSockets;
using Discord.Rest;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System... |
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using IdentityModel.OidcClient.Browser;
namespace CSVtoOCS
{
public class SystemBrowser : IBrowser
{
private readonly string _path;
public SystemBrowser(int? port = null, string pat... |
public class Solution {
//runtime: O(n), space complexity: O(1)
public int FirstMissingPositive(int[] nums) {
if(nums == null || nums.Length < 1){
return 1;
}
int n = nums.Length;
bool shouldKeepSwapping = false;
for(int i=0;i<n;i++){
shouldKeepSwa... |
using System;
namespace Landis.Library.Metadata
{
[AttributeUsage(AttributeTargets.Property)]
public class DataFieldAttribute : Attribute
{
public string Unit;
public string Desc;
public string Format;
public bool SppList;
public bool ColumnList;
}
} |
using System;
using DogAgilityCompetition.Circe.Protocol;
using DogAgilityCompetition.Controller.Engine;
using FluentAssertions.Extensions;
namespace DogAgilityCompetition.Specs.Builders
{
/// <summary>
/// Enables composition of <see cref="NetworkComposition" /> objects in tests.
/// </summary>
publi... |
// ------------------------------------------------------------------------------
// <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<... |
namespace OICNet.Server.Hosting
{
/// <summary>
/// Commonly used environment names.
/// </summary>
public static class EnvironmentName
{
public static readonly string Development = "Development";
public static readonly string Staging = "Staging";
public static readonly stri... |
using MagusCharacterGenerator.Castes.Believer.GodsOfPyarron;
using MagusCharacterGenerator.Castes.Sorcerer;
using MagusCharacterGenerator.GameSystem;
using MagusCharacterGenerator.GameSystem.Languages;
using MagusCharacterGenerator.Qualifications.Scientific;
using MagusCharacterGenerator.Races;
using Mtf.Helper;
using... |
using System;
using System.Collections.Generic;
using System.Text;
using OSDevelopment.DiskImages;
namespace vput
{
class Program
{
static int Main(string[] args)
{
if (args[0] == "--help")
{
Console.WriteLine("usage:\r\nvput image-file file newname\r\nv... |
// Copyright (c) Aksio Insurtech. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Aksio.CodeAnalysis;
/// <summary>
/// General extension methods for code analysis.
/// </summary>
public static class Extensions
{
/// <summary>
... |
/*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aspose.Cells;
using Aspose.Cells.Pivot;
namespace Aspose.Cells.Examples.CSharp.PivotTables
{
class PivotTableCustomSort
{
public static void Run()
{
// ExStart:1
//Source direct... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*============================================================
**
**
**
** Purpose: Defines a publically documentable contract for
** reliability between a method a... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Client;
using Microsoft.Azure.Devices.E2ETests.Helpers;
using Microsoft.VisualStudio.TestTool... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Daramkun.Dweb.VirtualHosts
{
public class SiteVirtualHost : VirtualHost
{
public string RootDirectory { get; private set; }
public Dictionary<Regex, string> RewriteRules { get; p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Framework.Binding;
using DotVVM.Framework.Runtime;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Controls
{
/// <summary>
/// Container for content that will be displaye... |
//------------------------------------------------------------------------------
// <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 DbQueue;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test.RestClient
{
[TestClass()]
public class StackTests : CommonTests
{
public StackTests() : base(() => App.Instance.Value.Services.GetService<IDbStack>() as IDbqBoth)
... |
namespace Umbraco.Cms.Integrations.Crm.Hubspot.Models.ViewModels
{
public class HubspotFormViewModel
{
public string PortalId { get; set; }
public string Id { get; set; }
public string Region { get; set; }
public string ScriptPath =>
$"//js{(string.IsNullOrEmpty(R... |
using System;
using Microsoft.AspNetCore.Components;
namespace Blazorise.Components.Rating
{
public partial class Rating : BaseComponent
{
[Inject] IIconProvider IconProvider { get; set; }
protected override void OnInitialized()
{
base.OnInitializedAsync();
Ful... |
using GameHub.Classes;
using GameHub.Models;
using GameHub.Models.BTB;
using GameHubAPI.Interfaces;
using GameHubAPI.Models.DB;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace GameHubAPI.Classes
{
public ... |
namespace AnnoSavegameViewer.Structures.Savegame.Generated {
public class Island4 {
}
} |
// 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 Float = System.Single;
using System;
using System.Globalization;
using Microsoft.ML.Core.Data;
using Microsof... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace agh.algorytmy
{
class GrafSasiedztwa : Graf
{
public List<object> wierzcholki;
public List<List<object>> krawedzi;
private List<int>[] sasiedztwa;
publ... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
namespace Ecommerce.Models
{
public class IndexViewModel
{
public bool HasPassword { get; set; }
public IList<UserLoginInfo> Logins { get; set; }
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
u... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace gView.Server.Middleware
{
public class XForwardedMiddleware
{
private readonly RequestDelegate _next;
public XForwardedMiddleware(RequestDelegate next)
... |
using System;
/*
* AvaTax API Client Library
*
* (c) 2004-2019 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Genevieve Conty
* @author Greg Hester
*/
namespace Avalara.AvaTax.RestClient
{
/// <summ... |
namespace TaskTronic.Drive.Services.Folders
{
using DapperRepo;
using Exceptions;
using MassTransit;
using Microsoft.EntityFrameworkCore;
using Models.Files;
using Models.Folders;
using Services.Employees;
using Services.Messages;
using System;
using System.Collections.Generic;
... |
using System.Drawing;
using System.Windows.Forms;
using Duality.Editor.Plugins.CamView.Properties;
using OpenTK;
namespace Duality.Editor.Plugins.CamView.CamViewStates
{
public class MoveObjectAction : IObjectAction
{
public void Update(CamViewState state, Point mouseLoc, Point beginLoc, Vector3 beginLocSpace, Vec... |
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801
{
using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell;
/// <summary>
/// A PowerShell PSTypeConverter to support converting to an instance of <see cref="VirtualIPMapping" />
/// </summary>
public partial cla... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;
using CsLib;
namespace MMConv {
//using StringList = List<string>;
//using FileInfoList = List<MediaFileIn... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CR4HudModulePickedItemsInfo : CR4HudModuleBase
{
... |
using System;
using System.Reflection;
using UnityEngine;
namespace RuntimeInspectorNamespace
{
public class BoundsField : InspectorField
{
#pragma warning disable 0649
[SerializeField]
private Vector3Field inputCenter;
[SerializeField]
private Vector3Field inputExtents;
#pragma warning restore 0649
priv... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace QRchestra
{
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 class from "AppDele... |
// 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.
/*============================================================
**
**
** Purpose: part of ComEventHelpers APIs which... |
/******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2020. *
* *
* Use subject to the terms of the Apache License 2.0 available at *
... |
using System;
namespace Vts.MonteCarlo
{
/// <summary>
/// Defines a contract for Source classes for Monte Carlo simulation.
/// </summary>
public interface ISource
{
/// <summary>
/// Method to initiate new photon.
/// </summary>
/// <param name="tissue"></param>
... |
using Contoso.Repositories;
using Contoso.Web.Flow.Cache;
using Contoso.Web.Flow.ScreenSettings;
using Contoso.Web.Flow.Requests;
using LogicBuilder.Forms.Parameters;
using LogicBuilder.RulesDirector;
using System.Collections.Generic;
using AutoMapper;
namespace Contoso.Web.Flow
{
public interface IFlowManager
... |
using System;
using System.Linq;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using YS.Knife;
using YS.Knife.EntityFrameworkCore;
namespace Microsoft.EntityFramewo... |
// This code is distributed under MIT license.
// Copyright (c) 2010-2018 George Mamaladze
// See license.txt or https://mit-license.org/
namespace WindowsInput.Capture.Rx {
public enum KeyEventKind
{
Up,
Down
}
} |
using System;
using System.Collections.Generic;
using System.IO.Abstractions;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using EawModinfo.Model;
using EawModinfo.Spec;
using Microsoft.Extensions.DependencyInjection;
using PetroGlyph.Games.EawFoc.Games;
using PetroGlyph.Games.EawFoc.Mods;
using Pet... |
using System;
using SQLRClient;
namespace SQLRExamples
{
class SQLRExample
{
public static void Main()
{
SQLRConnection con = new SQLRConnection("sqlrserver", 9000, "/tmp/example.socket", "user", "password", 0, 1);
SQLRCursor cur = new SQLRCursor(con);
cur.sendQuery("select * from my_table");
... |
using System.Collections.Generic;
using Essensoft.Paylink.Alipay.Response;
namespace Essensoft.Paylink.Alipay.Request
{
/// <summary>
/// alipay.open.iotbpaas.lavidabilldetail.query
/// </summary>
public class AlipayOpenIotbpaasLavidabilldetailQueryRequest : IAlipayRequest<AlipayOpenIotbpaasLavidabill... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using NetOffice;
using NetOffice.Attributes;
using NetOffice.Exceptions;
namespace NetOffice.MSHTMLApi.Behind.EventContracts
{
/// <summary>
/// Default implementation of <see c... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace QDMarketPlace.Models.AccountViewModels
{
public class ExternalLoginViewModel
{
[Required]
public string FullName { get; set; }
[Requir... |
using System;
using System.Collections.Generic;
using ICSharpCodeRenamedToAvoidConflictWithOldSDKs.SharpZipLib.Zip.Compression.Streams;
namespace ICSharpCodeRenamedToAvoidConflictWithOldSDKs.SharpZipLib.Zip.Compression
{
internal class InflaterDynHeader
{
#region Constants
// maximum number of literal/length co... |
/* _BEGIN_TEMPLATE_
{
"id": "TB_Lethal009",
"name": [
"谜题4",
"Puzzle 4"
],
"text": [
"野兽,野兽,还是野兽!",
"Beasts, Beasts and more Beasts!"
],
"cardClass": "NEUTRAL",
"type": "SPELL",
"cost": 0,
"rarity": null,
"set": "TB",
"collectible": null,
"dbfId": 46110
}
_END_TEMPLATE_ */
names... |
using System.Collections.Generic;
using System.Web.Mvc;
namespace DocumentConvert.Utils
{
public class DocumentUtils
{
public static List<SelectListItem> GetDocumentLanguageList()
{
List<SelectListItem> list = new List<SelectListItem>();
list.Add(new SelectListItem { Te... |
using Grpc.Core;
using Grpc.Core.Interceptors;
namespace MyJetWallet.Sdk.Grpc
{
public class CallSourceInterceptor : Interceptor
{
public static string AppName { get; set; }
public static string AppVersion { get; set; }
public static string AppHost { get; set; }
public const st... |
using System;
using System.Collections.Generic;
/// <summary>
/// RNNSharp written by Zhongkai Fu (fuzhongkai@gmail.com)
/// </summary>
namespace RNNSharp
{
public class VectorBase
{
public virtual int Length => 0;
public virtual float this[int i]
{
get { return 0; }
... |
using FSharp.Compiler.SourceCodeServices;
using JetBrains.Annotations;
using JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Tree;
using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.DeclaredElement
{
internal class ModuleValue : FS... |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2022 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* di... |
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace FacioRatio.CSharpRailway.Tests
{
public class ResultMapTExtensionsTests
{
[Fact]
public void Map_IEnumerable_ResultU_Succeeds()
{
var items = new int[] { 1, 2, 3 };
var result = items.Map(i... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Tea;
using Tea.Utils;
using Alipay.EasySDK.Security.TextRisk.Models;
namespace Alipay.EasySDK.Security.TextRisk
{
public class Cli... |
namespace ISAD251_AndyLam.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class first : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Carts",
c => new
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using WorkInOrder.BusinessLogic;
namespace WorkInOrder.Commands
{
internal class ActivateCommand : ICommand
{
private readonly ITaskBoard _board;
private readonly string _taskName;
private readonly Session _session;
... |
// <copyright file="QuestProceedRequestHandlerPlugIn.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameServer.MessageHandler.Quests
{
using System;
using System.Linq;
using System.Runtim... |
using System;
namespace MongoDB.Entities.Tests
{
[Collection("Writer")]
public class Author : Entity, IModifiedOn, ICreatedOn
{
public string Name { get; set; }
public string Surname { get; set; }
[Bson.Serialization.Attributes.BsonIgnoreIfNull]
public string FullName { ge... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
namespace Ryujinx.HLE.HOS.Kernel
{
class KMemoryRegionBlock
{
public long[][] Masks;
public ulong FreeCount;
public int MaxLevel;
public ulong StartAligned;
public ulong SizeInBlocksTruncated;
public ulong SizeInBlocksRounded;
public int Order;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CrewChiefV2.Data;
// Oil temps are typically 1 or 2 units (I'm assuming celcius) higher than water temps. Typical temps while racing tend to be
// mid - high 50s, with some in-traffic running this creeps up to the mid 60s. To ... |
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;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.