content stringlengths 23 1.05M |
|---|
using books.api.Services;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace books.api.Models
{
/// <summary>
/// Database Context used for the API. Receives database settings interface.
/// </summary>
public class AppDbCont... |
using Rabotora.CLI.SDK;
using System;
using System.Globalization;
using System.Reflection;
using static Rabotora.CLI.MultiLang;
namespace Rabotora.CLI
{
public class Program
{
static void Main(string[] args)
{
switch (args.Length)
{
case 0:
Console.WriteLine(GetRes<string>("CLI.BaseHelp"));
... |
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Populations;
using System;
using System.Collections.Generic;
using System.Linq;
namespace GenericNEAT.Populations
{
public class SpeciedPopulation : Population, ISpeciedPopulation
{
#region Properties
public IList<Specie> Species... |
using UnityEngine;
//Esse script vai em todos os objetos que iniciam um diálogo
public class ObjectDialogueTrigger : MonoBehaviour {
public DialogueController dialogueController;
private CurrentDialogueController activeDialogue;
public void OnEnable()
{
activeDialogue = GameObject.FindGameOb... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using Altairis.ReP.Data;
using Altairis.ValidationToolkit;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Altairis.ReP.Web.Pages.Admin.Resources {
public class CreateModel : PageModel {
... |
namespace Cake.AzureDevOps.Pipelines
{
/// <summary>
/// Possible results of a build.
/// </summary>
public enum AzureDevOpsBuildResult : byte
{
/// <summary>
/// Result is not set.
/// </summary>
None = 0,
/// <summary>
/// The build completed succe... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace BizwebSharp.ConsoleTests.Web
{
public class WebServer
{
public static string HostUrl { get; private set; }
public WebServer(string hostUrl)
{
HostUrl = hostUrl;
}
public Task Run()... |
using BlamanticUI.Abstractions;
using Microsoft.AspNetCore.Components;
using YoiBlazor;
namespace BlamanticUI
{
/// <summary>
/// Represents a container to display <see cref="Image"/> in other component.
/// </summary>
/// <seealso cref="BlamanticUI.Abstractions.BlamanticChildContentComponentBase" ... |
using eDriven.Gui.Components;
namespace eDriven.Gui.States
{
/// <summary>
/// State override
/// </summary>
public interface IOverride
{
/// <summary>
/// Initializes the override
/// </summary>
void Initialize();
/// <summary>
/// Applies the over... |
// 메서드 구문(Method Syntax)과 쿼리 구문(Query Syntax) 비교
using System;
using System.Collections.Generic;
using System.Linq;
class LinqQuerySyntax
{
static void Main()
{
int[] numbers = { 3, 2, 1, 4, 5 };
//[1] 메서드 구문
IEnumerable<int> methodSyntax =
numbers.Where(n => n % 2 == 1).... |
namespace M5x.DEC.Schema.Common;
public static class IsoDimensions
{
public static Measurement Time()
{
return new Measurement(decimal.Zero, 0, IsoUnits.Second);
}
public static Measurement Length()
{
return Measurement.New(decimal.Zero, 0, IsoUnits.Meter);
}
public static... |
using System;
using System.Collections.Generic;
namespace AT3_UC05.Models
{
public class ItemAgendamento
{
public string Nome { get; set; }
public double NumTelefone { get; set; }
public DateTime Data { get; set; }
public string Animal { get; set; }
public string Nescessidade { get; set; }
... |
using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
/// <summary>
/// Ecuador
/// </summary>
public class EcuadorProvider : IPublicHolidayProvider
{
private readonly ICatholicProvider _catholicProvider... |
using System;
using LanguageExt.Attributes;
namespace LanguageExt.Interfaces
{
public interface ConsoleIO
{
ConsoleKeyInfo ReadKey();
Unit Clear();
int Read();
string ReadLine();
Unit WriteLine();
Unit WriteLine(string value);
Unit Write(string value);
... |
namespace CAS.Core.Models
{
public class PaginationDetails
{
public long CurrentPage { get; set; }
public long CurrentPageQty { get; set; }
public long PageSize { get; set; }
public long LastPage { get; set; }
public long TotalResults { get; set; }
public string ... |
using System;
using SparkyCLI;
public class Sandbox
{
public static void Main(string[] args)
{
Window window = new Window("Test", 960, 540);
while (!window.Closed())
{
Vector2 mouse = window.GetMousePosition();
Console.WriteLine("{0}, {1}", mouse.x, mouse.y);
... |
using System;
using System.Linq;
using System.Collections.Generic;
namespace RPS
{
public enum gameResult { player1Won, player2Won, draw, notFinished }
public static class GameFinished
{
public static gameResult GameResult(List<wonDrawLost> history)
{
var groupedRes = history.G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Options;
using SimpleOptions.Models;
namespace NamedOptions.Pages
{
public class IndexModel : PageModel
{
... |
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace Specs.Steps
{
[Binding]
public class RegistrationBindings
{
private readonly ScenarioContext _scenarioContext;
private string _name;
private string _email;
private string _errorMessage = "";
public Registra... |
using System;
using System.Collections.Generic;
namespace _1._Reverse_Strings
{
class Program
{
static void Main(string[] args)
{
string text = Console.ReadLine();
Stack<string> reverseText = new Stack<string>();
foreach (var ch in text)
{
... |
using Microsoft.AspNetCore.Http;
using SchoolDiary.Models;
using SchoolDiary.Services.Categories.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SchoolDiary.Services.Contracts
{
public interface ICategoryService
{
Task<bool> Create(CreateCategoryInputViewModel model,... |
using System;
using System.Threading.Tasks;
using EShopOnAbp.BasketService;
using EShopOnAbp.Shared.Hosting.AspNetCore;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Users;
namespace EShopOnAbp.PublicWeb.ServiceProviders
{
public class User... |
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using TechTalk.DataModels;
namespace TechTalk.Interfaces
{
public interface IGalleryService
{
Task<IList<Picture>> LoadImagesAsync();
}
} |
using Newtonsoft.Json;
namespace BackendAPI.Data
{
public class MetaSenseCo2Readings
{
[JsonProperty("CO2")]
public double Co2;
}
} |
using Newtonsoft.Json;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Image
{
public string Url { get; set; }
}
} |
namespace VeilleConcurrentielle.EventOrchestrator.ConsoleApp
{
public class WorkerConfigOptions
{
public const string WorkerConfig = "WorkerConfig";
public int GetNextWaitInSeconds { get; set; } = 5;
public bool InfiniteRun { get; set; } = false;
public int DispatchRetryCountBef... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using SlackRedditBot.Web.Processors;... |
using GameWork.Core.States.Tick.Input;
using PlayGen.ITAlert.Unity.Utilities;
namespace PlayGen.ITAlert.Unity.States.Game.Room.Initializing
{
public class InitializingStateInput : TickStateInput
{
protected override void OnInitialize()
{
GameObjectUtilities.FindGameObject("Game/Canvas/Graph");
}
}
}
|
using System;
namespace MultiScreenSample.Views
{
public enum CustomWindowStates
{
Normal,
Minimized,
Maximized,
FullScreen
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using Discor... |
using System;
namespace SampleAppError
{
class Program
{
static void Main(string[] args)
{
throw new Exception("What is dead may never die.");
}
}
}
|
using System;
using System.IO;
using TradeAdvisor.Utils;
namespace TradeAdvisor
{
public static class KnownPaths
{
public static DirectoryPath SolutionRoot => solutionRoot.Value;
static readonly Lazy<DirectoryPath> solutionRoot = new Lazy<DirectoryPath>(FindSolutionRoot);
static Direc... |
using System.Threading.Tasks;
using System.Windows;
using Caliburn.Micro;
using MahApps.Metro.Controls;
namespace MahApps.Integration.Caliburn.Micro.Dialogs.Base
{
/// <summary>
/// Base class for coroutines that display a dialog.
/// </summary>
public abstract class DialogBase : ResultBase
{
... |
using System;
using System.Runtime.InteropServices;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Input;
namespace Snap.Installer.Windows;
internal class CustomChromeWindow : Window
{
protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
{
var thisHandle = ... |
namespace Amazon.DynamoDb
{
public sealed class Conflict : DynamoDbException
{
public Conflict(string message)
: base(message)
{
Type = "ConditionalCheckFailedException";
}
}
} |
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;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CandyFramework.ConfigurationEditor.Entites
{
public class Product
{
public string ProductName { get; set; }
public string InstanceName { get; set; }
public stri... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Aspose.SVG.Live.Demos.UI.Services.SVG.Applications
{
public class MatchResult<T> : MatchResult
{
public MatchResult(bool value, T data)
: base(value)
{
this.Data = data;
}
public T Data { get; }
}
public class MatchResult ... |
using System;
using BenchmarkDotNetAnalyser.Instrumentation;
using FluentAssertions;
using FsCheck.Xunit;
using Xunit;
namespace BenchmarkDotNetAnalyser.Tests.Unit.Instrumentation
{
public class ColourExtensionsTests
{
[Fact]
public void Colourise_NullValue_ReturnsNull()
{
... |
using UnityEngine;
using UnityEngine.InputSystem;
public class Controller : MonoBehaviour
{
public Rigidbody rb;
[Space]
[Range(0, 1)]
public float throttle = 1f;
[Space]
public float speed = 150f;
public float rollSpeed = 50f;
public float turnSpeed = 0.1f;
public float fuel = 100... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Part1.Common
{
public interface IDeviceMonitor<TDeviceData> : IDisposable
{
void Start();
void Stop();
event EventHandler<DataReceivedEventArgs<TDeviceData>> DataReceived;
... |
using System;
namespace Pattern
{
class MainClass
{
public static string DrawFigure(int n, char u, char r, char d, char l)
{
if(n == 0)
{
return "";
}
return DrawFigure(n - 1, r, u, l, d)
+ u + DrawFigure(n - 1, u, r, d, l)
+ r + DrawFigure(n - 1, u, r, d, l)
+ d + DrawFigure(n - 1,... |
namespace EmailCore.Results
{
public class BaseSenderResult : ISenderResult
{
public bool Successful { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Kaiyuanshe.OpenHackathon.Server.Models
{
/// <summary>
/// Administrator of a hackathon
/// </summary>
public class HackathonAdmin : ModelBase
{
/// <summary>
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DropdownMenu : MonoBehaviour
{
public GameObject[] prefabs;
GameObject player;
int prefabid;
public void PlayerSwitch()
{
Dropdown dpmenu = GetComponent<Dropdown>();
p... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LiveCoin.Net.Objects.SocketObjects
{
/// <summary>
/// Pong response
/// </summary>
[global::ProtoBuf.ProtoContract()]
public class PongResponse
{
/// <summary>
/// time of received ping
/// </summary>
public DateTime PingTime ... |
// <copyright file="ExportMessageQueueContent.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func.Export.Model
{
/// <summary>
/// Azure service bus export queue message content class.
/// </summary>
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ControllerPlayer : MonoBehaviour, ITakeDamage, IHealer {
// Use this for initialization
private Vector3 direction;
private Quaternion newRotation;
public LayerMask floorMask;
public GameObject textGameOver;
public bool ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.Rendering.Universal;
public class DisableFarAway : MonoBehaviour
{
public float maxDistance = 30f;
private float nextActionTime = 0.0f;
public float period = 0.5f;
// Update is called once pe... |
using UnityEngine;
using System.Collections;
using UnityEngine.Audio;
public class AudioManager : MonoBehaviour {
public static AudioManager instance = null;
public AudioMixer audioMixer;
public AudioMixerSnapshot unPaused;
public AudioMixerSnapshot paused;
public AudioSource mainMusic = null;
public Audio... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Serilog;
namespace DiscordOgerBot.Controller
{
public static class TimeManagement
{
private static readonly Dictionary<ulong, ActiveUserStruct> ActiveUsers = new();
... |
using NUnit.Framework;
using Qowaiv.TestTools;
using Qowaiv.Validation.Abstractions;
namespace Validation_message_specs
{
public class None
{
[Test]
public void Has_an_empty_string_representation()
{
var message = ValidationMessage.None;
Assert.AreEqual("", mess... |
namespace craft
{
public class PalindromeTester
{
public bool Test(string strInput)
{
strReplace = strInput.Replace("", "");
strReversed = new string (strReplace.Reverse().ToArray());
return strReversed.Equals(strReversed);
}
public bool Check... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.Support.mbed
{
using System.Runtime.InteropServices;
//--//
public class UsTicker
{
[DllImport("C")]
public static extern uint us_ticker_read();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AjaxControlToolkit.Reference.Core {
class EnhancementsBuilder : IssueBuilder {
public EnhancementsBuilder(IEnumerable<GitHubIssue> validIssues)
: base(validIssues) {
issueKindName = ... |
namespace Vba.Grammars
{
partial class VbaParser
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameOverScript : MonoBehaviour
{
public GameController gameController;
// Start is called before the first frame update
public void Menu()
{
gameController.lastCheckp... |
using Cory.TowerGame.Enemies;
using Cory.TowerGame.Targeting;
using Cory.TowerGame.Towers;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Cory.TowerGame.Combat
{
public class LaserAttack : MonoBehaviour
{
[Header("Laser Settings")]
[SerializeField] pri... |
using System;
namespace Shiny.Beacons
{
public enum BeaconRegisterEventType
{
Add,
Update,
Remove,
Clear
}
public class BeaconRegisterEvent
{
public BeaconRegisterEvent(BeaconRegisterEventType eventType, BeaconRegion region = null)
{
t... |
using System;
using System.Windows.Controls;
using Internationalization.GUITranslator;
namespace Example_Excel.View
{
/// <summary>
/// Interaction logic for ExampleView.xaml
/// </summary>
public partial class ExampleView : UserControl
{
public ExampleView()
{
Init... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace api.Backend.Data.SQL.AutoSQL
{
/// <summary>
/// Represents a link between a Table Obj and a DB Table
/// </summary>
public class Binding
{
#region Fields
private readonly Type ObjType;
private re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.UI;
public class AttackDroneController : MonoBehaviour
{
//::::: POWERUP :::::
public bool tutorialWait;
[Header("SliderSkillConfig")]
public Color initFillColor;
publ... |
namespace DataBoss.DataPackage
{
public enum ConstraintsBehavior
{
Check,
Ignore,
Drop,
}
}
|
using System.Runtime.InteropServices;
using static RekordboxDatabaseReader.Internal.ParserHelper;
namespace RekordboxDatabaseReader.Internal
{
[StructLayout(LayoutKind.Sequential)]
public readonly struct SeekTableEntry
{
private readonly int entry;
public int Entry => ToHostOrder(entry);
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml.Serialization;
namespace SavePaper
{
//classe statica per la gestione dei file per la lettura e la scrittura de... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Autofac;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using ExampleLib;
using Ninject;
using Tapeti;
using Tapeti.Autofac;
using Tapeti.CastleWindsor;
using Tapeti.DataAnnotations;
using Tapeti.Default;
using Tapeti.Nin... |
using System;
using System.Collections.Generic;
using XF.Material.Themer.Models.Themes;
namespace XF.Material.Themer.Factories
{
public class ThemeColorsFactory : IThemeColorsFactory
{
private readonly IDictionary<Theme, Lazy<IThemeColors>> _registry = new Dictionary<Theme, Lazy<IThemeColors>>
{
{Th... |
using System;
namespace SaCodeWhite.Shared.Models
{
public interface IAlertable
{
public int PatientTotal { get; }
public int Capacity { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CSPostComplexJsonASPNETCore.Models;
namespace CSPostComplexJsonASPNETCore.Controllers
{
public class HomeController : Controller
{
private static List<ItemGroup> _datas... |
using Amphisbaena.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Amphisbaena.Tests.Linq {
//-------------------------------------------------------------------------------------------------------------------
//
/// <summary>
... |
using NUnit.Framework;
namespace MarginTrading.AccountsManagement.IntegrationalTests.WorkflowTests
{
/// <summary>
/// Runs before and after all tests in this namespace
/// </summary>
[SetUpFixture]
public class Setup
{
[OneTimeSetUp]
public void RunBeforeAnyTests()
{
... |
namespace Our.Umbraco.CacheRefresher.Tests.Common;
public interface ITestCache<T>
where T : class
{
T? GetValue(string key);
Task<T?> GetValueAsync(string key);
void SetValue(string key, T value);
Task SetValueAsync(string key, T value);
void Remove(string key);
Task RemoveAsync(string key... |
namespace TOTPAuthenticationProvider.QRCodeGenerator
{
public enum QRMaskPattern : int
{
PATTERN000 = 0,
PATTERN001 = 1,
PATTERN010 = 2,
PATTERN011 = 3,
PATTERN100 = 4,
PATTERN101 = 5,
PATTERN110 = 6,
PATTERN111 = 7
}
}
|
using System;
public class Jogador{
public int energia;
public bool vivo;
public Jogador(){
energia = 100;
vivo = true;
}
}
class Basinha{
static void Main(){
Jogador j1 = new Jogador();
Jogador j2 = new Jogador();
Jogador j3 = new Jogador();
Consol... |
using System;
using Bytewizer.TinyCLR.Http.Features;
using Bytewizer.TinyCLR.Http.WebSockets;
namespace Bytewizer.TinyCLR.Http
{
/// <summary>
/// Extension methods for <see cref="HttpContext"/> related to websockets.
/// </summary>
public static class HttpContextExtensions
{
/// <summary... |
using System;
using System.Threading.Tasks;
using HttPlaceholder.Application.StubExecution.RequestStubGeneration.Implementations;
using HttPlaceholder.Domain;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace HttPlaceholder.Application.Tests.StubExecution.RequestStubGeneration
{
[TestClass]
public ... |
using System;
using System.Collections.Generic;
using parking365.domain;
namespace parking365.dao.iface {
public interface ClienteDao {
List<Cliente> listar(string documento);
Int64 insertar(Cliente usuario);
bool actualizar(Cliente usuario);
bool eliminar(Int64 idcliente,int idusuariocre);
}
}
|
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ProjetoT.Security.Domain.Entities.OAuth;
namespace ProjetoT.Security.Infra.Data.Mappings
{
public class RateLimitMap : IEntityTypeConfiguration<RateLimit>
{
public void Configure(Entity... |
using System;
namespace Majestics.Models.Post
{
public class PostViewModel
{
public int Id { get; set; }
public string Data { get; set; }
public string CreatorName { get; set; }
public string LastChangedName { get; set; }
public DateTime CreationTime { get; set; }
... |
//------------------------------------------------------------------------------
// <copyright file="ZeroOpNode.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="tru... |
#region License
/* The MIT License
*
* Copyright (c) 2011 Red Badger Consulting
*
* 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 limitatio... |
using System;
using System.Collections.Generic;
namespace TT.Abp.Shops.Application.Dtos
{
public class ShopSyncRequestDto
{
public List<Guid> ShopIds { get; set; }
}
} |
using System;
using Microsoft.Win32;
namespace Steam_Update_Creator {
internal class RegReader {
public static string ReadValue(string path, string name) {
string result = string.Empty;
try {
using (var key = Registry.LocalMachine.OpenSubKey(path)) {
... |
using RimWorld;
using System;
using System.Collections.Generic;
using Verse;
namespace LAS
{
public class CompProperties_DoorLock : CompProperties
{
public float progressBarOffset = -0.5f - 0.12f;
public List<ThingDef> defaultLocks = new List<ThingDef>();
public CompProperties_DoorLock... |
using Elan.Common.Contracts;
namespace Elan.Common.Services
{
public class QueryValidationService: IQueryValidationService
{
public bool IsValidQuery(string query)
{
if (string.IsNullOrWhiteSpace(query))
{
return false;
}
if (que... |
using System;
namespace WebApiReferenceImpl.Core.Numerics
{
public sealed class RandomNumberGenerator
{
private static readonly object _lockObject = new object();
private static Random _random;
private RandomNumberGenerator()
{
_random = new Random();
}
... |
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace UnitTest.Rollbar
{
internal static class RollbarUnitTestSettings
{
public const string AccessToken = "17965fa5041749b6bf7095a190001ded";
public const string Environment = "unit-tests";
... |
using Q42.HueApi.Models.Groups;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Q42.HueApi.Interfaces
{
public interface IHueClient_Groups
{
/// <summary>
/// Send command to a group
/// </summary>
/// <param name="command"></param>
//... |
using Sharpen;
namespace android.app.@internal
{
[Sharpen.NakedStub]
public abstract class AlertActivity
{
}
}
|
using System;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using Sbz.Application.Common.Interfaces;
namespace Sbz.Infrastructure.Services
{
public class EmailService : IEmailService
{
public bool SendEmail(string to, string subject, string body)
{
try
... |
using System;
public class X
{
public static void HogeMethod(bool isFuga = false) { Console.WriteLine("a"); }
public static void HogeMethod(params string[] fugas) { Console.WriteLine("b"); }
}
|
using System.Xml.Linq;
namespace DNTProfiler.Common.Controls.Highlighter
{
/// <summary>
/// A line start definition and its RuleOptions.
/// </summary>
public class HighlightLineRule
{
public string LineStart { get; private set; }
public RuleOptions Options { get; private set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MessageBox : MonoBehaviour
{
public string[] Messages;
private bool MouseDown;
private void Update()
{
if (Input.GetMouseButtonDown(0)) MouseDown = true;
}
IEnumerator StartMessage()
{
AudioManager.Instance.PlaySo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleProcessorPipelines
{
public class CountOddNumbersCommand
{
public int? Result { get; private set; }
public int ListLength { get; private set; }
public List<int> List { get... |
using System;
using System.Data;
using System.IO;
using System.Text;
using Caliburn.Micro;
using JetBrains.Annotations;
using JirkaDb.Views;
using Syncfusion.Windows.Controls.Grid;
using Syncfusion.Windows.Controls.Grid.Converter;
using Syncfusion.XlsIO;
namespace JirkaDb.ViewModels
{
public class GridViewModel :... |
using System.Threading.Tasks;
using Excalibur.Cross.Business;
namespace Excalibur.Tests.Encrypted.Cross.Core.Business.Interfaces
{
public interface ILoggedInUser : ISingleBusiness<Domain.LoggedInUser>
{
void StoreForSaveAfterPin(Domain.LoggedInUser user);
Task Store();
}
} |
using System.IO;
using System.Threading.Tasks;
namespace B2Emulator.Services
{
/// <summary>
/// A service that facilitates storage and retrieval of file binary data.
/// </summary>
public interface IFileStorageProvider
{
Task<Dtos.File> RetrieveFileAsync(string fileId);
Task<bool>... |
#nullable enable
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Text.RegularExpressions;
using S... |
using UnityEngine;
[CreateAssetMenu(menuName = "Weapons/Info/Range Weapon (Raycast)", fileName = "Range Raycast Weapon")]
public class RangeRaycastWeaponInfoAsset : RangeWeaponInfoAsset
{
public float damage;
public GameObject hitEffectPrefab;
public float hitEffectDuration;
}
|
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
using Newtonsoft.Json.Linq;
using WorkflowCore.Models;
namespace Conductor.Domain.Models
{
public class Step
{
public string StepType { get; set; }
public string Id { get; set; }
public string Na... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.