text stringlengths 1 932k |
|---|
/*
* Shadowsocks-Net https://github.com/shadowsocks/Shadowsocks-Net
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using System.Buffers;
using Argument.Check;
using Microsoft.Extensions.Logging;
... |
using System;
using System.Runtime.Serialization;
namespace XAS.App.Exceptions {
/// <summary>
/// An exception for missing ConfFiles in config files.
/// </summary>
///
[Serializable]
public class ConfFileMissingException: Exception {
/// <summary>
/// Construtor.
/... |
// *** 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... |
// Copyright (c) Microsoft. 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.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.CodeA... |
// 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 ... |
using System;
namespace Ektron.SharedSource.FluentApi.Mapping.Attributes
{
/// <summary>
/// Attribute indicating the name of the Smart Form attribute to find the value.
/// </summary>
public class SmartFormAttributeAttribute : Attribute
{
/// <summary>
/// Initializes a new instan... |
using System.CodeDom.Compiler;
using System.Threading;
using System.Threading.Tasks;
//------------------------------------------------------------------------------
// This code was auto-generated by ApiGenerator x.x.x.x.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regen... |
/*
* 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 ... |
/*
* Your rights to use code governed by this license https://github.com/AlexWan/OsEngine/blob/master/LICENSE
* Ваши права на использование кода регулируются данной лицензией http://o-s-a.net/doc/license_simple_engine.pdf
*/
using System;
using System.Collections.Generic;
using System.IO;
using OsEngine.Charts.Cand... |
@model DynThings.Data.Models.App
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">App Editor</h4>
</div>
@using (Html.BeginForm("EditPV", "Apps", FormMethod.Post, new... |
using System;
#pragma warning disable 1591
namespace SafeApp.AppBindings
{
public static class AppResolver
{
#if NETSTANDARD
private static Exception NotImplementedInReferenceAssembly()
{
return new NotImplementedException(
"This functionality is not implemented in t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Piskvorky
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Ap... |
//---------------------------------------------------------------------
// <copyright file="BadPrimitiveTypeReference.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------------------... |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Tests.Common.Builders;
using Umbraco.Cms.Tests.Common.Builders.Extensions;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ET
{
public class ConfigAwakeSystem : AwakeSystem<ConfigComponent>
{
public override void Awake(ConfigComponent self)
{
ConfigComponent.Instance = self;
}
}
public class ConfigDe... |
namespace OrdrIn.Api
{
using System;
using System.Security.Cryptography;
using System.Text;
public static class CryptoUtilities
{
public static string GetSHA256(string stringToHash)
{
using (var crypt = new SHA256Managed())
{
var hash = String.Empty;
var bytes = Encoding.UTF8.GetByt... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using NUnit.Framework;
namespace Community.Archives.Core.Tests;
[ExcludeFromCodeCoverage]
public class StreamFixtureFile : IDisposable
{
private readonly bool _isWritable;
public StreamFixtureFile()
{
Content = new MemoryStrea... |
#region License
/*
* All content copyright Marko Lahma, unless otherwise indicated. 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/li... |
using FD.Simple.DB;
using FD.Simple.Utils.Agent;
using M.WorkFlow.Model;
using System.Collections.Generic;
namespace M.WFDesigner.Model
{
public partial class ServicesAndFlowsEntity
{
public string name { get; set; }
public List<WFFlowEntity> flows { get; set; }
}
} |
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Sales.Core.DomainModels;
using Sales.Infrastructure.Data;
namespace Sales.Infrastructure.EntityConfigurations
{
public class VehicleConfiguration : EntityBaseConfiguration<Vehicle>
{
public override void ConfigureDerived(EntityTypeBuilder<Veh... |
namespace AppXLibrary.Services
{
public class AggregateSumService
{
#region Public Constructors
public AggregateSumService(SumService sumService1, SumService sumService2, SumService sumService3)
{
m_sumService1 = sumService1;
m_sumService2 = sumService2;
... |
using System.Windows.Controls;
using SampleApp.ViewModels;
namespace SampleApp.Views
{
public partial class ContentGridDetailPage : Page
{
public ContentGridDetailPage(ContentGridDetailViewModel viewModel)
{
InitializeComponent();
DataContext = viewModel;
}
... |
using Alura.CoisasAFazer.Core.Commands;
using Alura.CoisasAFazer.Infrastructure;
using Alura.CoisasAFazer.Services.Handlers;
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Alura.CoisasAFazer.Testes
{
public class ObtemCategoriaPorIdExecute
{
[Fact]... |
using Gaze.MVVM.Example.Models;
using Gaze.Utilities;
namespace Gaze.MVVM.Example.Services
{
public class SimpleWallet
{
readonly WalletModel wallet;
public SimpleWallet(IDestroyable destroyable, BrokerModel broker, WalletModel wallet)
{
this.wallet = wallet;
... |
//===============================================================================
// Microsoft patterns & practices Enterprise Library
// Validation Application Block
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
// THIS CO... |
// 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;
using System.Globalization;
using System.Threading;
using System.Windows;
using System.Window... |
/*
* 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 />
using System;
using FoodFun.Infrastructure.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DbFrame.Core.CodeAnalysis
{
//
using DbFrame.BaseClass;
using System.Reflection;
using System.Linq;
using System.Linq.Expressions;
/// <summary>
/// select解析
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using PortingAssistant.Client.Model;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System.IO;
using PortingAssistant.Client.NuGet.Interfaces;
using Newtonsoft.Json.Linq;
namespace... |
//-----------------------------------------------------------------------
// <copyright file="LongListFormatter.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author>Mark Junker</author>
//--------------------------------------------------... |
using System;
using System.Collections.Generic;
using MatrixMul.Core.Model;
namespace MatrixMul.Core
{
public class Util
{
public static long GetUnixTimestamp()
{
return (long) DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds;
}
public static str... |
using System;
namespace Molten.Graphics
{
public class AdapterException : Exception
{
public AdapterException(IDisplayAdapter adapter, string message) : base(message)
{
Adapter = adapter;
}
public IDisplayAdapter Adapter { get; private set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IndiaMart_CSV.Models
{
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
public class LeadModel
{
public string RN { get; set; }
pu... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
using System;
public class GetStarted
{
public static void Example1()
{
Decimal pricePerOunce = 17.36m;
String s = String.Format("The current price is {0} per ounce.",
pricePerOunce);
Console.WriteLine(s);
// Result: The current price is 17.36 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Common.Attribute;
using Common.Structure;
namespace Common.Static
{
public static class ItemMapping
{
public static List<string[]> Map<T>(IEnumerable<T> mo... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Configuration;
using System.Threading;
namespace LiftCommon
{
/// <summary>
/// Summary description for DBObject.
/// </summary>
public class DatabaseObject : ModelObject
{
private string baseTable = null;
... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Modify user Automatic Collect Call service settings.
/// The response is eith... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Tracing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Securit... |
using Com.QueoFlow.Peanuts.Net.Core.Domain.Users;
using FluentNHibernate.Mapping;
namespace Com.QueoFlow.Peanuts.Net.Core.Persistence.Mappings {
/// <summary>
/// Bildet das Mapping für einen <see cref="UserGroupMembership" /> ab.
/// </summary>
public class UserGroupMembershipMap : EntityMap<Use... |
namespace Nomad.Signing.SignatureProviders
{
/// <summary>
/// Manages issuers signatures
/// </summary>
public interface ISignatureProvider
{
/// <summary>
/// Register issuer as trusted
/// </summary>
/// <param name="issuerInformation">issuer signature</param>
... |
// Copyright 2004-2012 Castle Project - http://www.castleproject.org/
//
// 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 ... |
namespace Tests.UnitTests
{
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Linq;
using JQDT.Application;
using JQDT.DataProcessing;
using JQDT.DI;
using JQDT.ModelBinders;
using JQDT.Models;
using Moq;
using NUn... |
using EntityFrameworkBase;
using WpfBase.Infrastructure.Contexts;
namespace WpfBase.Infrastructure
{
public class UnitOfWork : UnitOfWork<WpfBaseContext>
{
public UnitOfWork(WpfBaseContext context) : base(context) { }
}
} |
/*
* 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... |
namespace Constellation.UserInputs
{
public class MousePosition : INode, IReceiver, IUpdatable {
public const string NAME = "MousePosition";
private ISender Sender;
private ISender YPositionSender;
private Ray XPosition;
private Ray YPosition;
private Ray keyState;
... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using TortoiseTweet.Core;
using TortoiseTweet.Core.Cosmos;
using TortoiseTweet.Core.Models;
namespace TortoiseTweeter
{
public static class TweetSender
{
private static Twee... |
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with processes and practices
* involving Domain Dri... |
// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved.
#if !(UNITY_FLASH || UNITY_NACL || UNITY_METRO || UNITY_WP8 || UNITY_WIIU || UNITY_PSM || UNITY_WEBGL || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE)
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Network)]
[... |
// <copyright file="IterationCountStopCriterionTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted,... |
using AoC.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AoC.Advent2016
{
public class Day14 : IPuzzle
{
public string Name => "2016-14";
static char FindTriplet(int index, string input, bool stretch, Dictionary<int, char> cache, Dictionary<int, string> ha... |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
public class SA1206CSharp9UnitTests... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LightweightIOC.Contract;
using LightweightIOC.Tests.Mocks;
using System;
using System.Collections.Generic;
using System.Text;
namespace LightweightIOC.Tests
{
[TestClass]
public class SimpleRegistrationTests
{
[TestMethod]
public void RegisterSimpleType... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using System.Security.Claims;
namespace _01_basic_example.Controllers
{
[Produces("application/json")]
[R... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Intercom.Clients;
using Intercom.Core;
using Intercom.Data;
using Intercom.Exceptions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using RestSharp;
namespace Intercom.Converters.ClassConverters
{
public clas... |
// The MIT License(MIT)
//
// Copyright(c) 2021 Alberto Rodriguez Orozco & LiveCharts Contributors
//
// 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 withou... |
//Copyright (c) 2007-2010, Adolfo Marinucci
//All rights reserved.
//Redistribution and use in source and binary forms, with or without modification,
//are permitted provided that the following conditions are met:
//
//* Redistributions of source code must retain the above copyright notice,
// this list of conditi... |
using OpenQA.Selenium;
namespace TestWare.Engines.Appium.Factory
{
public interface IAppiumDriver :IWebDriver
{
}
} |
//
// ModuleController.cs
//
// Author:
// Daniel Köb <daniel.koeb@peony.at>
//
// Copyright (C) 2016 Daniel Köb
//
// 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, ... |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Models.ThirdParty
{
/// <summary>
/// <para>表示 [POST] /v2/skill/save 接口的响应。</para>
/// </summary>
public class SkillSaveResponse : WechatOpenAIThirdPartyResponse<SkillSaveResponse.Types.Data>
{
pub... |
using System;
namespace RevStackCore.WebPush
{
public class PushSubscription
{
public string Endpoint { get; set; }
public string P256DH { get; set; }
public string Auth { get; set; }
public bool Subscribed { get; set; }
public DateTime? DateSubscribed { get; set; }
public DateTime? DateUnsubscribed { g... |
// 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.Globalization;
using System.IO;
using System.Linq;
using NuGet.Common;
using NuGet.Configu... |
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class IPv4ValidatorTests
{
[TestCase("123.456.789.0", false)]
[TestCase("127.0.0.1", true)]
public void IpValidatorTest(string ip, bool isValid)
{
Assert.AreEqual(isValid, IPv4... |
#region Using Statements
using System.Collections.Generic;
using MinerWarsMath;
#endregion
namespace MinerWars.AppCode.Physics
{
//////////////////////////////////////////////////////////////////////////
/// <summary>
/// Rigid body descriptor
/// </summary>
class MyRigidBodyDesc
{
#... |
using System;
class LightTheTorches
{
static bool[] basement;
static void Main()
{
int n = int.Parse(Console.ReadLine());
string readLine = Console.ReadLine();
basement = UpdateTheBasementState(readLine, n);
int currentRoomPos = n / 2;
while (true)
{
... |
namespace ExcelMerge
{
public class ExcelCell
{
public string Value { get; private set; }
public int OriginalColumnIndex { get; private set; }
public int OriginalRowIndex { get; private set; }
public ExcelCell(string value, int originalColumnIndex, int originalRowIndex)
... |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2017
// by DotNetNuke Corporation
//
// 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 restrict... |
using System;
using System.Linq;
using System.Reflection;
namespace SolastaUnfinishedBusiness.Utils
{
internal static class ModHelpers
{
internal static Assembly GetModAssembly(string modName)
{
return AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(x => x.FullName.Contains(... |
namespace DemoShop.Web.Configuration
{
public class DirectPaymentsConfiguration
{
public string SiteKey { get; set; }
public string CodexApiPublicKey { get; set; }
public string SiteUrl { get; set; }
public string CodexApiPaymentUrl { get; set; }
}
} |
// 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Management.... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SystemDot
{
public class ApplicationTypeActivator
{
public IList<T> InstantiateTypesOf<T>()
{
return GetTypes<T>()
.Select(Activator.CreateInstance)
.Cast<T>()
... |
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnostics.Tracing;
using Microsoft.Diagnostics.Tracing.Parsers;
using Microsoft.Diagnostics.Tracing.Session;
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Runtime.InteropServices;
namespace realmon.Utilities... |
using System;
using System.Collections;
using System.Collections.Generic;
using AssetBundles;
using UnityEngine;
using UnityEngine.U2D;
public class AtlasLoader : MonoSingleton<AtlasLoader>
{
private Dictionary<string, Action<SpriteAtlas>> spriteAtlasFlagDict = null;
private Dictionary<string, SpriteAtlas> sp... |
// *** 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.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Common.ViewModel.Tests
{
[TestClass]
public class BaseEntityViewModelTest
{
/// <summary>
/// Validate that BaseEntityViewModel.Initialize returns a valid task.
/// </summary>
... |
using System;
using EPiServer.Core;
using EPiServer.Framework.DataAnnotations;
using EPiServer.PlugIn;
namespace AlloyTemplates.Models.Properties
{
/// <summary>
/// Property type for storing a list of strings
/// </summary>
/// <remarks>For an example, see <see cref="AlloyTemplates.Models.Pages.SiteP... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BookSubscriptions.Api.Presenters;
using BookSubscriptions.Core.Dto.UseCaseRequests;
using BookSubscriptions.Core.Interfaces.UseCases;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore... |
using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public partial class TdApi
{
/// <summary>
/// Returns restricted supergroup members; can be used only by administrators
/// </summary>
public partial cl... |
//===============================================================================================================
// System : EWSoftware Data List Control Demonstration Applications
// File : MainForm.cs
// Author : Eric Woodruff (Eric@EWoodruff.us)
// Updated : 10/01/2014
// Note : Copyright 2005-2014, Eric W... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System... |
namespace Kenc.AbuseIPDB.ApiReplies
{
using System.Text.Json.Serialization;
public class ErrorReply
{
[JsonPropertyName("errors")]
public Error[] Errors { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Management;
using System.Net;
using System.Text;
namespace Discord_Token_Stealer
{
static class Program
{
static void Main()
{
#region grabbing token
string string1 = Environment.GetFolderPath... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LeetCode;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Tests
{
[TestClass()]
public class _299_BullsAndCowsTests
{
[TestMethod()]
public void G... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
namespace CustomScriptableObjects.Core.Collections
{
using System;
using UnityEngine;
[CreateAssetMenu(menuName = MenuPath.COLLECTIONS + "String")]
[Serializable]
public class CollectionString : BaseCollection<string> { }
} |
using System;
using System.Collections.Generic;
using Microsoft.Toolkit.Diagnostics;
namespace Foundry.Linq
{
public static partial class Linq
{
/// <summary>
/// Batches all elements in a sequence into separate arrays of up to the specified size.
/// </summary>
/// <param name... |
//
// FastResumeTests.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2019 Alan McGovern
//
// 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 restri... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.DirectX;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BEPUphysics.CollisionShapes;
using BEPUutilities;
using BEPUphysics.Entities;
using BEPUphysics.CollisionShapes.ConvexShapes;
namespace BEPUphysics.BroadPhaseEntries.MobileCollidables
{
/// <summary>
/// Contains meth... |
// <author>Niclas Pehrsson (npehrsson@gmail.com)</author>
// <author>Adam Brengesjö (ca.brengesjo@gmail.com)</author>
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Data.SqlClient;
using SimpleDbMigrations.DbExtensions;
namespace SimpleD... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using GildedRose.Console.Resources;
using GildedRose.Console.Resources.Items;
namespace GildedRose.Console
{
public class Program
{
public static void Main(string[] args)
{
System.Console.WriteLi... |
using System.Linq.Expressions;
using EfficientDynamoDb.Converters;
using EfficientDynamoDb.FluentCondition.Core;
using EfficientDynamoDb.FluentCondition.Factories;
using EfficientDynamoDb.Internal.Constants;
using EfficientDynamoDb.Internal.Core;
namespace EfficientDynamoDb.FluentCondition.Operators.Common
{
inter... |
/*
* 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 Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpacedRepApp.Infrastructure
{
public class Space... |
using System;
namespace Notify.Tests.UnitTests
{
public static class Constants
{
public static String fakeApiKey { get {
return @"FAKEKEY-fd29e561-24b6-4f32-be5c-e642a1d68641-57bdfd56-ac07-409b-8307-71419d85bb9c";
}
}
public static String fakePhoneNumber { ... |
// Copyright (c) Microsoft. 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.Linq;
namespace Microsoft.CodeAnalysis
{
internal static class GreenNodeExtensions
{
... |
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace BHive.Editor
{
public class BHiveWindow : UnityEditor.EditorWindow
{
public Vector2 actionMousePosition;
Vector2 dragOffset;
const int kWindowHeight = 80;
const int kWindowWidth = 160;
[Serialize... |
[assembly: Xamarin.Forms.ExportRenderer(typeof(Xamarin.Forms.ContentPage), typeof(XamarinDarkMode.iOS.Renderers.PageRenderer))]
namespace XamarinDarkMode.iOS.Renderers
{
using System;
using UIKit;
using Xamarin.Forms.Platform.iOS;
using XamarinDarkMode.Styles;
public class PageRenderer : Xamarin.F... |
namespace Sample10.ViewModels
{
public class UserViewModel
{
public int Id { set; get; }
public string CustomName { set; get; }
public int PostsCount { set; get; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.