max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/Ubiety.Xmpp.Core/Tags/Stream/Error.cs | workgroupengineering/Ubiety.Xmpp.Core | 32 | 7061153 | <filename>src/Ubiety.Xmpp.Core/Tags/Stream/Error.cs<gh_stars>10-100
// Copyright 2018 <NAME>
//
// 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/license... |
TCD/MainForm.Designer.cs | akx/tcd | 0 | 7061154 | /*
* Date: 7.7.2010
* Time: 19:47
*/
namespace TCD
{
partial class MainForm
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Disposes resources used by the form.
/// </su... |
BenchManager/BenchLib/PropertyCollections/PropertyCollection.cs | winbench/bench | 12 | 7061155 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace Mastersign.Bench.PropertyCollections
{
/// <summary>
/// This class is the default implementation for <see cref="IConfiguration"/>.
/// It can be cascaded by setting a <see cr... |
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetTrainingProgrammeVersions/GetTrainingProgrammeVersionsQueryHandler.cs | SkillsFundingAgency/das-commitments | 6 | 7061156 | <gh_stars>1-10
using MediatR;
using Microsoft.Extensions.Logging;
using SFA.DAS.CommitmentsV2.Domain.Interfaces;
using SFA.DAS.CommitmentsV2.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.CommitmentsV2.Application.Queri... |
FlowR/FlowR.Tests.Domain/FlowTests/TestElseThrowFlow.cs | Portor25/FlowR | 1 | 7061157 | using System;
using System.Collections.Generic;
using System.Text;
using MediatR;
namespace FlowR.Tests.Domain.FlowTests
{
public class TestElseThrowRequest : FlowActivityRequest<TestElseThrowResponse>
{
public string Input { get; set; }
}
public class TestElseThrowResponse : FlowResponse
... |
Zwyssigly.ImageServer.MongoDb/(Configurations)/SizeConfigurationSnapshot.cs | Zwyssigly/Zwyssigly.ImageServer | 0 | 7061158 | <filename>Zwyssigly.ImageServer.MongoDb/(Configurations)/SizeConfigurationSnapshot.cs<gh_stars>0
using MongoDB.Bson.Serialization.Attributes;
namespace Zwyssigly.ImageServer.MongoDb
{
internal class SizeConfigurationSnapshot
{
[BsonElement("tag")]
public string Tag { get; set; }
[Bson... |
frmAddLanguage.cs | tayodell41/Snippet | 0 | 7061159 | <filename>frmAddLanguage.cs
/**********************************************************
* frmAddLanguage.cs
*
* This form handles the creation of a new folder for
* snippet organization.
*
* Author: <NAME>
* Date Created: 11/28/17
* Last Modified by: <NAME>
* Date Last Modified: 12/8/17
* Part of: Snippet
*/
using... |
Nuqleon/Core/LINQ/Nuqleon.Linq.CompilerServices/Expressions/Rewriters/BURS/BottomUpExpressionRewriter.cs | ScriptBox99/reaqtor | 485 | 7061160 | <reponame>ScriptBox99/reaqtor
// 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.
//
// Revision history:
//
// BD - January 2011 - Created this file.
//
using System... |
Domain/src/NeighbourHood/NeighbourHood.cs | robisrob/gameoflivec- | 1 | 7061161 | using System.Collections.Generic;
using System.Linq;
using System;
namespace GameOfLife.Domain.NeighbourHood
{
internal partial class Neighbourhood
{
private readonly IEnumerable<IRule> rules;
public Neighbourhood(int amountOfLivingNeighbors)
{
ValidateAmountOfLivingNeigbo... |
SerialReceiverClass.cs | BRML/2019_CRPS_Arduino_Unity_Communication | 0 | 7061162 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.IO.Ports;
using Ardunity;
using UnityEngine.UI;
public class SerialReceiverClass : MonoBehaviour
{
public Slider max;
public Slider min;
// Main contraints for hardware
float MIN_RAN... |
NetOpnApi/Commands/Core/Menu/Tree.cs | barkerest/NetOpnApi | 0 | 7061163 | <reponame>barkerest/NetOpnApi
using System.Text.Json;
using NetOpnApi.Models.Core.Menu;
namespace NetOpnApi.Commands.Core.Menu
{
/// <summary>
/// Get the menu tree from the device.
/// </summary>
/// <remarks>
/// GET: /api/core/menu/tree
/// </remarks>
public class Tree : BaseCommand, IC... |
src/SilentHunter.Controllers/SHControllers/ShellUserDataCfg.cs | skwasjer/SilentHunter | 1 | 7061165 | /*
* SHControllers.act - ShellUserDataCfg
*
* © 2007-2016 skwas. All rights reserved.
* This code is provided as is. Change at your own risk.
* --------------------------------------------------
*
* S3D template for the ShellUserDataCfg controller of Silent Hunter.
*
* For documentation on templates, requi... |
Assets/InvantorySystem/Scripts/Invantory.cs | imxana/CharactorSimulator | 0 | 7061166 | /*
Copyright 2016 <NAME>
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 or agreed to in writing, softwar... |
C#/API/TesterProject/Program.cs | dbdxnuliba/interpreter_scirpt8 | 0 | 7061167 | <reponame>dbdxnuliba/interpreter_scirpt8
using System;
using RoboDk.API;
namespace TesterProject
{
class Program
{
// ReSharper disable once UnusedParameter.Local
static void Main(string[] args)
{
var rdk = new RoboDK();
var status = false;
//The first connect opens roboD... |
CP77.CR2W/Types/cp77/scnSectionInternalsActorBehavior.cs | MasterScott/CP77Tools | 1 | 7061168 | using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class scnSectionInternalsActorBehavior : CVariable
{
[Ordinal(0)] [RED("actorId")] public scnActorId ActorId { get; set; }
[Ordinal(1)] [RED("behaviorMode"... |
src/SFA.DAS.EmployerIncentives.Queries/ApprenticeshipIncentives/UlnHasPayments/UlnHasPaymentsResponse.cs | uk-gov-mirror/SkillsFundingAgency.das-employer-incentives | 4 | 7061169 | namespace SFA.DAS.EmployerIncentives.Queries.ApprenticeshipIncentives.UlnHasPayments
{
public class UlnHasPaymentsResponse
{
public bool HasPayments { get; }
public UlnHasPaymentsResponse(bool hasPayments)
{
HasPayments = hasPayments;
}
}
}
|
examples/MvcWeb/Views/Shared/_Layout.cshtml | MrAnh3011/IDJ | 0 | 7061170 | <reponame>MrAnh3011/IDJ<gh_stars>0
@using Microsoft.AspNetCore.Hosting
@using Microsoft.Extensions.Hosting
@inject IWebHostEnvironment Env
<!doctype html>
<html lang="en">
<head>
@if (!User.Identity.IsAuthenticated && !Env.IsDevelopment())
{
<!-- Insert Google Analytics here -->
}
<meta charse... |
Src/Metrics/Counter.cs | jameswestbv/Metrics.NET | 0 | 7061171 | <gh_stars>0
namespace Metrics
{
/// <summary>
/// A counter is a simple incrementing and decrementing 64-bit integer.
/// Each operation can also be applied to a item from a set and the counter will store individual count for each set item.
/// </summary>
public interface Counter : ResetableMetric... |
TappyPlaneUnity/Assets/Game/Scripts/UI/PlaneCard.cs | aws-samples/aws-gaming-unity-labs-sample | 4 | 7061172 | <reponame>aws-samples/aws-gaming-unity-labs-sample<filename>TappyPlaneUnity/Assets/Game/Scripts/UI/PlaneCard.cs
using UnityEngine;
using UnityEngine.UI;
using System;
using UnityEngine.EventSystems;
public class PlaneCard : MonoBehaviour, IPointerClickHandler
{
[SerializeField] Image m_selecedIndicator;
[Seri... |
src/Service.DwhExternalBalances/GrpcServices/DwhExternalBalancesesService.cs | MyJetWallet/Service.DwhExternalBalances | 0 | 7061173 | <filename>src/Service.DwhExternalBalances/GrpcServices/DwhExternalBalancesesService.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Service.DwhExternalBalances.DataBase;
using Service.DwhExternalBalances.Domain.Models;
using Service.DwhExternalBalances.Grpc;... |
Zw.MqttMadeBetter/Client/Auto/MqttAutoClientOptions.cs | zawodskoj/MqttMadeBetter | 1 | 7061174 | using System;
using Microsoft.Extensions.Logging;
namespace Zw.MqttMadeBetter.Client.Auto
{
public delegate TimeSpan Backoff(int numOfRetry);
public class MqttAutoClientOptions
{
public static Backoff ConstantBackoff(TimeSpan time) => _ => time;
public static Backoff LinearBackoff(Time... |
src/AlbyOnContainers.IdentityServer/Services/ProfileService.cs | alby-corp/alby-on-containers | 1 | 7061175 | <filename>src/AlbyOnContainers.IdentityServer/Services/ProfileService.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using IdentityServer.Models;
using IdentityServer4.Models;
using IdentityServer4.Services;
using Microsoft.AspNetCore.Identity;
namespace IdentityServer.Services
{
public class P... |
WeaverAnnotations.Util/Xtn/String.cs | Reinms/WeaverAnnotations | 1 | 7061176 | namespace WeaverAnnotations.Util.Xtn
{
using System;
using System.Diagnostics.CodeAnalysis;
public static partial class StringXtn
{
public static Boolean IsNullOrWhiteSpace(this String? self) => String.IsNullOrWhiteSpace(self);
public static Boolean IsNullOrEmpty(this String? self) => ... |
src/RESTfullDemo/Helpers/HashFactory.cs | dotnet9/RESTfullDemo | 0 | 7061177 | using Newtonsoft.Json;
using System;
using System.Security.Cryptography;
using System.Text;
namespace RESTfullDemo.Helpers
{
public class HashFactory
{
public static string GetHash(object entity)
{
string result = string.Empty;
var json = JsonConvert.SerializeObject(ent... |
Meraki.Api/Data/LinkAggregationSwitchPort.cs | blaherrod/Meraki.Api | 7 | 7061178 | <gh_stars>1-10
namespace Meraki.Api.Data;
/// <summary>
/// SwitchPort
/// </summary>
[DataContract]
public class LinkAggregationSwitchPort
{
/// <summary>
/// Serial number of the switch.
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "serial")]
public string Serial { get; set; } = string.Em... |
Unity/Assets/ThirdParty/Ultimate Replay 2.0/Scripts/Storage/Stream/ReplayStreamBinaryTarget.cs | iothua/ExperimentOS | 0 | 7061179 | using System;
using System.IO;
namespace UltimateReplay.Storage
{
public partial class ReplayStreamBinaryTarget : ReplayStreamTarget, IDisposable
{
// Constructor
public ReplayStreamBinaryTarget(IReplayStreamProvider streamProvider, ReplayCompressionLevel compressionLevel = ReplayCom... |
Workday.Payroll.Interface/Payroll_InterfacePortClient.cs | matteofabbri/Workday.WebServices | 18 | 7061180 | <filename>Workday.Payroll.Interface/Payroll_InterfacePortClient.cs
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Threading.Tasks;
namespace Workday.Payroll.Interface
{
[GeneratedCode("Syst... |
src/Definux.Seo/Attributes/CanonicalAttribute.cs | Definux/Seo | 0 | 7061181 | <reponame>Definux/Seo
using Definux.Seo.Extensions;
using Definux.Utilities.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
namespace Definux.Seo.Attributes
{
/// <summary>
/// Canonical attribute that set a href of current page ... |
ButorRevolutionWebAPI/src/backend/sales/IFPS.Sales.Domain/Model/ServiceTypeAggregate/ServiceTypeTranslation.cs | encosoftware/ifps | 0 | 7061182 | <filename>ButorRevolutionWebAPI/src/backend/sales/IFPS.Sales.Domain/Model/ServiceTypeAggregate/ServiceTypeTranslation.cs<gh_stars>0
using ENCO.DDD.Domain.Model.Entities;
using ENCO.DDD.Domain.Model.Enums;
namespace IFPS.Sales.Domain.Model
{
public class ServiceTypeTranslation : Entity, IEntityTranslation<ServiceT... |
src/Zorbit.Explorer.Functions/GetBlockByHash.cs | zorbtech/zorbit-explorer-functions | 0 | 7061183 | <filename>src/Zorbit.Explorer.Functions/GetBlockByHash.cs<gh_stars>0
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.WindowsAzure.Storage.Table;
using Zorbit.Explorer.Functions.Models;
using Zorbit.Explorer.Func... |
xkomZadanie/Controllers/EventController.cs | MZachura/.net5WebApi | 0 | 7061184 | <reponame>MZachura/.net5WebApi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using xkomZadanie.Dtos;
using xkomZadanie.Entities;
using xkomZadanie.Repositories;
namespace xkomZadanie.Controllers
{
[ApiController]
[Route("even... |
Test/Reasoning.Host.Test/Services/ReasoningTakResolverTests.cs | lwardzala/Business-Rules-Reasoning-System | 9 | 7061185 | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Reasoning.Core.Contracts;
using Reasoning.Core.Models;
using Reasoning.Core.Services;
using Reasoning.Host.Repositories;
using Reasoni... |
src/Features/Core/Portable/MetadataAsSource/MetadataAsSourceFileService.cs | belav/roslyn | 0 | 7061186 | <filename>src/Features/Core/Portable/MetadataAsSource/MetadataAsSourceFileService.cs
// 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.Col... |
onkobuf/model/Stage.cs | sundersb/invox | 0 | 7061187 | <filename>onkobuf/model/Stage.cs
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using onkobuf.lib;
namespace onkobuf.model {
/// <summary>
/// N002.xml clinical stage record
/// </summary>
class Stage {
int id;
string ds;
string stageCode;
string... |
src/tests/JIT/Regression/CLR-x86-JIT/V1-M11-Beta1/b38403/b38403.cs | belav/runtime | 0 | 7061188 | <filename>src/tests/JIT/Regression/CLR-x86-JIT/V1-M11-Beta1/b38403/b38403.cs<gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
namespace Test
{
using System;
class AA
{
public static bool m_bStatic... |
src/FluentNHibernate/MappingModel/Output/XmlInheritanceWriter.cs | jbogard/fluent-nhibernate | 2 | 7061189 | <reponame>jbogard/fluent-nhibernate<gh_stars>1-10
using System;
using System.Xml;
using FluentNHibernate.MappingModel.ClassBased;
namespace FluentNHibernate.MappingModel.Output
{
public class XmlInheritanceWriter : NullMappingModelVisitor, IXmlWriter<ISubclassMapping>
{
private readonly IXmlWri... |
RenamePhotoByDateApp/Photo.cs | Sidorovj/Photo-Sorter | 0 | 7061190 | <filename>RenamePhotoByDateApp/Photo.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RenamePhotoByDateApp
{
class Photo : IComparable<Photo>
{
public string Path { get; private set; }
public DateTime CreatedOn { g... |
src/sys/dotnet/fan/sys/Pod.cs | fanx-dev/fantom | 83 | 7061191 | <gh_stars>10-100
//
// Copyright (c) 2006, <NAME> and <NAME>
// Licensed under the Academic Free License version 3.0
//
// History:
// 24 Sep 06 <NAME> Creation
//
using System;
using System.Collections;
using System.IO;
using DirectoryInfo = System.IO.DirectoryInfo;
using FileInfo = System.IO.FileInfo;
using Fanx... |
Zapp/Deploy/IDeployAnnouncement.cs | omniaretail/zapp | 5 | 7061192 | using System.Collections.Generic;
using Zapp.Pack;
namespace Zapp.Deploy
{
/// <summary>
/// Represents an interface that resolves all the values needed for a deployment.
/// </summary>
public interface IDeployAnnouncement
{
/// <summary>
/// Indicates if this deployment is a delta... |
src/Gridion/Internal/Logging/ConsoleLogger.cs | gridion/gridion | 1 | 7061193 | // <copyright file="ConsoleLogger.cs" company="Gridion">
// Copyright (c) 2019-2021, <NAME> (https://github.com/alexander-efremov)
// </copyright>
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for addi... |
Src/NSubstitute.Community.Diagnostics/Utils/ReflectionReader.cs | zvirja/NSubstitute.Community.Diagnostics | 1 | 7061194 | <reponame>zvirja/NSubstitute.Community.Diagnostics
using System;
using System.Reflection;
namespace NSubstitute.Community.Diagnostics.Utils
{
internal static class ReflectionReader
{
public static string ReadFieldValue<TRaw>(object obj, string memberName, Func<TRaw, string> reader, string defaultValue)... |
BoardGames/WpfUI/Constants.cs | Zuulde/BoardGames | 0 | 7061195 | <filename>BoardGames/WpfUI/Constants.cs
using System;
using System.IO;
namespace WpfUI
{
internal static class Constants
{
public const int INPUT_WAIT_SLEEP_TIME = 100;
public const string RESOURCES_DIR = ".\\Resources\\";
}
}
|
tests/OSharp.Tests/Audits/AuditEntityEventDataTests.cs | heshengli/osharp | 1,379 | 7061196 | <filename>tests/OSharp.Tests/Audits/AuditEntityEventDataTests.cs<gh_stars>1000+
using Xunit;
using OSharp.Audits;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shouldly;
namespace OSharp.Audits.Tests
{
public class AuditEntityEventDataTests
{
[Fact()]
... |
Mina.Example/SumUp/Server.cs | antosilva/Mina.NET | 103 | 7061197 | <filename>Mina.Example/SumUp/Server.cs
using System;
using System.Net;
using Mina.Core.Session;
using Mina.Example.SumUp.Codec;
using Mina.Example.SumUp.Message;
using Mina.Filter.Codec;
using Mina.Filter.Codec.Serialization;
using Mina.Filter.Logging;
using Mina.Transport.Socket;
namespace Mina.Example.SumUp
{
c... |
HubSpot.NET/Core/Interfaces/IHubSpotModel.cs | roycornelissen/HubSpot.NET | 69 | 7061198 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HubSpot.NET.Core.Interfaces
{
public interface IHubSpotModel
{
bool IsNameValue { get; }
}
}
|
src/Adapter/PlatformServices.Shared/netstandard1.0/Services/ns10TraceListenerManager.cs | cltshivash/testfx | 307 | 7061199 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices
{
using System.IO;
using Microsoft.VisualStudio.Te... |
Desafio_Mantis/DataBaseSteps/TarefasDBSteps.cs | Erika05/Mantis | 0 | 7061203 | <filename>Desafio_Mantis/DataBaseSteps/TarefasDBSteps.cs
using Desafio_Mantis.Helpers;
using Desafio_Mantis.Queries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Desafio_Mantis.DataBaseSteps
{
public class TarefasDBSteps
{
... |
NotifyYou/NotifyYou/Models/Channel/ChannelInfo.cs | slai47/xamarin-tube-checker | 0 | 7061204 | <reponame>slai47/xamarin-tube-checker<gh_stars>0
using System;
namespace NotifyYou.Models.Channel
{
public class ChannelInfo
{
public string Kind { get; set; }
public string ChannelId { get; set; }
}
}
|
OddJob.Storage.SQL.Common/BaseSqlJobQueuePurger.cs | to11mtm/OddJob | 13 | 7061206 | using System;
using System.Linq;
using GlutenFree.OddJob.Interfaces;
using GlutenFree.OddJob.Storage.Sql.Common.DbDtos;
using LinqToDB;
using LinqToDB.Mapping;
using LinqToDB.Tools;
namespace GlutenFree.OddJob.Storage.Sql.Common
{
public class BaseSqlJobQueuePurger : IJobQueuePurger
{
private readonly... |
SF.Core/Data/Dapper/Repositories/IDapperRepositoryOfTEntity.cs | blueskybcl/SF-Boilerplate | 74 | 7061207 | <filename>SF.Core/Data/Dapper/Repositories/IDapperRepositoryOfTEntity.cs
using SF.Entitys.Abstraction;
using System;
using System.Collections.Generic;
using System.Text;
namespace SF.Core.Data.Dapper.Repositories
{
public interface IDapperRepository<TEntity> : IDapperRepository<TEntity, long> where TEntity : Bas... |
getbin.cs | jacksonh/getbin | 1 | 7061208 |
using System;
using System.IO;
using System.Net;
using System.Configuration;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using NDesk.Options;
public class Driver {
public static int Main (string [] args)
{
Driver driver = new Driver ();
bool help = false;
var p = new OptionSet... |
XamlingCore/XamlingCore.Xamarin/Glue/XamarinGlue.cs | xtellurian/Xamling-Core | 1 | 7061209 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Autofac;
using Xamarin.Forms;
using XamlingCore.Portable.View.ViewModel;
using XamlingCore.XamarinThings.Content.MasterDetail;
using XamlingCore.XamarinThings.Content.Navig... |
DotifyV2.Persistence/Repositories/ArtistRepository.cs | DottieDot/DotifyV2 | 0 | 7061210 | using System;
using System.Threading.Tasks;
using DotifyV2.Application.DTOs;
using DotifyV2.Application.Repositories;
using SqlKata.Execution;
using DotifyV2.Common;
using DotifyV2.Persistence.Tables;
using System.Linq;
using System.Collections.Generic;
namespace DotifyV2.Persistence.Repositories
{
public class... |
Pong_XBox/Pong_XBox/Engine.cs | SquirtingElephant/Pong-XNA | 0 | 7061211 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using XNALib;
namespace Pong
{
public class Instance : IEngine
{
public... |
Assets/AudioVisualizer/Scripts/PlayerPrefsManager.cs | Georgy760/AudioVisualizer | 0 | 7061212 | using UnityEngine;
using System.Collections;
public class PlayerPrefsManager : MonoBehaviour {
const string MICROPHONE_KEY = "microphone";
const string SENSITIVITY_KEY = "sensitivity";
const string THRESHOLD_KEY = "threshold";
public static void SetMicrophone (int mic) {
PlayerPrefs.SetInt (MICROPHONE_KEY, mi... |
ATF/Framework/Atf.Gui.WinForms/Controls/ColorPicker/ColorBox.cs | T-rvw/LevelEditor | 0 | 7061213 | <filename>ATF/Framework/Atf.Gui.WinForms/Controls/ColorPicker/ColorBox.cs
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
/******************************************************************/
/***** *****/
/***** Project: ... |
src/Nucleo.ApplicationScenarios/Repositories/BaseRepository.cs | brianmains/Nucleo.NET | 2 | 7061214 | using System;
using System.Collections.Generic;
using System.Linq;
using Nucleo.Orm;
namespace Nucleo.Repositories
{
public abstract class BaseRepository : IRepository
{
private IEntityUnitOfWork _unitOfWork = null;
#region " Properties "
protected IEntityUnitOfWork UnitOfWork
{
get { return _unitO... |
Tesseract.Android/MainActivity.cs | manikandansai/XamarinTesseractSample | 0 | 7061215 | using System;
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Support.Design.Widget;
using Android.Support.V7.App;
using Android.Views;
using Tesseract.Droid;
using Android.Content;
using Android.Graphics;
using Java.IO;
using static Android.Provider.MediaStore;
using Plugin.Media;
using Plugi... |
Firma.Intranet/Views/Strona/Index.cshtml | everstudybee/s6-aplikacje-internetowe-kurs | 0 | 7061216 | <reponame>everstudybee/s6-aplikacje-internetowe-kurs
@model IEnumerable<Firma.Data.Data.CMS.Strona>
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => mo... |
XenAdmin/Dialogs/OptionsPages/SaveAndRestoreOptionsPage.Designer.cs | DarrenMatthews776/xenadmin | 169 | 7061217 | namespace XenAdmin.Dialogs.OptionsPages
{
partial class SaveAndRestoreOptionsPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bein... |
src/System.WebEx/Web/UI+HtmlBuilder/HtmlBuilderDivTag.cs | BclEx/BclEx-Web | 0 | 7061218 | namespace System.Web.UI
{
/// <summary>
/// HtmlBuilderDivTag
/// </summary>
public class HtmlBuilderDivTag
{
/// <summary>
/// Initializes a new instance of the <see cref="HtmlBuilderDivTag"/> class.
/// </summary>
/// <param name="b">The b.</param>
... |
src/EliteChroma.Core/Layers/OnFootLayer.cs | poveden/EliteChroma | 29 | 7061220 | <reponame>poveden/EliteChroma<gh_stars>10-100
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using EliteChroma.Chroma;
using EliteFiles.Bindings.Binds;
using EliteFiles.Status;
namespace EliteChroma.Core.Layers
{
[SuppressMessage("Performance", "CA1812:Avoid uninstanti... |
materials/sources/assembly_valheim/RandomFlyingBird.cs | ingvard/valheim-jserver | 0 | 7061221 | using System;
using UnityEngine;
// Token: 0x020000EA RID: 234
public class RandomFlyingBird : MonoBehaviour
{
// Token: 0x06000E8B RID: 3723 RVA: 0x00067E34 File Offset: 0x00066034
private void Start()
{
this.m_nview = base.GetComponent<ZNetView>();
this.m_anim = base.GetComponentInChildren<ZSyncAnimation>();... |
PeluClienteWpf/PeluClienteWpf/ConectorAPI.cs | Cactus-ar/C-Sharp-Bundle | 0 | 7061222 | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
namespace PeluClienteWpf
{
public static class ConectorAPI
{
public static HttpClient clienteAPI { get; set; }
public static void InicializarCliente()
{
... |
GoCommando_old/GoCommandoException.cs | rebus-org/GoCommando | 50 | 7061223 | <reponame>rebus-org/GoCommando
using System;
using System.Runtime.Serialization;
namespace GoCommando
{
/// <summary>
/// Friendly exception that can be thrown in cases where you want the program to exit with
/// a nice, human-readable message. Only the message will be shown.
/// </summary>
[Seria... |
TransitCity/CitySimulationUnitTest/JobScheduleUnitTests.cs | gartenriese2/TransitCity | 0 | 7061224 | using System;
using System.Collections.Generic;
using System.Linq;
using CitySimulation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Time;
namespace CitySimulationUnitTest
{
[TestClass]
public class JobScheduleUnitTests
{
[TestMethod]
public void TestRandom()
{
... |
src/Bpmtk.Engine/History/IActivityInstanceQuery.cs | caifl/bpmtk | 36 | 7061225 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bpmtk.Engine.Models;
using Bpmtk.Engine.Runtime;
namespace Bpmtk.Engine.History
{
public interface IActivityInstanceQuery
{
IActivityInstanceQuery SetId(long id);
IActivityInstanceQuery SetProcessInstanceId(lo... |
Assets/App/View/IEndTurnButtonView.cs | cschladetsch/CardChess | 9 | 7061226 | namespace App.View
{
using Agent;
using Dekuple.View;
/// <summary>
/// View of an end-turn button
/// </summary>
public interface IEndTurnButtonView
: IView<IEndTurnButtonAgent>
{
}
}
|
Chapter-02/Part-04/Program.cs | Vladimir-Zakharenkov/csharp-4-schildt | 0 | 7061227 | #region Russian
/*
Наследование
Наследование представляет собой процесс, в ходе которого один объект приобретает
свойства другого объекта. Это очень важный процесс, поскольку он обеспечивает
принцип иерархической классификации. Если вдуматься, то большая часть знаний
поддается систематизации благодаря иерархической... |
ED/DataObjects/DTOS/User/UserActions.cs | GeorgeThackrayWT/GraphQLSample | 0 | 7061228 | namespace DataObjects.DTOS
{
public enum UserActions
{
GroupA = 1,
GroupB = 2,
GroupC = 3,
GroupD = 4,
GroupE = 5,
GroupF = 6,
GroupG = 7,
GroupH = 8,
GroupI = 9,
GroupJ = 10,
GroupK = 11,
GroupL = 12,
Group... |
Produto.Domain/Entities/Configurations/ProdutoEntityTypeConfiguration.cs | duemori/produto-api | 0 | 7061229 | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Produto.Domain.Entities.Configurations
{
public class ProdutoEntityTypeConfiguration : IEntityTypeConfiguration<ProdutoEntity>
{
public void Configure(EntityTypeBuilder<ProdutoEntity> buil... |
src/AppMetrics.StatusPage/Core/HealthcheckBuilder.cs | MCKanpolat/AppMetrics.StatusPage | 2 | 7061230 | <filename>src/AppMetrics.StatusPage/Core/HealthcheckBuilder.cs
using System;
using System.Collections.Generic;
namespace AppMetrics.StatusPage
{
public class HealthCheckBuilder
{
public readonly Dictionary<string, HealthCheck> _healthChecks;
public HealthCheckBuilder()
{
_... |
src/Microsoft.VisualStudio.InteractiveWindow/CustomTrackingSpan.cs | jasonmalinowski/interactive-window | 2 | 7061231 | <filename>src/Microsoft.VisualStudio.InteractiveWindow/CustomTrackingSpan.cs
// 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.Diagnostics;
using Microsoft.VisualStudio.Text;
namespace Microsof... |
Gorgon/Gorgon.Graphics.Core/Devices/_Interfaces/IGorgonVideoAdapterInfo.cs | Tape-Worm/Gorgon | 55 | 7061232 | #region MIT
//
// Gorgon.
// Copyright (C) 2016 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mo... |
DAL/DAO/SqlParser.cs | damiancipolat/CRYPTON | 2 | 7061233 | <filename>DAL/DAO/SqlParser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Diagnostics;
namespace DAL.DAO
{
public class SqlParser
{
//Bindeo la lista de resultados con el data reader.
... |
SportsBetting/Tests/SportsBetting.Feeder.Core.Tests/TestObjects/HtmlNodes/Stubs/WebElementStub.cs | itplamen/SportsBetting | 1 | 7061235 | namespace SportsBetting.Feeder.Core.Tests.TestObjects.HtmlNodes.Stubs
{
using System.Collections.ObjectModel;
using System.Drawing;
using OpenQA.Selenium;
public class WebElementStub : IWebElement
{
private const string VALID_WAIT_FOR_ELEMENT = "waitForElement";
private readonly ... |
PowerSchemeServiceAPI/SettingSchemeLookup.cs | MACE4GITHUB/PowerScheme | 1 | 7061236 | <gh_stars>1-10
using Common;
using PowerSchemeServiceAPI.Model;
using System;
using System.Collections.Generic;
namespace PowerSchemeServiceAPI
{
internal static class SettingSchemeLookup
{
internal static readonly Dictionary<SettingScheme, IPowerScheme> SettingSchemes
= new Dictionary<Set... |
Daramkun.Misty.Core/Platforms/GameLoopers/PlainGameLooper.cs | Daramkun/Misty | 0 | 7061237 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Daramkun.Misty.Common;
namespace Daramkun.Misty.Platforms.GameLoopers
{
public class PlainGameLooper : IGameLooper
{
public void Run ( Action updateLoop, Action drawLoop, ref bool isRunningMode )
... |
LangParser/Program.cs | afdcardoso/parser | 0 | 7061238 | using LangParser;
using System.Text;
using Antlr4.Runtime;
try{
string input = "";
StringBuilder text = new StringBuilder();
Console.WriteLine("Input.");
// while ((input = Console.ReadLine()) != null)
// {
// text.AppendLine(input);
// }
input = Console.ReadLine();
text.Appe... |
Program/SDP_prototype/SDP_prototype/Staff/StaffPointCard_inSide.Designer.cs | CWKSC/HKIVE-GSD-SDP-Point-Card-System | 7 | 7061239 | namespace SDP_prototype.Staff
{
partial class StaffPointCard_inSide
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
CefGlue/Classes.Handlers/CefTraceClient.cs | taydakov/cefgluebrowser | 3 | 7061240 | <filename>CefGlue/Classes.Handlers/CefTraceClient.cs
namespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using Xilium.CefGlue.Interop;
/// <summary>
/// Implement this interface to re... |
Infrastructure/ND.MCJ.AOP/Transaction/TransactionalActionBase.cs | PengXX0/ND.MCJ | 0 | 7061241 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
namespace ND.MCJ.AOP.Transaction
{
public class TransactionalActionBaseAttribute : ActionFilterAttribute
{
}
[AttributeUsage(AttributeTargets.Method, AllowMultiple = f... |
systems-for-design-and-implementation/labs/CSharp_ChatSockets/persistence/Persistence.cs | vampy/university | 6 | 7061242 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace chat.persistence
{
public abstract class Persistence
{
private static Persistence instance = null;
public abstract IUserRepository createUserRepository();
... |
FGD.Data/Configuration/Account/AccountConfiguration.cs | VladyslavYakymenkoCom/Fake-Google-Drive | 2 | 7061243 | <reponame>VladyslavYakymenkoCom/Fake-Google-Drive<gh_stars>1-10
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FGD.Data.Configuration.Account
{
public class AccountConfiguration : IEntityTypeConfiguration<AccountModel<int>>
{
public void Configure... |
WmcSoft.CodeDom/CodeDomExtensions.cs | vjacquet/WmcSoft | 3 | 7061244 | #region Licence
/****************************************************************************
Copyright 1999-2015 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it, subject
to the follow... |
HexTileChess/Assets/Scripts/Agent.cs | phenix1021/HexTileChess | 0 | 7061245 | using UnityEngine;
using Phenix.Unity.Grid;
public abstract class Agent : MonoBehaviour
{
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
|
projecto/Data/Project.cs | medvedbeast/Projecto | 0 | 7061246 | using System;
using System.Collections.Generic;
namespace Projecto.Data
{
public partial class Project
{
public Project()
{
ProjectActivities = new HashSet<ProjectActivity>();
ProjectAssignments = new HashSet<ProjectAssignment>();
ProjectVersions = new HashS... |
Controller/Heroes/DocHavoc/Cards/CauterizeCardController.cs | qoala/CauldronMods | 0 | 7061247 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using Handelabra;
namespace Cauldron.DocHavoc
{
public class CauterizeCardController : CardController
{
... |
NHS111/NHS111.Models.Test/Models/Web/Logging/AuditedDosRequestTests.cs | NHS111Online/nhs111-online | 7 | 7061249 | <filename>NHS111/NHS111.Models.Test/Models/Web/Logging/AuditedDosRequestTests.cs<gh_stars>1-10
using AutoMapper;
using NHS111.Models.Models.Web;
using NHS111.Models.Models.Web.Logging;
using NUnit.Framework;
namespace NHS111.Models.Test.Models.Web.Logging
{
[TestFixture]
public class AuditedDosRequestTests
... |
Admin-ka/Utils/MetricExtension.cs | redmanmale/admin-ka | 1 | 7061250 | using System;
namespace Admin.Utils
{
public static class MetricExtension
{
public static bool IsMetricInDanger<T>(this T metricValue, T watermark, WatermarkType watermarkType) where T : IComparable
{
switch (watermarkType)
{
case WatermarkType.More:
... |
UiPlus/Components/GH_Controls/GH_Static/GH_Legend.cs | interopxyz/UiPlus | 1 | 7061251 | <reponame>interopxyz/UiPlus<filename>UiPlus/Components/GH_Controls/GH_Static/GH_Legend.cs
using Grasshopper.Kernel;
using Rhino.Geometry;
using System;
using System.Collections.Generic;
using Sd = System.Drawing;
using UiPlus.Elements;
using Grasshopper.Kernel.Parameters;
namespace UiPlus.Components.GH_Controls.GH_S... |
AsyncItemServices/IAsyncReadOnlyItem.cs | electricessence/AsyncItemServices | 0 | 7061253 | using System.Threading.Tasks;
namespace AsyncItemServices
{
public interface IAsyncReadOnlyItem<T>
{
/// <summary>
/// Retrieves the value of the item.
/// </summary>
/// <returns>The value task containing the asynchronus value.</returns>
ValueTask<T> Get();
}
}
|
Flagscript.Web.Assets.DataTables/DataTablesServerSideResponse.cs | flagscript/Flagscript.Web.Assets.DataTables | 0 | 7061255 | <reponame>flagscript/Flagscript.Web.Assets.DataTables
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Flagscript.Web.Assets.DataTables
{
/// <summary>
/// Resents a valid JSON response to a DataTables server side processing request.
/// </summary>
/// <remarks>
/// <para>Once DataTables has ... |
src/FileSharper/FileSharperCore/Processors/MultiProcessor.cs | adv12/FileSharper | 10 | 7061256 | <reponame>adv12/FileSharper
// Copyright (c) 2017 <NAME>. Published under the MIT license.
// See license.txt in the FileSharper distribution or repository for the
// full text of the license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
namespace FileS... |
Samples/ValidarSample/ValidationFactory.cs | ltrzesniewski/FodyAddinSamples | 60 | 7061257 | using System;
using System.Collections.Generic;
using FluentValidation;
namespace ValidarSample
{
public static class ValidationFactory
{
static Dictionary<RuntimeTypeHandle, IValidator> validators = new Dictionary<RuntimeTypeHandle, IValidator>();
public static IValidator GetValidator(Type mo... |
MongoDB.Thin.Tests/PathTests.cs | molinch/MongoDB.Thin | 0 | 7061258 | using FluentAssertions;
using Xunit;
namespace MongoDB.Thin.Tests
{
public class PathTests
{
private class Document
{
public string Field { get; set; }
public Document[] SubDocuments { get; set; }
}
[Fact]
public void When_getting_path_for_docume... |
Assets/Scripts/Environment/WallController.cs | Owmacohe/Vehementia | 0 | 7061259 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WallController : MonoBehaviour
{
public Color[] particleColours;
private ParticleSystem part;
private ParticleSystem.MainModule partMain;
private PlayerController player;
private void Start()
{
... |
GameRaider/Models/GameRaiderContext.cs | mstambaugh/GameRaider | 0 | 7061260 | using Microsoft.EntityFrameworkCore;
namespace GameRaider.Models
{
public class GameRaiderContext : DbContext
{
public GameRaiderContext(DbContextOptions<GameRaiderContext> options)
: base(options)
{
}
public DbSet<Game> Games { get; set; }
public DbSet<Revi... |
KC3Hack2022_teamc/Assets/TZ/Scripts/CameraPanel/PanelOff.cs | kc3hack/2022_c | 0 | 7061261 | <reponame>kc3hack/2022_c
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TZ.Camera {
public class PanelOff : MonoBehaviour {
[SerializeField] GameObject panel;
private void Start() {
OnClick();
}
public void OnClick() {
... |
sln/test/Samples/SampleSpecs/WebSite/describe_exception.cs | provegard/NSpec | 85 | 7061262 | using System;
using NSpec;
public class describe_exception : nspec
{
void given_a_null_string()
{
it["should throw null-ref"] =
expect<NullReferenceException>(() => nullString.Trim());
}
string nullString = null;
}
public static class describe_exception_output
{
public static ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.