content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Spear.Core
{
/// <summary> 单例辅助 </summary>
public class Singleton
{
/// <summary> 所有单例 </summary>
protected static ConcurrentDictionary<Type, object> AllSingletons { get; }
static Single... |
namespace elFinder.Net.Core.Models.Command
{
public class TreeCommand : TargetCommand
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VirtualPath.Tests;
namespace VirtualPath.SshNet.Tests
{
public class IVirtualPathProviderTests : IVirtualPathProviderFixture
{
public IVirtualPathProviderTests()
: base... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bedrock.Common;
namespace SmartSync.Common
{
using File = Bedrock.Common.File;
using Directory = Bedrock.Common.Directory;
public class BasicDirectory : Directory
... |
namespace GiGraph.Dot.Output.Writers.Comments
{
public interface IDotCommentWriter
{
void Write(string comment);
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using BDFramework.Core;
using BDFramework.UI;
using UnityEngine;
using UnityEngine.UI;
using Object = UnityEngine.Object;
[Obsolete("please use new uiframe: uflux.")]
static public partia... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MusicIntensity : MonoBehaviour
{
[FMODUnity.EventRef]
public string NAME_EVENT = "event:/Music";
public FMOD.Studio.EventInstance AUDIO_EVENT;
public FMOD.Studio.ParameterInstance PARAMETER_EVENT;
public... |
namespace YuzuMarker.Model
{
public enum SelectionMode : int
{
New = 0,
Add = 1,
Subtract = 2,
Intersect = 3
}
} |
using System;
using System.IO;
using OWML.Common;
using OWML.Tests.Setup;
using Xunit;
using Xunit.Abstractions;
namespace OWML.GameFinder.Tests
{
public class GameFinderTests : OWMLTests
{
public GameFinderTests(ITestOutputHelper outputHelper)
: base(outputHelper)
{
}
[Fact]
public void PathFinder_Fi... |
using System;
using KickStart.MongoDB;
// ReSharper disable once CheckNamespace
namespace KickStart
{
/// <summary>
/// KickStart Extension for MongoDB.
/// </summary>
public static class MongoExtensions
{
/// <summary>
/// Use the KickStart extension to configure MongoDB.
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CamControl : MonoBehaviour
{
[SerializeField] Transform cam;
public Quaternion bodyRot;
[SerializeField] Options opt;
// Update is called once per frame
void FixedUpdate()
{
if (!Options.opt.ob... |
@model AzureKit.Models.MediaGalleryContent
@{
ViewBag.Title = "Edit Gallery";
}
<h2>Edit Gallery</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Gallery</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
... |
using UnityEngine;
using System.Collections;
public class Platform : BaseBehavior
{
private Transform _player;
public bool IsBroken = false;
public bool IsDead = false;
public float JumpSpeed = 3.5F;
void Start()
{
_player = GameObject.Find("Player").transform;
}
void Up... |
using System.Globalization;
namespace EastAsianWidthDotNet
{
public static class StringExtensions
{
/// <summary>
/// Get the width of the string considering EastAsianWidth.
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public static in... |
using System.Runtime.Serialization;
using UnityEngine;
[DataContract]
public class MonsterInfo : BaseInfoForServer
{
[DataMember]
public int monster_type_id;
[DataMember]
public int monster_num;
[DataMember]
public int radius;
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class SubtractNode : BinaryExpNode
{
public SubtractNode(BrainTreeNode lhs, BrainTreeNode rhs)
: base(lhs, rhs)
{
}
public override double getValue(double elapsedTime, BodySegment seg)
{... |
namespace AutoTask.Psa.Api.Data;
/// <summary>
/// RestUserAccessLevel
/// </summary>
[DataContract]
public enum RestUserAccessLevel
{
}
|
// 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.Threading;
using System.Threading.Tasks;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysi... |
using GameFramework;
using GameFramework.Resource;
using UnityEngine;
using UnityEngine.UI;
using UnityGameFramework.Runtime;
namespace SG1
{
[RequireComponent(typeof(Image))]
[DisallowMultipleComponent]
public class UGUIImageBinding : TextLoadAssetBinding
{
[SerializeField, InspectorReadOnly] ... |
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System.Windows;
using System.Windows.Input;
namespace DigitalRune.Windows.Framework
{
/// <summary>
/// Represents the... |
// ProgramIcon.cs, 10.06.2019
// Copyright (C) Dominic Beger 17.06.2019
using System;
namespace nUpdate.Administration.Core.Application.Extension
{
public class ProgramIcon
{
/// <summary>
/// Represents and empty or nonexistent Program Icon
/// </summary>
public static re... |
using FistVR;
using HarmonyLib;
using UnityEngine;
using UnityEngine.UI;
namespace H3VRMod
{
public class Patch
{
[HarmonyPatch(typeof(FVRMovementManager), "UpdateMovementWithHand")]
[HarmonyPrefix]
public static bool Patch_HandMovementUpdate(FVRMovementManager __instance, ref FVRViveHand hand)
{
if (__i... |
using Lion.AbpPro.FreeSqlReppsitory.Tests;
using Lion.AbpPro.Localization;
namespace Lion.AbpPro.FreeSqlRepository.Tests
{
public abstract class AbpProFreeSqlRepositoryTestBase: AbpProTestBase<AbpProFreeSqlRepositoryTestModule>
{
protected AbpProFreeSqlRepositoryTestBase()
{
Servic... |
using System;
using NHibernate;
using System.Collections.Generic;
namespace lm.Comol.Core.DomainModel
{
[CLSCompliant(true)]
public interface iDataContext : IDisposable
{
bool isDirty { get; }
bool isInTransaction { get; }
void Add(object item);
void Delete(object item);
void Save(object item);
void ... |
using System.Linq;
using System.Collections.Generic;
using HotChocolate.Language;
using HotChocolate.Types;
using HotChocolate.Types.Descriptors;
#nullable enable
namespace HotChocolate.Configuration
{
internal sealed class SyntaxTypeReferenceHandler
: ITypeRegistrarHandler
{
public void Regis... |
//Problem 10. Unicode characters
//Write a program that converts a string to a sequence of C# Unicode character literals.
//Use format strings.
using System;
using System.Linq;
using System.Text;
namespace UnicodeCharacters
{
class UnicodeCharacters
{
static void Main()
{
string ... |
using ATech.Ring.Protocol.Events;
namespace ATech.Ring.Vsix.Client
{
public static class RunnableInfoExtensions
{
public static bool TryGetCsProjPath(this RunnableInfo r, out string csProjPath)
{
csProjPath = string.Empty;
if (r.Details == null || !r.Details.ContainsKey... |
using System;
namespace HomelessDisturbance.Utils
{
internal static class Utilities
{
internal static readonly Random RANDOM = new Random();
internal static bool RandomBool => RANDOM.Next(1) == 0;
}
} |
using AS.Domain.Interfaces;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace AS.Infrastructure.Validation
{
/// <summary>
/// E-Mail Address validator.
/// Uses validation rules of <see cref="EmailAddressAttribute"/>
/// </summary>
public class EmailAddressV... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyWether.Class.Weather_params
{
class RainInfo
{
public float _1h {get; set;} // Rain volume for the last 1 hour , mm
public float _3h {get; set; } // Rain volume for t... |
/*
* @author : Jagepard <jagepard@yandex.ru>
* @license https://mit-license.org/ MIT
*/
using System;
using System.Collections.Generic;
using System.Reflection;
namespace CsDesignPatterns_Mediator
{
internal class Mediator : IMediator
{
private IDictionary<string, AbstractListener> Listeners { ge... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UI : MonoBehaviour
{
private GUIStyle guiStyle = new GUIStyle();
// Start is called before the first frame update
void Start()
{
guiStyle.fontSize = 24; //change the font size
guiStyle.alignmen... |
namespace JRayXLib.Shapes
{
public struct Ray
{
public Vect3 Origin { get; set; }
public Vect3 Direction { get; set; }
}
} |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace KwTools.Hosting.Interfaces
{
/// <summary>
/// ExtensionMethodes for IAddServices, IConfigureBuilder and IConfigureHost
/// </summary>
public st... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace DurandalAuth.Domain.Models.Mapping
{
public class msds_locationMap : EntityTypeConfiguration<msds_location>
{
public msds_locationMap()
{
// Primary Key
this.HasKey... |
using AlbaVulpes.API.Services.AWS;
using AlbaVulpes.API.Services.Content;
using Microsoft.Extensions.DependencyInjection;
namespace AlbaVulpes.API.Extensions
{
public static class AmazonServicesExtensions
{
public static void AddAmazonServices(this IServiceCollection services)
{
se... |
using System;
using Commercial;
var a = new Transaction[4];
a[0] = new Transaction("Turing 6/17/1990 644.08");
a[1] = new Transaction("Tarjan 3/26/2002 4121.85");
a[2] = new Transaction("Knuth 6/14/1999 288.34");
a[3] = new Transaction("Dijkstra 8/22/2007 2678.40");
Console.WriteLine("Unsorted");
for (var i = 0; i <... |
namespace AuthorizationWithRequirement.AuthorizationPolicies
{
public static class AuthorizationPolicyNames
{
public static string MyFeature => "MyFeature";
}
}
|
using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Ninjax.UdmLib;
#pragma warning disable 1998
namespace nx_udm_cli
{
class ClientCommand:Command
... |
using UnityEngine;
using System.Collections;
public class FPSCamera : MonoBehaviour {
private GameObject player;
private Vector3 offset;
public float turnSpeed = 50f;
// Use this for initialization
void Start () {
player = Statics.PlayerBall;
transform.position = player.transform.position;
offset = tra... |
namespace Dapper.Apex
{
/// <summary>
/// Defines the way the operation will be sent to the database for multiple entities.
/// </summary>
public enum OperationMode
{
OneByOne = 0,
SingleShot = 1
}
}
|
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// package quotedprintable -- go2cs converted at 2020 October 09 04:56:12 UTC
// import "mime/quotedprintable" ==> using quotedprintable = go.mime.quotedprintab... |
namespace TodoList.UnitTests.WebUITests
{
using System;
using TodoList.Core.Boundaries.Todo;
using Xunit;
public sealed class TodoPresenterTests : IClassFixture<ControllerFixture>
{
private ControllerFixture _controllerFixture;
public TodoPresenterTests(ControllerFixture controller... |
using Eshopworld.Tests.Core;
using FluentAssertions;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace CaptainHook.Cli.Tests.GenerateJson
{
public class WebhookRequestRulesTests: GenerateJsonCommandBase
... |
using System;
using NUnit.Framework;
using TagLib;
using TagLib.IFD;
using TagLib.IFD.Entries;
using TagLib.IFD.Tags;
using TagLib.Jpeg;
using TagLib.Xmp;
namespace TagLib.Tests.Images
{
[TestFixture]
public class JpegOlympus3Test
{
private static string sample_file = "samples/sample_olympus3.jpg";
private stat... |
using System.IO;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
public class DeleteAfterBuild
{
[PostProcessBuild(1)]
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) {
// Let's delete all streaming assets folder and meta file.
... |
using System;
using UnityEditor;
using UnityEngine;
// Shapes © Freya Holmér - https://twitter.com/FreyaHolmer/
// Website & Documentation - https://acegikmo.com/shapes/
namespace Shapes {
[CustomEditor( typeof(Quad) )]
[CanEditMultipleObjects]
public class QuadEditor : ShapeRendererEditor {
SerializedProperty... |
namespace Phnx.AspNetCore.ETags.Tests.Fakes
{
public class FakeWeakResource
{
public FakeWeakResource()
{
}
public int Id { get; set; }
}
}
|
using System.Collections.Generic;
using MongoDB.Driver;
using Microsoft.Extensions.Configuration;
using System.Linq;
namespace TaskoMask.Infrastructure.Data.DbContext
{
/// <summary>
///
/// </summary>
public class MongoDbContext : IMongoDbContext
{
#region Fields
private readon... |
@using Syncfusion.JavaScript;
@using Syncfusion.JavaScript.DataVisualization;
@section SampleHeading{<span class="sampleName">Chart / Pyramid Chart </span>}
@section ControlsSection{
<div>
<ej-chart id="container" can-resize="true" load="loadTheme">
<e-title text="Sales Distribution of Car by ... |
namespace MSQBot_API.Core.DTOs
{
public record UserRefreshTokenDto : UserLoginDto
{
public string RefreshToken { get; set; } = string.Empty;
public string AccessToken { get; set; } = string.Empty;
}
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
using System;
using UnityEngine.UI;
namespace Mobcast.Coffee.UI.ScrollModule
{
/// <summary>
/// 自動的にスクロールが進行するモジュールです.
/// </summary>
[Serializable]
public class AutoRotationModule
{
#region Serialize
[SerializeField] bool m_AutoJu... |
using GameScene;
using ServerModel;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace GameController.Services
{
public class MusicService: AbstractHttpService
{
public MusicController musicController;
public IEnumerator RequestNextSong()
{
yiel... |
using System;
using AbpvNext.BlobStoring.Extensions;
using Volo.Abp.BlobStoring;
namespace Demo.Blob.Aliyun
{
[BlobContainerName(Name)]
[BlobContainerUrl(60*60*24*365)]
public class ProfilePictureContainer
{
public const string Name = "profile-pictures";
}
/*
public class Consts
... |
using Xunit;
namespace Platform.Singletons.Tests
{
public class DefaultTests
{
[Fact]
public void StructInstanceTest()
{
Assert.Equal(0, Default<int>.Instance);
}
[Fact]
public void ClassInstanceTest()
{
Assert.NotNull(Default<ob... |
using System.Diagnostics.CodeAnalysis;
using MonoMod;
using UnityEngine;
#pragma warning disable CS0626
namespace Frangiclave.Patches.Assets.CS.TabletopUI
{
[MonoModPatch("Assets.CS.TabletopUI.TabletopImageBurner")]
[SuppressMessage("ReSharper", "UnusedMember.Local")]
public class TabletopImageBurner : gl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AlertBot : MonoBehaviour
{
public GameObject[] copies;
float alertDelay = 1f;
int jumpForce = 8;
Rigidbody rb;
public AudioSource alert;
void OnTriggerEnter(Collider collider)
{
if (collider... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Windows.Forms;
namespace Duck.Cameras.Windows.Controls
{
[DesignerCategory("Code")]
public class FloatButton : PictureBox
{
public FloatButton()
{
Se... |
namespace CreativeCoders.Config.Base
{
public interface ISettingScoped<out T> : ISetting<T>
where T : class
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace QFSW.QC.Actions
{
/// <summary>
/// Gradually types a message to the console.
/// </summary>
public class Typewriter : Composite
{
/// <summary>
/// Confi... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Linq;
using System.Text;
namespace GoogleAdmin
{
[Serializable()]
public class GoogleDirectoryResponseBase
{
[OptionalField()]
public GoogleDirectoryResponseError error;
[OptionalField(... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using FlowTomator.Common;
using SmartSync.Common;
namespace FlowTomator.SmartSync
{
[Node("Sync profile", "SmartSync", "Use the specified profile to perform a synchronization")]
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class RoomItem : MonoBehaviour
{
public Text roomName;
public Text roomIP;
public Text member;
public Button join;
public void SetInfo(MyServerResponse info, Action<string>... |
using Newtonsoft.Json;
namespace ArgentPonyWarcraftClient
{
/// <summary>
/// An item.
/// </summary>
public class Item
{
/// <summary>
/// Gets links for the item.
/// </summary>
[JsonProperty("_links")]
public Links Links { get; set; }
/// <summar... |
using System;
using System.Runtime.InteropServices;
namespace Vulkan.Ext
{
/// <summary>
/// Provides extension methods for the <see cref="ShaderModule"/> class.
/// </summary>
public static class ShaderModuleExtensions
{
/// <summary>
/// Specify validation cache to use during shad... |
using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class SetBackgroundPicture
{
public static void Run()
{
// ExStart:1
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Axis
{
public const string VERTICAL_AXIS = "Vertical";
public const string HORIZONTAL_AXIS = "Horizontal";
}
public class Tags
{
public const string PLAYER_TAG = "Player";
}
public class AnimationTags
{
public... |
using System.Threading;
using System.Threading.Tasks;
namespace Bogosoft.Qualification
{
class NegatedQualifierAsync<T> : IQualifyAsync<T>
{
AsyncQualifier<T> qualifier;
internal NegatedQualifierAsync(AsyncQualifier<T> qualifier)
{
this.qualifier = qualifier;
... |
using System;
using System.Collections.Generic;
using System.Drawing;
namespace WeekPicker
{
public static class NFLTeamDB
{
private static Dictionary<string, string> lookup = new Dictionary<string, string>()
{
{ "ARI", "Arizona" },
{ "ATL", "Atlanta" },
{ "BAL", "Baltimore" },
{ "BUF", "Buffalo" },... |
using MediatR;
namespace TorrentExtractor.Domain.Events
{
public class TorrentProcessedEvent : INotification
{
public TorrentProcessedEvent(string name, string destination)
{
Name = name;
Destination = destination;
}
public string Name { get; }
... |
<script src="~/admin/js/scripts.vendors.min.js"></script>
<script src="~/admin/js/scripts.min.js"></script> |
namespace Core.Entities.ApplicationIdentity.Access
{
public enum Actions
{
RefreshToken
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Compute.Models
{
public partial class ThrottledRequestsInput : IUtf8JsonSerializable
{
void... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace MicroPack.MailKit
{
public static class Extension
{
public static void AddMailKit(this ServiceCollection services, string sectionName = "mailkit")
{
var configuration = services.Buil... |
using Unity.Physics.Authoring;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace Unity.Physics.Editor
{
[CustomEditor(typeof(PhysicsCategoryNames))]
[CanEditMultipleObjects]
class PhysicsCategoryNamesEditor : BaseEditor
{
#pragma warning disable 649
[AutoPopula... |
using UnityEngine;
using System.Collections;
public class GameManager : MonoBehaviour {
[SerializeField]
SettingManager settingManager;
// Use this for initialization
void Start () {
// Trout配置
//settingManager.GetComponent<SettingManager>().SetTrout();
// アイテム配置
// トラップ配置
... |
//
// This file is part of FreneticScript, created by Frenetic LLC.
// This code is Copyright (C) Frenetic LLC under the terms of the MIT license.
// See README.md or LICENSE.txt in the FreneticScript source root for the contents of the license.
//
using System;
using System.Collections.Generic;
using System.Linq;
usi... |
using System;
using System.Windows.Forms;
namespace dBosque.Stub.Editor.Controls.Behaviours
{
/// <summary>
/// DragDrop behaviour on a control
/// </summary>
public class DragDropPasteBehaviour
{
/// <summary>
/// The contol to act upon
/// </summary>
protected re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Contracts.Dtos;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Routing;
namespace API.Restful.Controllers
{
[ApiVersion("1.0")]
[Route("api/v{version:apiVersion}")]
public class Roo... |
/*
* Created by SharpDevelop.
* User: 0x8BitDev Copyright 2017-2021 ( MIT license. See LICENSE.txt )
* Date: 26.11.2018
* Time: 17:38
*/
namespace MAPeD
{
partial class tiles_palette_form
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
priva... |
using JetBrains.ReSharper.Plugins.Yaml.Psi;
using JetBrains.ReSharper.Psi;
using JetBrains.TestFramework;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Yaml.Tests.Psi
{
[TestFixture]
public class YamlLanguageTests : BaseTest
{
[Test]
public void LanguageIsRegistered()
{
Assert.N... |
using CommandLine;
namespace Scavenger
{
public class Program
{
private static int Main(string[] args)
{
return Parser.Default.ParseArguments<StartOptions, InstallOptions, UninstallOptions, StatusOptions>(args)
.MapResult(
(StartOptions opts) => ... |
using System.Collections.Generic;
using System.Linq;
namespace AspNetCore.ApiGateway
{
public class ApiInfo
{
public string BaseUrl { get; set; }
public Mediator Mediator { get; set; }
}
public class ApiOrchestrator : IApiOrchestrator
{
Dictionary<string, ApiInfo> apis = ... |
using SpiceSharpParser.Common.Validation;
namespace SpiceSharpParser.Parsers
{
public class ParsingValidationResult : ValidationEntryCollection
{
}
}
|
// Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
function MainMenuGui::onAdd(%this)
{
//echo("MainMenuGui::onAdd()");
%this.zBitmapOffset = 0;
}
function MainMenuGui::onWake(%this)
{
//echo("MainMenuGui::onWake()");
M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static string[] punctuation = new string[] { " ", ",", ".", "(", ")", ";", "-", "!", "?" };
static void Main(string[] args)
{
string searchWord = Console.ReadLine();
... |
using Xunit.Abstractions;
namespace LuckyDrawBot.Tests.Infrastructure
{
public class TestContext
{
public ITestOutputHelper Output { get; }
public TestContext(ITestOutputHelper output)
{
Output = output;
}
}
} |
using NUnit.Framework;
namespace Thuria.Zitidar.Extensions.Tests
{
[TestFixture]
public class TestStringExtensions
{
[TestCase("Test Case 1", "testCase1")]
[TestCase("test Case 1", "testCase1")]
[TestCase("Test case 1", "testCase1")]
[TestCase("Testcase 1", "testcase1")]
[TestCase("Test_Case... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
using Slidezy.Core;
using Slidezy.Core.Events;
namespace Slidezy
{
public class SessionHub : Hub
{
public async Task JoinSession(string session... |
using System;
using Sitecore.Data.Items;
using Sitecore.ExperienceForms.Mvc.Models.Fields;
namespace Feature.FormsExtensions.Fields.Bindings
{
[Serializable]
public class MultipleLineTextViewWithBindingsTokenModel : MultipleLineTextViewModel, IBindingSettings
{
public bool StoreBindingValue { get;... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using IO.Ably.Realtime;
using IO.Ably.Realtime.Workflow;
using IO.Ably.Tests.Infrastructure;
using IO.Ably.Transport;
using IO.Ably.Types;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespace IO.Ably.Tests.NETFramework.... |
// Copyright (c) Dmytro Kyshchenko. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using System.Numerics;
namespace xFunc.Maths.Expressions.Hyperbolic;
/// <summary>
/// The base class for inverse hyperbol... |
using Sql2Cdm.Library.Models;
using Sql2Cdm.Library.Models.Annotations;
using System.Collections.Generic;
using Xunit;
namespace Sql2Cdm.Library.Tests.Models
{
public class ColumnsTests
{
[Fact]
public void AnnotationsAreInitializedEmpty()
{
var column = new Column("name", ... |
namespace Plaisted.PowershellHelper
{
internal interface IJsonObjectBridge
{
string Name { get; set; }
string EscapedName { get; }
object Object { get; set; }
void ReadFromTempFile();
string TemporaryFile { get; }
string CreateTempFile();
void Dispose();
... |
using RazorTechnologies.TagHelpers.Core.THelper;
using RazorTechnologies.TagHelpers.LayoutManager.ScopeGroup;
using System.Collections.Generic;
namespace RazorTechnologies.TagHelpers.LayoutManager
{
public interface ILayoutBody : IHtmlGeneratable
{
public IReadOnlyList<ILayoutScope> Scopes { get; }
... |
/*
| Version 10.1.84
| Copyright 2013 Esri
|
| 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 o... |
namespace SquirrelFramework.Configurations
{
#region using directives
using Microsoft.Extensions.Configuration;
using System;
#endregion using directives
public class Configurations
{
public static string MongoDBConnectionString { get; private set; }
public static string MongoDBDefaultDatabaseNam... |
// 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 Iot.Device.BrickPi3.Models
{
/// <summary>
/// All the supported SPI messages
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using WorldGen.Generator.Data;
using WorldGen.Generator.Interfaces;
using WorldGen.Generator.Interfaces.Data;
namespace WorldGen.Generator.Generators
{
/// <summary>
/// A simple river simulator, places springs and runs rivers to the ocean, ab... |
// 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.
namespace NuGet.ProjectManagement
{
/// <summary>
/// Enum for the type of NuGetAction
/// </summary>
public enum NuGetActionType
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.