text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using AutoStep.Elements.Interaction;
using AutoStep.Language.Interaction.Traits;
using BenchmarkDotNet.Attributes;
namespace AutoStep.Benchmarks
{
public class TraitGraphBenchmarks
{
private Random random = null!;
private int r... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace MiniEngine.Systems.Generators.System
{
internal sealed class SystemClass
{
public SystemClass(ClassDeclarationSyntax parent)
{
this.Class = parent;
this.ProcessAll... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace SportsTeams.Model.DTO.Requests
{
public class PlayerInsertRequest
{
[Required(AllowEmptyStrings = false)]
[MinLength(3)]
[MaxLength(30... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipe... |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using PPTail.Extensions;
namespace PPTail.Data.MediaBlog
{
public class MediaPost
{
public String Author { get; set; }
public String Description { get; set; }
public S... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Xml;
namespace Recurly
{
public class Purchase : RecurlyEntity
{
/// <summary>
/// The collection method for the invoice (Automatic or Manual)
/// </summary>
public Invoice.Collection CollectionMetho... |
using Invector;
using Invector.IK;
using Invector.vCharacterController;
using Invector.vEventSystems;
using Invector.vShooter;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MultiplayerARPG
{
public class InvectorCharacterModel : BaseCharacterModel
{
[System.Se... |
namespace FootballManager
{
using MyWebServer;
using FootballManager.Data;
using System.Threading.Tasks;
using MyWebServer.Controllers;
using MyWebServer.Results.Views;
using Microsoft.EntityFrameworkCore;
using FootballManager.Data.Common;
using FootballManager.Common;
using Footba... |
using NBitcoin;
using NBitcoin.Protocol;
using NBitcoin.RPC;
using Org.BouncyCastle.Math;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security;
using System.Text;
using System.Threading;
us... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Unicab.Api.Contexts;
using Unicab.Api.Models;
namespace Unicab.Api.Controllers
{
[Route("api/[controller]")]
... |
using System.Collections;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using UnityEngine;
using ZLogger;
#if UNITY_STANDALONE_WIN
using System.IO;
using Valve.VR;
#endif
public class OverlayInitialize : MonoBehaviour
{
[SerializeField] private GameObject _OverlaySystem = default;
// S... |
//------------------------------------------------------------------------------
// <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 GW2EIEvtcParser.EIData;
using static GW2EIEvtcParser.ArcDPSEnums;
namespace GW2EIEvtcParser.ParsedData
{
public class NonDirectBreakbarDamageEvent : AbstractBreakbarDamageEvent
{
private int _isCondi = -1;
internal NonDirectBreakbarDamageEvent(CombatItem evtcItem, AgentData agentData, Sk... |
/*
Copyright ©2020-2022 WellEngineered.us, all rights reserved.
Distributed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
using System;
using System.Reflection;
using NUnit.Common;
using NUnitLite;
namespace WellEngineered.Siobhan.UnitTests.Cli
{
/// <summary>
/// Entry point clas... |
using Atlas.Core;
namespace Atlas.Tabs.Test.DataGrid;
[ListItem]
public class TabTestDataGrid
{
public static TabTestGridCollectionSize CollectionSize => new();
public static TabTestGridHashSet Enumerable => new();
public static TabTestGridDictionary Dictionary => new();
public static TabTestArray Array => new();... |
//-----------------------------------------------------------------------
// <copyright file="NewAppUserActivity.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the L... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 of the License at
// http://www.ap... |
using PnP.Core.Services;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace PnP.Core.Model
{
/// <summary>
/// Delegate used to connect model validation for one or more fields
/// </summary>
/// <param name="propertyUpdateRequest">Information about the property bei... |
using System;
using UnityEngine.UI;
namespace ETModel
{
public static class ActionHelper
{
public static void Add(this Button.ButtonClickedEvent buttonClickedEvent, Action action)
{
buttonClickedEvent.AddListener(() => { action(); });
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AsyncExceptionConsoleDemo
{
class Program
{
static void Main(string[] args)
{
NullReferenceTest();
while (true)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PharmacyManagement
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... |
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(WebApplication24.Startup))]
namespace WebApplication24
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace Vexe.Runtime.Extensions
{
public delegate void MemberSetter<TTarget, TValue>(ref TTarget target, TValue value);
public delegate TReturn MemberGetter<TTarget, TReturn>(TTarget tar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Client.Client.General
{
/// <summary>
/// 鍵の情報をあらわすクラス
/// </summary>
public class KeyData
{
/// <summary>秘密鍵</summary>
public string PrivateKey { get; set; }
/// <summary>公開鍵</s... |
@model GerenciadorCondominios.ViewModels.LoginViewModel
@{
ViewData["Title"] = "Redefinir Senha";
}
<div class="collection with-header">
<div class="collection-header">
<h5>Redefina sua senha</h5>
</div>
<form asp-action="RedefinirSenha">
<div class="collection-item">
<div... |
using FixIt.Mobile.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
using Xamarin.Forms;
namespace FixIt.Mobile.ViewModels
{
public class NewItemViewModel : BaseViewModel
{
private string text;
private string description;
public Ne... |
using IdentityModel.Client;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
///
/// Adapted from https://github.com/I... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Response to a SystemTreatmentMappingCallBlockingServiceGetListRequest22.
/// ... |
using CurlToCSharp.Models;
using CurlToCSharp.Models.Parsing;
namespace CurlToCSharp.UnitTests.Models.Parsing;
public class CertificateParameterEvaluatorTests
{
[Fact]
public void Evaluate_CertificateWithPassword_Success()
{
var evaluator = new CertificateParameterEvaluator();
var span = n... |
// *** 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... |
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Cmdlets
{
using static Commvault.Powershell.Runtime.Extensions;
/// <summary>Get All Compa... |
using NUnit.Framework;
using SFA.DAS.Payments.AcceptanceTests.EndToEnd.Extensions;
namespace SFA.DAS.Payments.AcceptanceTests.EndToEnd.Tests
{
public class FeatureInfoNumberExtractorTests
{
[TestCase("title-with-number-at-end-PV2-123", ExpectedResult = "123")]
[TestCase("PV2-456-title-with-num... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Scarlet.IO.ContainerFormats
{
public abstract class ContainerElement
{
protected ContainerElement() { }
public virtual string GetName()
{
return "NoName";
... |
using System;
namespace ShutdownTimer.Helpers
{
public static class ArgProcessor
{
public static string argMode = "Prefill";
public static string argTime;
public static string argAction = "Shutdown";
public static bool argGraceful = false;
public static bool argPreventS... |
namespace Thrift.Net.Tests.Compilation.Symbols.Enum
{
using NSubstitute;
using Thrift.Net.Compilation.Binding;
using Thrift.Net.Compilation.Symbols;
using Thrift.Net.Compilation.Symbols.Builders;
using Thrift.Net.Tests.Utility;
using static Thrift.Net.Antlr.ThriftParser;
public abstract cla... |
@inherits Umbraco.Web.Mvc.UmbracoViewPage<TitleComponent>
@using Umbraco.Web.PublishedModels
@using U8StarterKit.Web.Extensions
@if (Model.Title.HasValue())
{
<h2 class="title is-size-4">@Model.Title</h2>
}
@if (Model.SubTitle.HasValue())
{
<div class="subtitle is-size-6">@Model.SubTitle</div>
} |
// 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 System.Net
{
internal static class RangeValidationHelpers
{
public static bool ValidateRan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Tweetbook.Options
{
/// <summary>
/// This is for swagger to do it's things I guess
/// </summary>
public class SwaggerOptions
{
public string JsonRoute { get; set; }
public s... |
using System;
using System.Linq;
using System.Web;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.Lint;
namespace SJP.Schematic.Reporting.Html.Lint.Rules
{
internal sealed class ForeignKeySelfReferenceRule : Schematic.Lint.Rules.ForeignKeySelfReferenceRule
{
public ... |
using Pipliz.Mods.APIProvider.Science;
using Server.Science;
namespace Pipliz.Mods.BaseGame.Researches
{
[AutoLoadedResearchable]
public class QuarterBlockDyer : BaseResearchable
{
public QuarterBlockDyer ()
{
key = "pipliz.baseresearch.quarterblockdyer";
icon = "gamedata/textures/icons/quarterblockwhite... |
namespace P01_StudentSystem.Data.Models
{
public class Resource
{
public int ResourceId { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public ResourceType ResourceType { get; set; }
public int CourseId { get; set; }
public Cou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using AElf.Cryptography;
using AElf.Kernel;
using AElf.OS.Network.Helpers;
using AElf.OS.Network.Infrastructure;
using AElf.OS.Network.Protocol.Types;
using Moq;
using Shouldly;
using Xunit;
namespace AEl... |
using EditorUtils;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Xunit;
namespace Vim.UnitTest
{
public abstract class ReplaceModeIntegrationTest : VimTestBase
{
protected IVimBuffer _vimBuffer;
protected ITextView _textView;
protected ITextBuffer _... |
using Marketplace.Shared;
using System.Collections.Generic;
using System.Linq;
namespace Marketplace.Client.Models.Filters.Orders
{
public class QuantityOrderFilter : IOrderFilter<UnturnedItem>
{
public string Text => "Quantity";
public bool Enabled { get; set; } = false;
public void... |
using Microsoft.Management.Infrastructure;
using Microsoft.Management.Infrastructure.Options;
using SimCim.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
namespace SimCim.Root.StandardCimV2
{
public struct CIMRouteUsesEndpointAssociation
{
private ... |
using Microsoft.EntityFrameworkCore;
using Stock.Domain.Models;
using Stock.Infrastructure.Context;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Stock.Infrastructure.Repositories
{
public class ProductTransitionRepository : Repository<ProductTransition>
{
... |
using System;
using Windows.System;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Shapes;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
#if _CREATE_WIFI_CONNECTION
using Windows.Devices.WiFi;
#endif
using Windows.Devices.Enumeration;
using Windows.Foundation;
... |
using System.Collections.Generic;
using System.Linq;
using Content.Shared.GameObjects.Components.Chemistry;
using JetBrains.Annotations;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.GameObjects.Components.UserInterface;
using Robust.Shared.Io... |
using Windows.UI.Xaml;
namespace Xamarin.Forms.Platform.UWP
{
public class FormsProgressBar : Windows.UI.Xaml.Controls.ProgressBar
{
public static readonly DependencyProperty ElementOpacityProperty = DependencyProperty.Register(
nameof(ElementOpacity), typeof(double), typeof(FormsProgressBar), new PropertyMeta... |
// 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;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Abstractio... |
// ------------------------------------------------------------------------------
// 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.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace ArchitectNow.Web.Services
{
public class ServiceInvoker : IServiceInvoker
{
private readonly IExceptionResultBuilder _exceptionResultBuilder;
public Servic... |
using AutoMapper;
using FreeRedis;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi.Models;
using OnceMi.AspNetCore.IdGenerator;
using OnceMi.Framework.Entity.Admin;
using OnceMi.Framework.IRepository;
using OnceMi.Framework.IService.Admin;
using OnceMi.Framework.Model.Attri... |
namespace FindAndReplace
{
public class LiteMatch
{
public int Index { get; set; }
public int Length { get; set; }
}
} |
using Grohe.Ondus.Api.Client;
using Grohe.Ondus.Api.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Grohe.Ondus.Api.Actions
{
public class ApplianceAction : AbstractionAction
{
#region class BaseApplianceList
public class BaseApplianceList : Li... |
// <copyright file="ThreadSafeLazyBaseSingleton.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// 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... |
/*
MIT License
Copyright (c) 2022 Luis Ernesto Sustaita Loera
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, including without limitation the rights
to use, copy, modify, me... |
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace FormsSuger
{
public partial class Form1 : Form
{
System.Windows.Forms.Timer time = new System.Windows.Forms.Timer();
Screen_Capture t;
public static int ret_x;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SmartAdminMvc.Models
{
public class PortResponseSummaryViewModel : ViewModelBase
{
public int PortNumber { get; set; }
public string Protocol { get; set; }
public string State { get; set; }... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Hosting;
using Newtonsoft.Json;
using System;
using System.Linq;
using System.Threading;
using System.Net.Http;
using Runner.Tools;
using Directory = System.IO.Directory;
using Path = System.IO.Path;
using IOFile = System.IO.File;
namespace Runner.Controllers
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.CompilerServices;
using QUnit;
namespace CoreLib.TestScript.Exceptions {
[TestFixture]
public class JsErrorExceptionTests {
[Test]
public void TypePropertiesAreCorrect() {
Assert.AreEqual(typeof(JsError... |
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public class FreeCamera : MonoBehaviour
{
[SerializeField] float m_rotSpeed = 2f, m_moveSpeed = 2f;
[SerializeField] Transform m_camera;
private Rigidbody m_rigidbody;
private float _rotX, _rotY;
private void Awake()
{
m_rigidb... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace RayTest.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Movie",
... |
using CnGalWebSite.DataModel.Model;
using System.ComponentModel.DataAnnotations;
using System;
using System.Collections.Generic;
namespace CnGalWebSite.DataModel.ViewModel
{
public class EditAddInforViewModel
{
/// <summary>
/// 是否真实提交表单 或添加staff
/// </summary>
public string ... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: Bruno Lowagie, Paulo Soares, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation wit... |
using System;
namespace Project.UI.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
/*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any da... |
#region License
/*
* Copyright 2017 Brandon James
*
* 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 appl... |
using NUnit.Framework;
using Shouldly;
using System.Linq;
using System.Threading.Tasks;
using Teacher.Website.Feature.Interview.Category.List;
namespace Teacher.Website.Integration.Tests
{
[TestFixture]
public class Interview_Category_List_Tests : TestBase
{
[Test, Order(1)]
public async T... |
using UnityEngine;
using UnityEngine.UI;
public class TankHealth : MonoBehaviour
{
private float m_CurrentHealth;
private bool m_Dead;
private AudioSource m_ExplosionAudio;
private ParticleSystem m_ExplosionParticles;
public GameObject m_ExplosionPrefab;
public Image m_FillIma... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using Excel = Microsoft.Office.Interop.Excel... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MusicManager : MonoBehaviour
{
public AudioSource _AudioSource;
public AudioClip _AudioMusicClip1;
public AudioClip _AudioMusicClip2;
// Start is called before the first frame update
void Start()
{... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
using UnityEngine;
using UnityEngine.UI;
[Serializable]
public class PopupPanel
{
public delegate void ButtonClick(string sceneName);
[SerializeField]
private GameObject _popup;
[SerializeField]
private Button _replayButton;
[SerializeField]
private Button _menuButton;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Oracle.ManagedDataAccess.Client;
using System.Text.RegularExpressions;
namespace OracleSugar
{
/// <summary>
/// 序列
/// </summary>
public class SequenceModel
{
/// <summary>... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Clunker.Networking
{
public struct ClientMessagingTarget
{
public MessagingChannel Channel;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceProxy
{
public sealed class DeclareScreenCommand : WorldBuilderCommand
{
private int type;
private int x;
private int y;
public int Type
... |
/**************************************************************************************************/
/*!
\file EKIT_Extensions_Type.cs
\author Craig Williams
\par Unity Version: 2019.3.5
\par Updated:
\par Copyright: Copyright 2019-2020 Craig Joseph Williams
\brief
This file contains functionality for ... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Game;
using System;
namespace Tests
{
public class GridGenerationTest : MonoBehaviour
{
[Test]
public void GridCreation()
{
Vector2 origi... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
using UnityEngine;
using UnityEngine.UI;
public class SwitchTextOnToggle : MonoBehaviour
{
Toggle m_Toggle;
public Text ToggleText, Question1, Question2, Question3, Question4;
string[] EnglishQuestions = {
"What benefits does this toothpaste have?",
"Is there a different brand?",
... |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Data.Common;
using AdoNetCore.AseClient.Interface;
using AdoNetCore.AseClient.Internal;
namespace AdoNetCore.AseClient
{
/// <summary>
/// ASE implem... |
using System.Globalization;
using System.Text;
namespace YukariToolBox.LightLog;
/// <summary>
/// 格式化的控制台日志输出
/// </summary>
public static class Log
{
#region Log设置
/// <summary>
/// Log配置
/// </summary>
public static LogConfiguration LogConfiguration { get; } = new();
#endregion
#regi... |
using System;
namespace Shelfy.Infrastructure.Exceptions
{
public class ShelfyException : Exception
{
public string Code { get; }
protected ShelfyException()
{
}
protected ShelfyException(string code)
{
Code = code;
}
protected She... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MSFS_2020_Tail_Number_Fixer___FSUIPC
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STATh... |
namespace PaketLoadScripts
#load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/uap10.0.16300/Microsoft.AspNetCore.Connections.Abstractions.csx"
#load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/uap10.0.16300/Microsoft.Extensions.Options.csx"
#load "/home/justin/code/fsharp/G... |
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// OpenApiValidStrategy Data Structure.
/// </summary>
public class OpenApiValidStrategy : AlipayObject
{
/// <summary>
/// 失效时间
/// </summary>
[JsonPropertyN... |
using BLL.Extensions.Common;
using DAL.DTO.ZZXT;
using DAL.QueryModel;
using DAL.QueryModel.QueryItemTemplate;
using DAL.QueryModel.QueryItemTemplate.QueryItems;
using System.ComponentModel.DataAnnotations;
using TrainSchdule.ViewModels.System;
using TrainSchdule.ViewModels.Verify;
namespace TrainSchdule.ViewModels.P... |
// 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.Security;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Win32;
namespa... |
namespace GRUNet.Segmentos
{
public interface ISegmento
{
Leiaute Leiaute { get; set; }
TipoArrecadacao Tipo { get; set; }
Contribuinte Contribuinte { get; set; }
string CodigoBarras { get; set; }
decimal Valor { get; set; }
void Valida();
}
} |
using Editor_Mono.Cecil.Metadata;
using System;
namespace Editor_Mono.Cecil
{
public sealed class PinnedType : TypeSpecification
{
public override bool IsValueType
{
get
{
return false;
}
set
{
throw new InvalidOperationException();
}
}
public override bool IsPinned
{
get
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Cimob.Models.ManageViewModels
{
public class SetPasswordViewModel
{
[Required]
[StringLength(100, ErrorMessage = "The {0} must be at least {2}... |
using Unity.Entities;
using UnityEngine;
class ComponentDataProxyToEntitySystem : GameObjectConversionSystem
{
protected override void OnUpdate()
{
ForEach((Transform transform) =>
{
GameObjectEntity.CopyAllComponentsToEntity(transform.gameObject, DstEntityManager, Get... |
/*
* 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.Threading.Tasks;
using CarMicroservice.Data;
using Common.Models.Cars;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace CarMicroservice.Controllers.Cars
{
[Route("api/[controller]")]
[ApiController]
public class ReservationController : ControllerBas... |
using LazyBot.Entity;
using UnityEngine;
[CreateAssetMenu(menuName = "State/Patrol")]
public class PatrolStateSO : EntityStateSO
{
public override void Excute(EntityController controller) // patrolling the path
{
if(controller.IsSleep) return;
float speed = 0.0f;
if (controller.D... |
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("3D... |
// Copyright (c) 2016, SolidCP
// SolidCP is distributed under the Creative Commons Share-alike license
//
// SolidCP is a fork of WebsitePanel:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted ... |
using System;
using System.Linq;
namespace _05.Rubiks_Matrix
{
public class RubiksMatrix
{
public static void Main()
{
var matrixSizes = Console.ReadLine()
.Split(new char[] {' ', '\t', '\n'}, StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse)... |
using DddEfteling.FairyTales.Controls;
using DddEfteling.Shared.Boundaries;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
namespace DddEfteling.FairyTales.Boundaries
{
[Route("api/v1/fairy-tales")]
public class FairyTaleBoundary : Controller
{
private readonly IFa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.