content stringlengths 23 1.05M |
|---|
using Aqua.Data.Model;
using Aqua.Library;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
namespace Aqua.Data
{
public class AnimalRepo : IAnimalRepo
{
private readonly DbContextOptions<AquaContext> _contextOptions;
public AnimalRepo(DbContextOptions... |
using System;
using System.Linq;
using ReMi.Commands.ReleasePlan;
using ReMi.Contracts.Cqrs.Commands;
using ReMi.Contracts.Cqrs.Events;
using ReMi.DataAccess.BusinessEntityGateways.ReleasePlan;
using ReMi.Events.ReleasePlan;
namespace ReMi.CommandHandlers.ReleasePlan
{
public class UpdateReleaseTasksOrderCommandHa... |
namespace FantasySoccer.Schema.Models.CosmosDB
{
public class MatchFutbolPlayerPerformance : Models.GeneralModel
{
public string FutbolPlayerID { get; set; }
public string MatchID { get; set; }
public int Goals { get; set; }
public int Faults { get; set; }
... |
using CreativeCoders.Core.SysEnvironment;
using CreativeCoders.Git.Abstractions.Auth;
using CreativeCoders.Git.Abstractions.Exceptions;
namespace CreativeCoders.Git;
internal class DefaultGitRepositoryFactory : IGitRepositoryFactory
{
private readonly IGitCredentialProviders _credentialProviders;
private re... |
using Acme.Domain;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
namespace Acme.Data.Repo
{
public class RiskRepository : Repository<Risk>
{
public Risk FecthById(int id, bool include)
{
return _context.R... |
namespace PSake.TaskRunner.Helpers.TaskRunner
{
public interface ITextUtil
{
Range CurrentLineRange { get; }
bool Delete(Range range);
bool Insert(Range position, string text, bool addNewline);
bool TryReadLine(out string line);
string ReadAllText();
void Re... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Doms.HttpService
{
/// <summary>
/// Session work status, use to remember what is the session doing now
/// </summary>
enum SessionWorkStatus
{
Idle, //session has nothing to do
Busy, //process... |
using Atc.Cosmos.EventStore.Streams.Validators;
using Atc.Test;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace Atc.Cosmos.EventStore.Tests.Streams.Validators
{
public class StreamNotEmptyValidatorValidatorTests
{
[Theory]
[InlineAutoNSubstituteData(1, StreamState.Active)]
... |
/*
* This file is automatically generated; any changes will be lost.
*/
#nullable enable
#pragma warning disable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos;
using Beef;
using Beef.Business;
using Beef.Data.Cosmos;... |
using JetBrains.Annotations;
using Lykke.Service.BlockchainApi.Contract.Common;
namespace Lykke.Service.BlockchainApi.Client.Models
{
/// <summary>
/// Blockchain public address extension constants
/// </summary>
[PublicAPI]
public class PublicAddressExtensionConstants
{
/// <summary>
... |
using GeneralExtensions;
using System;
using System.Windows;
namespace ViSo.Dialogs.Input
{
public static class InputBox
{
private static ViewerWindow viewer;
private static InputBoxModel InputModel { get; set; }
public static bool? ShowDialog(string windowTitle, string fieldCaption)
{
try... |
using System;
namespace Flickey.Models.PInvokeComponents
{
[Flags]
public enum KeyboardInputFlag : uint
{
KEYEVENTF_NONE = 0x0000,
KEYEVENTF_EXTENDEDKEY = 0x0001,
KEYEVENTF_KEYUP = 0x0002,
KEYEVENTF_UNICODE = 0x0004,
KEYEVENTF_SCANCODE = 0x0008
}
} |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System.Collections.Generic;
using ClearCan... |
using DotKcp;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleAppUdpServer
{
public class HostedUdpService : IHostedService
{
private UdpSer... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Navigati... |
using System.Linq;
using System.Threading.Tasks;
using GeraFin.DAL.DataAccess;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Authorization;
using GeraFin.Models.ViewModels.Syncfusion;
using GeraFin.Models.ViewModels.GeraFinWeb;
namesp... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class AsciiLevelLoader : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
string filePath = Application.dataPath + "/level0.txt";
if (!File.Exists(filePath... |
using System.Data.Entity;
namespace SoftServe.ITA.PrompterPro.Domain.Models
{
public class BaseModel : IStateModel
{
public EntityState EntityState { get; set; }
public BaseModel()
{
EntityState = EntityState.Unchanged;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace _01._Logger.Common
{
public static class GlobalConstants
{
public static string DateTimeFormat = "M/d/yyyy h:mm:ss tt";
public const string INVALID_LEVEL_TYPE = "Invalid level provided!";
public const string... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace SampleStore.Domain.SharedKernel.Abstractions.TypedIds
{
// h... |
using Microsoft.WindowsAzure.Storage.Table;
using Nethereum.BlockchainProcessing.Processing.Logs;
using Nethereum.LogProcessing.Dynamic.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nethereum.LogProcessing.Dynamic.Db.Azure.Entities
{
public class EventSubscriptionEnti... |
namespace EventDriven.Sagas.Configuration.Abstractions.DTO;
/// <summary>
/// A command performed by a saga action.
/// </summary>
/// <typeparam name="TExpectedResult">Expected result type.</typeparam>
public record SagaCommandDto<TExpectedResult>
{
/// <summary>
/// Optional command name.
/// </summary>
... |
using System;
using System.ComponentModel;
using sd = System.Drawing;
using swf = System.Windows.Forms;
using Eto.Drawing;
using Eto.Forms;
using System.Linq;
namespace Eto.Platform.Windows
{
public interface IWindowHandler
{
swf.ToolTip ToolTips { get; }
}
public abstract class WindowHandler<T, W> : WindowsC... |
using UnityEngine;
using UnityEngine.InputSystem;
using static UnityEngine.Vector2;
public class Input : MonoBehaviour
{
public bool Active { get; private set; }
private Pointer _pointer;
private TouchInfo _info;
private void Start()
{
_pointer = Pointer.current;
_info = new Tou... |
using ComposableAsync;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace RateLimiter.Example
{
public class OpenWeatherMapClient
{
private readonly HttpClient _Client;
private readonly string _ApiKey;
public OpenWeatherMapClient(string apiKey)
{
... |
using Newtonsoft.Json;
namespace PodioAPI.Models
{
public class QuestionAnswer
{
[JsonProperty("question_option_id")]
public int QuestionOptionId { get; set; }
[JsonProperty("user")]
public Contact User { get; set; }
}
} |
using System;
using System.Threading.Tasks;
using VTS.DAL.Entities;
using VTS.Repos.Generic;
namespace VTS.Repos.UsersVacationInfo
{
/// <summary>
/// Interface for UserVacationInfo Repository.
/// </summary>
public interface IUserVacationInfoRepository : IGenericRepository<UserVacationInfo, Guid>
... |
using System;
using System.Collections.Generic;
namespace KellermanSoftware.CompareNetObjectsTests.TestClasses
{
[Serializable]
public class EntityWithEquality : Entity
{
public override int GetHashCode()
{
if (null != this.Description)
return this.Description.... |
using System;
using System.Dynamic;
namespace NConstrictor
{
public class PyDynamic : DynamicObject
{
private PyObject _pyObject;
public PyDynamic(PyObject pyObject)
{
_pyObject = pyObject;
}
// メンバ呼び出し
public override bool TryInvokeMember(InvokeMe... |
using System.Collections.Generic;
using System.IO.Abstractions;
using System.Text.RegularExpressions;
namespace FluentTc.Engine
{
internal interface IPropertiesFileParser
{
Dictionary<string, string> ParsePropertiesFile(string teamCityBuildPropertiesFile);
}
internal class PropertiesFileParser... |
using System;
using System.Collections.Generic;
using System.Text;
public class ConsoleAppender : Appender
{
public ConsoleAppender(ILayout layout)
:base(layout)
{
}
public override void Append(string date, ReportLevel level, string message)
{
if(level >= ReportLevel)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Snoop.DebugListenerTab
{
public enum FilterType
{
StartsWith,
EndsWith,
Contains,
RegularExpression
}
}
|
//-----------------------------------------------------------------------
// <copyright file="IDataPortalProxy.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Interface implemented by client-side </summary>
//-------------... |
using UnityEngine;
using System.Collections;
public class DisableDebug : MonoBehaviour {
void Start () {
#if UNITY_EDITOR
Debug.unityLogger.logEnabled = true;
#else
Debug.logger.logEnabled = false;
#endif
}
}
|
using System;
using System.Collections.Generic;
namespace backend.Models
{
public partial class TbAdministrador
{
public int CodAdministrador { get; set; }
public int? EstadoActivo { get; set; }
public DateTime? FechaCreacion { get; set; }
public int CodUsuario { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using ReactiveUI;
using ReactiveUI.Mobile;
using MobileSample_WinRT.Views;
using Splat;
name... |
using System.Text.Json.Serialization;
namespace XUMM.NET.SDK.Webhooks.Models;
public class XummUserToken
{
[JsonPropertyName("user_token")]
public string UserToken { get; set; } = default!;
[JsonPropertyName("token_issued")]
public int TokenIssued { get; set; }
[JsonPropertyName("token_expirati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Task08CaloriesCounter
{
static void Main(string[] args)
{
var linesNumber = int.Parse(Console.ReadLine());
string[] ingradients = new string[] { "cheese", "domato sauce"... |
using MessagePack;
namespace MotionGenerator.Serialization
{
[MessagePackObject]
public sealed class ActionBaseSaveData : IActionSaveData, IMotionGeneratorSerializable<ActionBaseSaveData>
{
[Key(0)] public string Name { get; set; }
public ActionBaseSaveData()
{
... |
// 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.Linq;
using System.Xml;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using RepoTasks.Utilities;
namespa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HallOfBeorn.Models.LotR.ProductGroups
{
public class AgainstTheShadowNightmareProductGroup
: ProductGroup
{
public AgainstTheShadowNightmareProductGroup()
: base("Against the S... |
using System;
namespace Juice.Collections
{
[Serializable]
public class IntFloatDictionary : SerializableDictionary<int, float>
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TinyFactory.Common
{
public class EditorTouchEvent : TouchEvent
{
private const float TOUCH_SENSETIVE = 1.0f;
private bool m_bIsPressed = false;
private Vector3 m_vCurrentTouchPosition;
pr... |
using System.Threading.Tasks;
using Mandarin.Commissions;
namespace Mandarin.Emails
{
/// <summary>
/// Represents a service that can send emails.
/// </summary>
public interface IEmailService
{
/// <summary>
/// Sends the <see cref="RecordOfSales"/> to the attached email address.
... |
namespace VoiceAssistant.Server.Server
{
public class WebSocketClient<TBag>
{
public string Ip { get; private set; }
public TBag Bag { get; set; }
public WebSocketClient(string ip)
{
Ip = ip;
}
}
} |
using System;
namespace SocketIOClient.Packgers
{
public class PingPackger : IUnpackable
{
public void Unpack(SocketIO client, string text)
{
if (client.Options.EIO == 4)
{
client.InvokePingV4(DateTime.Now);
}
}
}
}
|
namespace StackExchange.Profiling.Helpers
{
using System.Text.RegularExpressions;
using System.Web.Script.Serialization;
/// <summary>
/// Common extension methods to use only in this project
/// </summary>
internal static class ExtensionMethods
{
/// <summary>
/// Answers ... |
/* Ben Scott * bescott@andrew.cmu.edu * 2015-07-07 * Backpack */
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
//using static PathwaysEngine.Literature.Terminal;
using lit=PathwaysEngine.Literature;
namespace PathwaysEngine.Inventory {
/** `Backpack` : **`Bag`**
*
* A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ExampleProject.Models
{
public class ExampleViewModel
{
public ExampleViewModel(string name, ICollection<string> friends)
{
this.Name = name;
this.Friends = new List<string>(f... |
public class Meta
{
public string customerReference { get; set; }
public JobValid jobValid { get; set; }
} |
using Newtonsoft.Json;
namespace Cinema.DataProcessor.ExportDto
{
public class ExportCustomerByMovieDto
{
[JsonProperty("FirstName")]
public string FirstName { get; set; }
[JsonProperty("LastName")]
public string LastName { get; set; }
[JsonProperty("Balance")]
... |
using Microsoft.AspNetCore.Mvc.Filters;
namespace TEAMModelOS.SDK.Context.Attributes.AllowCors
{
/// <summary>
/// 跨域处理
/// </summary>
public class AllowCorsAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
... |
using McMaster.Extensions.CommandLineUtils;
using System;
using System.Reflection;
namespace VersionGenerator.Tool
{
internal static class Program
{
public static int Main(string[] args)
{
var now = DateTimeOffset.Now;
var app = new CommandLineApplication();
... |
using System;
using System.Threading.Tasks;
using P42.Utils;
namespace Forms9Patch
{
/// <summary>
/// Print service.
/// </summary>
public interface IPrintService
{
/// <summary>
/// Print the specified webView and jobName.
/// </summary>
/// <param name="webView">W... |
//***************************************************
//* This file was generated by tool
//* SharpKit
//***************************************************
using System;
using System.Collections.Generic;
using SharpKit.JavaScript;
namespace Y_.DataSource_
{
/// <summary>
/// Get Utility subclass for the DataSo... |
namespace FoxTunes
{
/// <summary>
/// Interaction logic for StreamPosition.xaml
/// </summary>
[UIComponent("9C2BD136-A337-448C-906B-7317C43990B6", role: UIComponentRole.Playback)]
public partial class StreamPosition : UIComponentBase
{
public StreamPosition()
{
... |
using DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repositories
{
public class UnitOfWork
{
private OnlineShopEntities Context = new OnlineShopEntities();
private CategoryRepository categoryReposito... |
/*
* Firebird ADO.NET Data provider for .NET and Mono
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.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:/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealBuff : Buff
{
[SerializeField] private int _healAmount;
public override IEnumerator Feedback()
{
throw new System.NotImplementedException();
}
public override void OnPickUp(Collider other)
... |
using NBitcoin;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class MultiWalletInfo {
public List<string> pubstr;
public List<string> btcAddress; //地址
public List<string> walletName; //钱包名称
public int MultiSig_M;
public int MultiSig_N;... |
namespace DotaESport.Web.ViewModels.Teams
{
using System;
using System.Collections.Generic;
using System.Text;
using DotaESport.Data.Models;
using DotaESport.Services.Mapping;
using DotaESport.Web.ViewModels.Players;
public class TeamViewModel : IMapFrom<Team>
{
public int Id ... |
using System;
namespace Project0.StoreApplication.Domain.Models
{
public class Product
{
string productName1;
string productName2;
string productName3;
decimal burritoPrice;
decimal saladPrice;
decimal quesadillaPrice;
public string ProductBurrito()
{
productName1 = "burrito... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AecCloud.Core.Domain.Projects;
namespace AecCloud.Data.Mapping.Projects
{
public class SharedFileMap : EntityMap<SharedFile>
{
public SharedFileMap()
{
ToTable(... |
#pragma warning disable IDE1006 // Naming Styles
using Microsoft.AspNetCore.Components;
namespace ServiceStack.Blazor.Components;
/// <summary>
/// The Base class for all ServiceStack.Blazor Components
/// </summary>
public abstract class UiComponentBase : ComponentBase
{
/// <summary>
/// Optio... |
using System;
namespace SEDC.Class04.Strings
{
class Program
{
static void Main(string[] args)
{
string str = "Trajan";
string emtpyString = "Stevkovski";
string concatString = str + " " + emtpyString;
string text = "Program: Hello {0}, Program... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DepthCamera : MonoBehaviour {
private RenderTexture m_colorTex;
private RenderTexture m_depthTex;
private Material m_postRenderMat;
void Start ()
{
Camera cam = GetComponent<Camera>();
cam.depthTextureMode = DepthTe... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
/*
* Cinema4Dのキーフレームjsonデータをアニメーションカーブに変換する
*/
namespace GarageKit
{
[Serializable]
public class AnimationTrack
{
// C4Dでのアニメ―ショントラックタイプ
public enum TRACK_TYPE
{
... |
using System;
using Kameffee.AudioPlayer;
using UnityEngine;
namespace Samples.Scripts
{
public class AudioDemo : MonoBehaviour
{
private void Start()
{
AudioPlayer.Instance.Initialize();
}
public void Play(int id)
{
AudioPlayer.Instance.Bgm.Pla... |
using System.ComponentModel.DataAnnotations;
namespace RentalData.Models
{
public abstract class RentalAsset
{
public int Id { get; set; }
[Required]
public string Brand { get; set; }
[Required]
public string Name { get; set; }
[Required]
public int A... |
using System.Threading.Tasks;
using TechTalk.SpecFlow;
using NServiceBus.Transport;
using SFA.DAS.EmployerIncentives.Api.AcceptanceTests.Hooks;
namespace SFA.DAS.EmployerIncentives.Api.AcceptanceTests.Bindings
{
[Binding]
[Scope(Tag = "messageBus")]
public class MessageBus
{
private readonly T... |
using System.Windows.Controls;
namespace PostprocessEditor.Views;
/// <summary>
/// Interaction logic for PointListUserControl.xaml
/// </summary>
public partial class PointListUserControl : UserControl {
public PointListUserControl() {
InitializeComponent();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Menu : MonoBehaviour
{
//armazenadno o nome do player
[SerializeField]
private GameObject nameDB;
public void StartGame()
{
//comando para faz... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Threading.Tasks;
namespace AdvertismentPlatform.Handlers
{
public class EmailHandler : IEmailSender
{
private IConfigur... |
using System;
using System.Collections.Generic;
using System.Text;
namespace UserManagement.Entity
{
public class Device:BaseEntity
{
public string DeviceName { get; set; }
public string DeviceDes { get; set; }
public string COM { get; set; }
public int BaudRate { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox;
namespace PerfectHunter
{
public class PlayerWeapon : BaseWeapon
{
public override void Spawn()
{
SetModel( "weapons/jpumper.vmdl" );
Log.Info( "Weapon spawned" );
}
[Ev... |
using Moq.Modules;
using OwinFramework.Pages.Core.Interfaces.Managers;
namespace OwinFramework.Pages.Mocks.Managers
{
public class MockIdManager: MockImplementationProvider<IIdManager>
{
private int _next = 1;
protected override void SetupMock(IMockProducer mockProducer, Moq.Mock<IIdManager> ... |
using Domain.Framework.Constants;
using FluentMigrator;
namespace Migrations
{
[Migration(202007202040)]
public class _202007202040_add_isenabledforbanners_to_users_table : Migration
{
public override void Down()
{
Delete.Column("IsEnabledForBanners").FromTable(TableConstants.Us... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// Component to animate and visualize a sphere that can be used with
/// per pixel based clipping.
/// </su... |
using static System.Console;
/// <summary>
/// https://youtu.be/ZGHBGFLuvmg
/// </summary>
namespace Delegados1
{
//Desarrollo 1
//public delegate void Delegado();
//Desarrollo 2
//public delegate void Delegado(int x);
//Desarrollo 3
//public delegate int Delegado(int numero);
//Desarr... |
/*
* 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 ... |
#region headers
// Copyright (c) 2017 Matthias Jansen
// See the LICENSE file in the project root for more information.
#endregion
#region imports
#endregion
using System;
namespace ExceptionShield.Terminators
{
public abstract class TerminatorBase<TEnd>
where TEnd : Exception
{
/// <summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using Xms.Core.Context;
using Xms.Data.Provider;
using Xms.Organization.Data;
using Xms.Organization.Domain;
namespace Xms.Organization
{
/// <summary>
/// 团队成员服务
/// </summary>
public class TeamMembershipService
{
public r... |
using UnityEngine;
using Ink.Runtime;
public class InkStoryScript : MonoBehaviour
{
public TextAsset InkJSONFile;
Story InkStory;
void Start()
{
InkStory = new Story(InkJSONFile.text);
if (InkStory.variablesState.GlobalVariableExistsWithName("steps"))
{
InkStory.Obs... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Map.Project.Serialization {
public partial class RangeConverter : JsonConverter<Range> {
/// <inheritdoc/>
public override Range Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) ... |
using System;
using DeviceHive.WebSockets.Core.ActionsFramework;
using Ninject;
namespace DeviceHive.WebSockets.API.Core
{
public class NinjectRouter : Router
{
private readonly IKernel _kernel;
public NinjectRouter(IKernel kernel)
{
_kernel = kernel;
}
pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerController3D : MonoBehaviour
{
[SerializeField] private GameObject player;
private Rigidbody e_rb;
public Vector3 move;
public bool isDashing;
public float e_speed = 10;
// Start is called before th... |
namespace Owin.Scim.Configuration
{
using System.Security.Cryptography;
using Model;
using NContext.Security.Cryptography;
public class DefaultResourceVersionProvider : IResourceVersionProvider
{
private readonly IProvideHashing _HashProvider;
public DefaultResourceVersionProvid... |
using System;
using FluentAssertions;
using NUnit.Framework;
namespace BddPipe.UnitTests.F
{
[TestFixture]
public class SomeTests
{
[Test]
public void Value_Struct_Ok()
{
var some = new Some<int>(5);
some.Value.Should().Be(5);
}
[Test]
... |
// Read start arguments
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var verbosity = Argument("verbosity", "Diagnostic");
// Paths to the root directories
var sourceDirectory = Directory("../.Src");
var toolDirectory = Directory("../.Tools");
var buildDirectory ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
namespace Itlezy.App.Network.UI
{
publ... |
using System;
using Watchster.Domain.Common;
namespace Watchster.Domain.Entities
{
public class ResetPasswordCode : BaseEntity
{
public string Code { get; set; }
public DateTime expirationDate { get; set; }
public string Email { get; set; }
}
}
|
using io.odysz.semantic.jprotocol;
using System.Collections.Generic;
namespace io.odysz.semantic.tier.docs {
/**This structure is recommend used as Parcel between Android activities.
* @author ody
*
*/
public class DocsResp : AnsonResp {
long size;
long Size() { return size; }
public DocsResp() : base(... |
using Serenity;
using Serenity.ComponentModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
namespace SimpleFeedly
{
public partial class StaticTextBlockAttribute : CustomEditorAttribute
{
public const string Key = "SimpleFeedly.StaticTextBlock... |
namespace RepoDb
{
/// <summary>
/// A class that contains all the constant strings.
/// </summary>
internal static class StringConstant
{
public const string Period = ".";
}
}
|
using System;
namespace YuKu.Dxf
{
internal static class Extensions
{
public static Boolean IsInRange(this Int16 number, Int16 from, Int16 to)
{
return from <= number && number <= to;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using SG1.UtilityTypes.Transformations;
namespace SG1.UtilityTypes
{
internal sealed class TransformInformation
{
public ITypeSymbol InputType { get; }
public IL... |
#if LOBBY
using System;
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
using UnityEngine.Networking.Types;
using UnityEngine.Networking.NetworkSystem;
using System.Linq;
public class LobbyServer : MonoBehaviour
{
public static LobbyServer instance
{
get
{
... |
using System;
using System.Collections.Generic;
namespace Elasticsearch.Net
{
public interface IConnectionPool : IDisposable
{
/// <summary>
/// Returns a read only view of all the nodes in the cluster, which might involve creating copies of nodes e.g
/// if you are using <see cref="SniffingConnectionPool"/>.
... |
namespace Obsidize.FastNoise
{
public class FastNoiseTransformationContext : FastNoiseContext
{
private readonly IFastNoiseContext _source;
private readonly IFastNoiseTransformationContextOperator _transformationOperator;
public IFastNoiseContext Source => _source;
public IFastNoiseTransformationContextOper... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dix_nez_lande.Implem
{
public class HistoryFactory
{
#region Singleton
private static HistoryFactory _instance = null;
private HistoryFactory()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.