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/Server/HealthMonitor/Monitor/HealthMonitor.cs | gyantal/SqCore | 0 | 7069698 | using SqCommon;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace HealthMonitor
{
public enum DataSource { HealthMonitor = 0, VBroker = 1, VBrokerCheckOKMessageArrived = 2, SqCo... |
src/LightBuzz.Vitruvius.WPF/Controls/KinectHoverButton.xaml.cs | voytasify/kinect-photo-gallery | 197 | 7069700 | using LightBuzz.Vitruvius.WPF;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace LightBuzz.Vitruvius.Controls
{
/// <summary>
/// Interaction logic for KinectHoverButton.xaml
/// </summary>
public partial cla... |
ATM/Program.cs | francescodt/Lab02-ATM | 0 | 7069701 | <reponame>francescodt/Lab02-ATM
using System;
using System.Security.Cryptography.X509Certificates;
namespace ATM
{
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Welcome to Francesco's Empty ATM!");
try
{
AtmHand... |
Core/Kuno/Domain/IEntity.cs | kuno-framework/kuno | 2 | 7069702 | /*
* Copyright (c) Kuno Contributors
*
* This file is subject to the terms and conditions defined in
* the LICENSE file, which is part of this source code package.
*/
namespace Kuno.Domain
{
/// <summary>
/// Represents a <see href="http://bit.ly/2dVQsXu">Domain Entity</see> and provides a thread of co... |
src/PackSite.Library.Modeling.Specifications/NotSpecification.cs | PackSite/Library.Modeling | 0 | 7069703 | <reponame>PackSite/Library.Modeling
namespace PackSite.Library.Modeling.Specifications
{
using System;
using System.Linq.Expressions;
using PackSite.Library.Modeling.Specifications.Internal;
/// <summary>
/// Specification which indicates the semantics opposite to the given specification.
/// ... |
domain/TwitterFollower.Domain/Error.cs | serdarb/TwitterFollower | 1 | 7069704 | <filename>domain/TwitterFollower.Domain/Error.cs
using System;
using MongoDB.Bson;
namespace TwitterFollower.Domain
{
public class ApiError
{
public ObjectId Id { get; set; }
public string Message { get; set; }
public DateTime When { get; set; }
}
}
|
HexPlay/Assets/Scripts/view/HudView.cs | DraigonEx/c--unity-learning | 0 | 7069705 | using UnityEngine;
using UnityEngine.UI;
class HudView : MonoBehaviour
{
public void ToggleHud(GameObject gameObject)
{
gameObject.SetActive(!gameObject.activeSelf);
}
public void progressTurn()
{
//next turn logic here...
}
}
|
SP579emulator/Tri_CheckSumCalc.cs | iboalali/SP579Simulator | 0 | 7069706 | <filename>SP579emulator/Tri_CheckSumCalc.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SP579emulator {
/// <summary>
/// Calculates the checksum of a record
... |
Crowd Simulation/Assets/Scripts/AIControl.cs | The-Ali-Reda/unity-ai-course | 0 | 7069707 | <reponame>The-Ali-Reda/unity-ai-course
using UnityEngine;
using UnityEngine.AI;
public class AIControl : MonoBehaviour {
GameObject[] goalLocations;
UnityEngine.AI.NavMeshAgent agent;
Animator anim;
float _speedMult;
float _detectionRadius = 5;
float _fleeRadius = 15;
void ResetAgent()
... |
ProtonType.App/Models/MainModel.cs | tainicom/ProtonType | 0 | 7069708 | <filename>ProtonType.App/Models/MainModel.cs<gh_stars>0
#region License
// Copyright 2019-2021 <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.apach... |
camunda-xml-model-net/src/main/java/org/camunda/bpm/model/xml/impl/type/attribute/StringAttributeBuilderImpl.cs | luizfbicalho/Camunda.NET | 6 | 7069709 | <gh_stars>1-10
using System;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Ap... |
Assets/Scripts/Slidable.cs | cosmogonystudio/they-see-me-sliming | 0 | 7069710 | using UnityEngine;
public class Slidable : MonoBehaviour
{
[SerializeField]
private PhysicsMaterial2D material;
private Collider2D coll;
private int defaultLayer;
void Awake()
{
defaultLayer = LayerMask.NameToLayer("Default");
coll = GetComponent<Collider2D>();
}
... |
src/Mews.Eet/Dto/Wsdl/RevenueData.cs | Leeemons/eet-dotnetcore | 48 | 7069711 | <gh_stars>10-100
using System;
using System.Xml.Serialization;
namespace Mews.Eet.Dto.Wsdl
{
[Serializable]
[XmlType(Namespace = "http://fs.mfcr.cz/eet/schema/v3")]
public class RevenueData
{
[XmlAttribute(AttributeName = "dic_popl")]
public string TaxPayerTaxIdentifier { get; set; }
... |
src/InfluencerWannaBe/Views/Offers/Details.cshtml | stelianraev/InfluencerWannaBe | 0 | 7069713 | @model OfferViewModel
@using InfluencerWannaBe.Services.Publisher
@using InfluencerWannaBe.Services.Influencers
@using InfluencerWannaBe.Services.Offers
@inject IPublisherService publishers
@inject IInfluencerService influencers
@inject IOfferService offers
<div class="row mb-5">
<div class="card mb-3" style="... |
Assets/Scripts/UI/LogText/BribesRoll.cs | stowelly/FFBUnity-old | 15 | 7069714 | <reponame>stowelly/FFBUnity-old
using Fumbbl.Model.Types;
using System.Collections.Generic;
namespace Fumbbl.UI.LogText
{
public class BribesRoll : LogTextGenerator<Ffb.Dto.Reports.BribesRoll>
{
public override IEnumerable<LogRecord> Convert(Ffb.Dto.Reports.BribesRoll report)
{
Pla... |
Engine/Source/Developer/MeshSimplifier/MeshSimplifier.Build.cs | PopCap/GameIdea | 0 | 7069716 | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class MeshSimplifier : ModuleRules
{
public MeshSimplifier(TargetInfo Target)
{
PublicIncludePaths.Add("Developer/MeshSimplifier/Public");
PrivateDependencyModuleNames.Add("Core");
PrivateDependencyModu... |
Inlock - API/BACKEND/Senai.InLock.WebApi/Senai.InLock.WebApi/Repositories/JogoRepository.cs | amadorsenai/API- | 0 | 7069717 | <reponame>amadorsenai/API-
using Microsoft.EntityFrameworkCore;
using Senai.InLock.WebApi.Domains;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.InLock.WebApi.Repositories
{
public class JogoRepository
{
p... |
Code/Client/Inbox2/Framework/VirtualMailBox/Data.cs | waseems/inbox2_desktop | 29 | 7069718 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using Inbox2.Framework.Interfaces.Enumerations;
using Inbox2.Framework.VirtualMailBox.Entities;
using Inbox2.Platform.Channels.Entities;
using Inbox2.Platform.Framework;
using Inbox2.Platform... |
USFarmExchange/USFarmExchange/admin/AdminSentimentalQuote.aspx.cs | dlnuckolls/usfarmexchange | 0 | 7069719 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
namespace USFarmExchange.admin {
public partial class AdminSentimentalQuote : BasePage {
protected void Page_Load(object send... |
Web/CHE.Web/Controllers/TeachersController.cs | DenicaAtanasova/CHE | 0 | 7069720 | namespace CHE.Web.Controllers
{
using CHE.Services.Data;
using CHE.Web.Infrastructure;
using CHE.Web.ViewModels;
using CHE.Web.ViewModels.Teachers;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
using static WebConstants;
public class TeachersCo... |
Assets/Tests/Terminal/TerminalLimitTests.cs | Genetic-Games/SysEarth | 0 | 7069721 | <reponame>Genetic-Games/SysEarth
using NUnit.Framework;
using SysEarth.States;
namespace SysEarth.Tests.Terminal
{
public class TerminalLimitTests
{
[Test]
public void GetDefaultInputHistoryLimitTest()
{
var terminalState = new TerminalState();
var actual = term... |
texo.tests/data/Services/CsvDataReaderTest.cs | guionardo/texo-exercise | 0 | 7069722 | using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using texo.data.Services;
using Xunit;
namespace texo.tests.data.Services
{
[ExcludeFromCodeCoverage]
public class CsvDataReaderTest
{
private const string Sample = @"year;title;studios;producers;winner
1980;Can't Stop the M... |
History/Website/Anniversary/DAL/UserCollection.cs | mind0n/hive | 5 | 7069723 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL.Entities;
namespace DAL
{
public class UserCollection
{
public List<User> Users = new List<User>();
}
}
|
addons/gdUnit3/src/asserts/AssertBase.cs | MikeSchulze/testProjectDependenies | 0 | 7069724 | namespace GdUnit3.Asserts
{
internal abstract class AssertBase<V> : IAssertBase<V>
{
protected V Current { get; private set; }
private string CustomFailureMessage { get; set; }
private string CurrentFailureMessage { get; set; }
protected AssertBase(V current)
{
... |
Geckofx-Core/WebIDL/Generated/Client.cs | CharlesZHENG/Geckofx | 0 | 7069725 | namespace Gecko.WebIDL
{
using System;
public class Client : WebIDLBase
{
public Client(nsISupports thisObject) :
base(thisObject)
{
}
public USVString Url
{
get
{
re... |
NSeetaface/NSeetafaceDemo/Seetaface.cs | iarray/SeetaFaceEngine | 14 | 7069726 | using NSeetafaceDemo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Seetaface
{
[StructLayout(LayoutKind.Sequential)]
public struct Rect
{
public int x;
public int y;
public int width;
p... |
Naos.Deployment.Core.Test/GenerateJsonHelperTest.cs | NaosFramework/Naos.Deployment | 12 | 7069727 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GenerateJsonHelperTest.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -------------------------------------------------... |
Assets/Scripts/Effects/DefencePathRendering.cs | Melesar/rockets-and-gamblers | 0 | 7069728 | <filename>Assets/Scripts/Effects/DefencePathRendering.cs
using UnityEngine;
namespace RocketsAndGamblers.Effects
{
[RequireComponent(typeof(LineRenderer))]
public class DefencePathRendering : MonoBehaviour
{
private LineRenderer lineRenderer;
private Vector3[] linePoints;
private ... |
ImageLocation/ViewController.cs | WorqHat/Photo-Library-Viewer-App | 0 | 7069729 | <gh_stars>0
using System;
using UIKit;
using Photos;
namespace ImageLocation
{
public partial class ViewController : UIViewController
{
private PhotoCollectionDataSource photoDataSource;
public ViewController(IntPtr handle) : base(handle)
{
}
public override void Vie... |
Sge.Service/Service/TurmaService.cs | tmoreirafreitas/WebApiAspNetCore | 0 | 7069730 | using Sge.Service.Interfaces;
using Sge.Service.Validators;
using SGE.Domain.Entities;
using SGE.Domain.Interfaces;
using System;
using System.Linq;
namespace Sge.Service.Service
{
public class TurmaService : Service<Turma, TurmaValidator>, ITurmaService
{
private readonly ITurmaRepository _repository... |
Src/SmtpServer/Authentication/IEndpointAuthenticator.cs | danielsen/SmtpServer | 0 | 7069731 | <filename>Src/SmtpServer/Authentication/IEndpointAuthenticator.cs
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace SmtpServer.Authentication
{
public interface IEndpointAuthenticator
{
/// <summary>
/// Authenticates ... |
0.UI/ESS.Api.Foundation/EntityConfig/EntityController.cs | wh-ess/ess | 1 | 7069732 | #region
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using ESS.Domain.Foundation.EntityConfig.Commands;
using ESS.Domain.Foundation.EntityConfig.ReadModels;
using ESS.Framework.CQRS;
#endregion
namespace ESS.Api.Foundation.EntityConfig
{
[RoutePrefix("api/... |
src/MedsProcessor.WebAPI/Infrastructure/ApiResponse.cs | vmandic/meds-processor | 15 | 7069733 | using System.Collections.Generic;
using System.Linq;
using MedsProcessor.WebAPI.Models;
using Microsoft.AspNetCore.Mvc;
namespace MedsProcessor.WebAPI.Infrastructure
{
public static class ApiResponse
{
public static ObjectResult ForMessage(string message, int statusCode = 200) =>
new ObjectResult(
new ApiM... |
chapter08-files/394-CountSpaces3-Read.cs | Jokerlocco/2019-2020_DAM1_EjerciciosClase | 1 | 7069734 | <filename>chapter08-files/394-CountSpaces3-Read.cs
// <NAME>
using System;
using System.IO;
class Ejercicio
{
static void Main()
{
Console.Write("Nombre del archivo: ");
string path = Console.ReadLine();
try
{
FileStream fich = new FileStream(path, F... |
TYHBOrderSystem/Models/CUSTOMER.cs | Falconier/TYHBOrderSystem | 0 | 7069735 | namespace TYHBOrderSystem.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Customer
{
public Customer()
{
... |
src/AirshipBindings.iOS.NotificationContentExtension/ApiDefinitions.cs | urbanairship/urbanairship-xamarin | 7 | 7069736 | /*
Copyright Airship and Contributors
*/
using CoreFoundation;
using CoreGraphics;
using Foundation;
using ObjCRuntime;
using System;
using UIKit;
using UserNotifications;
using WebKit;
namespace UrbanAirship {
[Static]
partial interface Constants
{
}
// @interface UAContentExtensionViewControll... |
Assets/Tiny Life Saver tools/Tools/Extensions/Editor/ExtGUI/ExtGUI.cs | usernameHed/AssetStorePrimitives | 0 | 7069737 | using hedCommon.extension.runtime;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using UnityEditor;
using UnityEngine;
using static UnityEditor.EditorGUILayout;
namespace hedCommon.extension.editor
{
/// <summary>
/// all of thi... |
SharpFunction/Commands/Vector3.cs | Maxuss/SharpFunction | 3 | 7069738 | namespace SharpFunction.Commands
{
/// <summary>
/// Represents coordinates in ingame world
/// </summary>
public struct Vector3
{
#nullable enable
/// <summary>
/// X coordinate in space
/// </summary>
public readonly Coordinate X { get; }
/// <summ... |
Tests/Cookbook/OnEnterRoomDialogue.cs | tznind/Wanderer | 9 | 7069739 | <filename>Tests/Cookbook/OnEnterRoomDialogue.cs
using NUnit.Framework;
using Wanderer.Adjectives;
namespace Tests.Cookbook
{
class OnEnterRoomDialogue : Recipe
{
string behaviour =
@"
- Name: DialogueOnEnter
Identifier: 5ae55edf-36d0-4878-bbfd-dbbb23d42b88
OnEnter:
Condition:
... |
H.Service/Data/IPSiteService.cs | HadesLam/JsCode | 0 | 7069740 | <gh_stars>0
using H.IService;
using H.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace H.Service
{
public class IPSiteService : ServiceBase, IIPSiteService
{
public IPSite Search(string _countryCode)
{
return Context.BAS_IPSite.Where(o => o.countr... |
Puzzle/Models/GameField.cs | JustBoo/Puzzle | 0 | 7069741 | using System.Collections.Generic;
namespace Puzzle
{
/// <summary>
/// Class that represents game field.
/// </summary>
public class GameField
{
/// <summary>
/// Constructor of the <see cref="GameField"/>.
/// </summary>
public GameField()
{
Cel... |
Caxapexac.Common.Unity/Editor/Attributes/Utils/Foldout/StyleFramework.cs | caxapexac/CommonUnity | 2 | 7069742 | using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Caxapexac.Common.Sharp.Editor.Attributes.Utils
{
internal static class StyleFramework
{
public static readonly GUIStyle Box;
public static readonly GUIStyle BoxChild;
public static readonly ... |
BACnet.Explorer.Core/Controls/SessionPicker.cs | LorenVS/bacstack | 8 | 7069743 | <reponame>LorenVS/bacstack
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Eto;
using Eto.Forms;
using BACnet.Explorer.Core.Models;
namespace BACnet.Explorer.Core.Controls
{
public class SessionPicker : DynamicLayout
{
private L... |
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Africa/Kenya/KenyaHolidayProvider.cs | cosmos-open/cosmos-holiday | 0 | 7069744 | using System.Collections.Generic;
using System.Linq;
using Cosmos.Abstractions;
using Cosmos.Business.Extensions.Holiday.Core;
using Cosmos.Business.Extensions.Holiday.Definitions;
using Cosmos.I18N.Countries;
// ReSharper disable once CheckNamespace
namespace Cosmos.Business.Extensions.Holiday
{
using Definitions... |
ClorofeelSource/Common/QuidMind.CloRoFeel.ServiceInterface/IRobotRemote.cs | flyingoverclouds/Clorofeel | 1 | 7069745 | <filename>ClorofeelSource/Common/QuidMind.CloRoFeel.ServiceInterface/IRobotRemote.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace QuidMind.CloRoFeel.Service
{
[ServiceContract(
Name = "... |
sdk/src/Services/CodeGuruReviewer/Generated/Model/SourceCodeType.cs | ChristopherButtars/aws-sdk-net | 1,705 | 7069746 | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
Source/Tests/CoreToFSharp/GhcBase.cs | gkmo/haskellnet | 1 | 7069747 | <reponame>gkmo/haskellnet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CoreToFSharpTests
{
[TestClass]
public class GhcBase : AbstractTest
{
private const string _target = "module";
publ... |
Backend/Shared/Hale.Lib/Modules/ModuleProviderExtensions.cs | arcticbit/Hale.Monitoring | 2 | 7069748 | namespace Hale.Lib.Modules
{
using System;
public static class ModuleProviderExtensions
{
public static ModuleResultSet ExecuteFunction(
this IModuleProviderBase moduleProvider,
string function,
ModuleSettingsBase settings,
string functionType = "fun... |
InstrumentedLibrary/Framework/Structs/Primitives/Quaternion4D.cs | Shkyrockett/CSharpSpeed | 0 | 7069749 | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using static InstrumentedLibrary.Maths;
using static System.Math;
namespace ... |
Media.Metadata/MainWindow.xaml.cs | rsking/Media.Metadata | 0 | 7069750 | <gh_stars>0
// -----------------------------------------------------------------------
// <copyright file="MainWindow.xaml.cs" company="RossKing">
// Copyright (c) RossKing. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Media.Metadata;
/// <... |
UnityEngine.AssetBundleGraph/Editor/System/Node/Buitin/Filter.cs | Rootjhon/AssetBundleGraph1.3Release_branch | 0 | 7069751 | using UnityEngine;
using UnityEditor;
using System;
using System.Linq;
using System.Collections.Generic;
using V1=AssetBundleGraph;
using Model=UnityEngine.AssetBundles.GraphTool.DataModel.Version2;
namespace UnityEngine.AssetBundles.GraphTool {
[CustomNode("Split Assets/Split By Filter", 20)]
public class Filter... |
Assets/Scripts/ComputeBufferLaunch.cs | FloDuno/Tuto-Compute-Shader | 2 | 7069752 | using UnityEngine;
public class ComputeBufferLaunch : MonoBehaviour
{
[SerializeField] private ComputeShader _shader;
private int _pragmaIndex;
// Use this for initialization
private void Start()
{
LaunchShader();
}
private void LaunchShader()
{
int _shaderFunctionID... |
Assets/Scripts/Game/Mahjong3D/Standard/Main/HUD/UserInfoWindow/MahjongExpressionWindow.cs | da1fanshu/1234ewsd | 2 | 7069753 | using UnityEngine;
using Assets.Scripts.Common.Windows.ChatViews;
using YxFramwork.Framework.Core;
using YxFramwork.Manager;
using com.yxixia.utile.YxDebug;
using YxFramwork.View;
using YxFramwork.Common;
namespace Assets.Scripts.Game.Mahjong3D.Standard
{
public class MahjongExpressionWindow : ExpressionWindow
... |
Dapper.Fluent/Dapper.Fluent.Infra/Mappers/PublicSchemaEntityMap.cs | SalatielBairros/dapper-fluent-repository | 0 | 7069755 | <reponame>SalatielBairros/dapper-fluent-repository
using Dapper.Fluent.Domain;
using Dapper.Fluent.ORM.Mapping;
namespace Dapper.Fluent.Infra.FluentMapper
{
public class PublicSchemaEntityMap : DapperFluentEntityMap<PublicSchemaEntity>
{
public PublicSchemaEntityMap(string schema)
: base(... |
ABC/ABC017/Tests/CTests.cs | AconCavy/atcoder-challenges-cs | 0 | 7069756 | <filename>ABC/ABC017/Tests/CTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class CTests
{
[TestMethod]
public void TestMethod1()
{
var input = @"4 6
1 3 30
2 3 40
3 6 25
6 6 10";
var output = @"80";
... |
Assets/Scripts/AudioManager.cs | MisaelAugusto/You-and-I | 0 | 7069757 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class AudioManager : MonoBehaviour
{
public static AudioManager instance;
private int songIndex;
[SerializeField] private AudioClip[] songs;
[SerializeField] private AudioSource au... |
src/Zapdate.Server.Core/Errors/UpdatePackageAlreadyExistsError.cs | Anapher/Zapdate | 1 | 7069758 | namespace Zapdate.Server.Core.Errors
{
public class UpdatePackageAlreadyExistsError : DomainError
{
public UpdatePackageAlreadyExistsError() : base(ErrorType.InvalidOperation, "An update package with the same version already exists.", ErrorCode.UpdatePackageWithVersionAlreadyExists)
{
}
... |
Assets_DesktopMode/player1mov.cs | mr-ravin/RotationWars | 0 | 7069759 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class player1mov : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if(Input.GetKey(KeyCode.LeftArrow)... |
src/Content/src/Net6WebApiTemplate.Application/Auth/Commands/SignIn/SignInCommandHandler.cs | marlonajgayle/Net6WebApiTemplate | 12 | 7069760 | <gh_stars>10-100
using MediatR;
using Net6WebApiTemplate.Application.Common.Exceptions;
using Net6WebApiTemplate.Application.Common.Interfaces;
namespace Net6WebApiTemplate.Application.Auth.Commands.SignIn
{
public class SignInCommandHandler : IRequestHandler<SignInCommand, AuthResult>
{
private reado... |
Tests/describe_QuickScan.cs | dwendt/libyara.NET | 22 | 7069761 | using System;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using libyaraNET;
namespace Tests
{
[TestClass]
public class describe_QuickScan
{
readonly string rulesPath = ".\\Content\\BasicRule.yara";
readonly string testPath = ".\\Content\\HelloWorld.txt";
... |
Assets/Scripts/Input Handling/InputManager.cs | williamjhagen/Re-Chase | 0 | 7069762 | <reponame>williamjhagen/Re-Chase<filename>Assets/Scripts/Input Handling/InputManager.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class InputManager : MonoBehaviour {
//ranges for reading movement inputs
private float cStickMin = .6f;
private float lowRange = .... |
Program.cs | MoimHossain/azure-api-management-rest-api | 0 | 7069763 |
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using apim_utils.Models;
using System.Linq;
using apim_utils.Supports;
using apim_utils.Experiments;
namespace apim_utils
{
/// <summary>
/// apim_utils -cerate-revision "
/// </summary>
class Program
... |
ImgurWin/ImgurWin/LinkGenerator.cs | bp2008/imgurwin | 0 | 7069766 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ImgurWin
{
public enum LinkType
{
DirectLink,
ThumbSmallSquare,
ThumbBigSquare,
ThumbSmall,
ThumbMedium,
ThumbLarge,
ThumbHuge
}
public class LinkGenerator
{
}
}
|
Lykke.Service.LykkeService/client/Lykke.Service.LykkeService.Client/AutofacExtension.cs | AmirAbrams/lykke.dotnettemplates.dynamic | 0 | 7069767 | <reponame>AmirAbrams/lykke.dotnettemplates.dynamic
using System;
using Autofac;
using Autofac.Core;
using JetBrains.Annotations;
using Lykke.Common.Log;
namespace Lykke.Service.LykkeService.Client
{
[PublicAPI]
public static class AutofacExtension
{
public static void RegisterLykkeServiceClient(th... |
PiffLibrary/Boxes/meta/PiffItemLocationResource.cs | mc0re/piff-library | 0 | 7069768 | <filename>PiffLibrary/Boxes/meta/PiffItemLocationResource.cs
namespace PiffLibrary.Boxes
{
public sealed class PiffItemLocationResource
{
#region Properties
[PiffDataFormat(PiffDataFormats.Skip)]
public PiffItemLocationBox Parent { get; }
/// <summary>
/// Arbitrary i... |
src/Libraries/Frapid.Messaging/DTO/SmsMessage.cs | towhidulmannanuae/frapid | 2 | 7069769 | <reponame>towhidulmannanuae/frapid
using System;
namespace Frapid.Messaging.DTO
{
public sealed class SmsMessage : IMessage
{
public string FromName { get; set; }
public string FromIdentifier { get; set; }
public string Subject { get; set; }
public Type Type { get; set; }
... |
src/DNSUpdater.Service/Base/Interfaces/IDnsDomain.cs | SmartyPantalones/DNSUpdater | 0 | 7069770 | namespace DNSUpdater.Base
{
public interface IDnsDomain
{
int DomainId { get; set; }
string Domain { get; set; }
}
} |
AntlrGrammarEditor/Processors/GrammarChecking/GrammarCheckingDiagnosis.cs | KvanTTT/DAGE | 19 | 7069772 | using System;
using AntlrGrammarEditor.Sources;
namespace AntlrGrammarEditor.Processors.GrammarChecking
{
public class GrammarCheckingDiagnosis : Diagnosis
{
public override WorkflowStage WorkflowStage => WorkflowStage.GrammarChecked;
public GrammarCheckingDiagnosis(int beginLine, int beginCol... |
Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest UIs/Base/Quest Indicators/QuestIndicatorSaver.cs | chris73it/QuestMachine_Tutorial | 0 | 7069773 | <filename>Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest UIs/Base/Quest Indicators/QuestIndicatorSaver.cs
// Copyright (c) <NAME>. All rights reserved.
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace PixelCrushers.QuestMachine
{
/// <summary>
... |
CLR/Tools/EmulatorInterface/ITouchPanel.cs | Sirokujira/MicroFrameworkPK_v4_3 | 4 | 7069774 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... |
Program.cs | FIRSTMap/AvatarGetter | 2 | 7069775 | <reponame>FIRSTMap/AvatarGetter
// Copyright (C) <NAME>
// This program is licensed under the MIT License.
// See the accompanying LICENSE file for more information.
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelForm... |
Ponshot/Assets/AuxiliarAssets/PathologicalGames/TriggerEventPro/Utilities/SetConstraintTarget.cs | denevcoding/Ponshot-Videogame | 0 | 7069777 | <filename>Ponshot/Assets/AuxiliarAssets/PathologicalGames/TriggerEventPro/Utilities/SetConstraintTarget.cs<gh_stars>0
/// <Licensing>
/// � 2011(Copyright) Path-o-logical Games, LLC
/// If purchased from the Unity Asset Store, the following license is superseded
/// by the Asset Store license.
/// Licensed under the U... |
BookLovers.Readers.Infrastructure/Persistence/ReadModels/ProfilePrivacyOptionReadModel.cs | kamilk08/BookLoversApi | 0 | 7069778 | namespace BookLovers.Readers.Infrastructure.Persistence.ReadModels
{
public class ProfilePrivacyOptionReadModel
{
public int Id { get; set; }
public string PrivacyTypeName { get; set; }
public int PrivacyTypeId { get; set; }
public string PrivacyOptionName { get; set; }
... |
Day01/SantaInstructionParserTest.cs | SirCAS/AdventOfCode | 2 | 7069779 | using NUnit.Framework;
namespace AdventOfCode.Day1
{
/// <summary>
/// Test for the SantaInstructionParser
/// Test-cases are divided using equivalence class partitioning
/// </summary>
[TestFixture]
public class SantaInstructionParserTest
{
[Test]
public void FindEndingFlo... |
gView.System/Framework/System/ColorConverter2.cs | jugstalt/gview5 | 8 | 7069780 | <filename>gView.System/Framework/System/ColorConverter2.cs
using gView.GraphicsEngine;
using System;
using System.Collections.Generic;
using System.Text;
namespace gView.Framework.system
{
public class ColorConverter2
{
static public ArgbColor ConvertFrom(string colString)
{
colStri... |
Elliptical/HtmlHelpers/Formatting.cs | ellipticaljs/Elliptical.Mvc | 0 | 7069781 | using System;
using System.Web;
namespace Elliptical.Mvc
{
public partial class HtmlHelpers
{
/// <summary>
///
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public IHtmlString HtmlString(string str)
{
return new Htm... |
TezosNotifyBot/Tzkt/OriginatedContract.cs | tnb-dev/TezosNotifierBot | 9 | 7069782 | using System;
using System.Collections.Generic;
using System.Text;
namespace TezosNotifyBot.Tzkt
{
public class OriginatedContract
{
public string kind { get; set; }
public string address { get; set; }
public int typeHash { get; set; }
public int codeHash { get; set; }
}
}
|
Plugins/MFLoginPlugin/Entities/ManagementForms/PasswordManagementForm.Designer.cs | brikchik/pgina | 0 | 7069783 | namespace pGina.Plugin.MFLoginPlugin.Entities.ManagementForms
{
partial class PasswordManagementForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resourc... |
GestorDeTaller.UI/Controllers/RepuestosController.cs | michaelbeta/Gestion-Taller | 0 | 7069784 | using GestorDeTaller.BL;
using GestorDeTaller.Model;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Razor.Language;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Runtime.I... |
Src/Newtonsoft.Json.Schema.Tests/Issues/Issue0088Tests.cs | skolbin-ssi/Newtonsoft.Json.Schema | 207 | 7069785 | <gh_stars>100-1000
#region License
// Copyright (c) Newtonsoft. All Rights Reserved.
// License: https://raw.github.com/JamesNK/Newtonsoft.Json.Schema/master/LICENSE.md
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;... |
CharlieBackend.Core/DTO/Schedule/CreateScheduleDTO/OccurenceRange.cs | anmorgul/WhatBackend | 0 | 7069786 | using System;
namespace CharlieBackend.Core.DTO.Schedule
{
public class OccurenceRange
{
public DateTime StartDate { get; set; }
public DateTime? FinishDate { get; set; }
}
}
|
GflagsX/Views/SilentProcessExitView.xaml.cs | zodiacon/GflagsX | 76 | 7069787 | <filename>GflagsX/Views/SilentProcessExitView.xaml.cs
namespace GflagsX.Views {
/// <summary>
/// Interaction logic for SilentProcessExitView.xaml
/// </summary>
public partial class SilentProcessExitView {
public SilentProcessExitView() {
InitializeComponent();
}
}
}
|
NetStandardPolyfills/TypeExtensionsPolyfill.cs | agileobjects/NetStandardPolyfills | 22 | 7069788 | namespace AgileObjects.NetStandardPolyfills
{
using System;
using System.Collections;
using System.Linq;
#if NETSTANDARD1_0
using System.Collections.Generic;
#endif
using System.Reflection;
using System.Runtime.CompilerServices;
using static System.Reflection.GenericParameterAttributes;
... |
Assets/AuxiliaryScripts/HumanController.cs | chstetco/virtualradar | 26 | 7069789 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HumanController : MonoBehaviour
{
//private float minX = -60.0f;
//private float maxX = 60.0f;
public Animator animator;
public float velocity = 0.05f;
public float angVelocity = 3.0f;
public GameObjec... |
src/Extensions/String/Hash/GetHashSha512.cs | MaestriaNet/Extensions | 3 | 7069790 | namespace Maestria.Extensions
{
public static partial class MaestriaExtensions
{
/// <summary>
/// Calculates the SHA-512 hash for the given string.
/// </summary>
/// <returns>A 128 char long hash.</returns>
public static string GetHashSha512(this string value) => Comput... |
CodeElements.NetworkCallTransmission/Internal/EventProxyEventArgs.cs | Alkalinee/CodeElements.NetworkCallTransmissionProtocol | 1 | 7069791 | using System;
namespace CodeElements.NetworkCallTransmission.Internal
{
internal class EventProxyEventArgs : EventArgs
{
public EventProxyEventArgs(ulong eventId, object transmissionInfo, object eventArgs)
{
EventId = eventId;
TransmissionInfo = transmissionInfo;
... |
BoardCraft/Drawing/PinStyles/PinStyle.cs | niyoko/BoardCraft | 1 | 7069792 | namespace BoardCraft.Drawing.PinStyles
{
public abstract class PinStyle
{
public abstract void DrawTo(ICanvas canvas, Point position);
public abstract void DrawDrillHole(ICanvas canvas, Point position);
}
}
|
modules/EasyAbp.EShop.Products/test/EasyAbp.EShop.Products.EntityFrameworkCore.Tests/EntityFrameworkCore/ProductTypes/ProductTypeRepositoryTests.cs | p041911070/EShop | 0 | 7069794 | <reponame>p041911070/EShop
using System;
using System.Threading.Tasks;
using EasyAbp.EShop.Products.ProductTypes;
using Volo.Abp.Domain.Repositories;
using Xunit;
namespace EasyAbp.EShop.Products.EntityFrameworkCore.ProductTypes
{
public class ProductTypeRepositoryTests : ProductsEntityFrameworkCoreTestBase
{
... |
Application/Messages/CreateMessage.cs | Rmckays/CometChat | 1 | 7069795 | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Domain;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Persistence;
namespace Application.Messages
{
public class CreateMessage
{
public class Command : IRequest<Message>
{
public Guid Id... |
BlackJackConsole/Program.cs | solron/CardServer | 0 | 7069796 | using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Collections.Generic;
namespace BlackJackConsole
{
class Program
{
static void Main(string[] args)
{
// Variables
bool dealerIsBust = false;
bool playerIsB... |
DIPS .Net/DIPS/Signin.aspx.cs | dhruvilshah1999/DIGITAL-ID-PROOF-SYSTEM_edocs | 0 | 7069797 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
namespace DIPS
{
public partial class WebForm3 : System.Web.UI.Page
{
SqlCommand cmd = new SqlCommand();
SqlConnection con = n... |
lang/dotnet/src/Avro/Field.cs | thirumg/Avro.NET | 1 | 7069798 | /**
* 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... |
SpaceShooter2/Assets/My Assets/Scripts/Player/PlayerController.cs | MarcusBoay/Kontrol | 0 | 7069799 | <reponame>MarcusBoay/Kontrol
using System.Collections;
using UnityEngine;
using UnityEngine.Assertions;
namespace Kontrol
{
public class PlayerController : MonoBehaviour
{
float moveHorizontal;
float moveVertical;
private Rigidbody2D rb2d;
public float[] moveSpeed;
priva... |
PMFTool/ConfigFileLoader.cs | Xgames123/PrimitierModdingFramework | 3 | 7069800 | using Newtonsoft.Json;
using Sini;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PMFTool
{
public class ConfigFile
{
public string PrimitierPath = "";
public string DebugBinPath = "";
public string ReleaseBinPath = "";
public... |
Forms/AboutForm.cs | x7890/mText | 0 | 7069801 | <gh_stars>0
using System;
using System.Windows.Forms;
using System.Diagnostics;
using System.Reflection;
namespace mText.Forms
{
public partial class AboutForm : Form
{
public AboutForm()
{
InitializeComponent();
}
private void FormVersion_Load(object sender, Event... |
Library/ME.Define.Std/Program/GFieldDefine.cs | Sway0308/Gatchan | 0 | 7069802 | using ME.Base;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace ME.Define
{
/// <summary>
/// 欄位定義
/// </summary>
[Serializable]
public class GFieldDefine : GBaseField
{
private string _DbFieldName = str... |
BusinessLayerTest/_generated/RoleLocalizationProperties.cs | havit/HavitFramework | 23 | 7069803 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
usin... |
OpenApiProvider/Starters/ReferenceUpdateStarter.cs | KenticoDocs/cloud-docs-reference-provider | 0 | 7069804 | using System.Threading.Tasks;
using Microsoft.Azure.EventGrid.Models;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.EventGrid;
using Microsoft.Extensions.Logging;
using OpenApiProvider.Configuration;
using OpenApiProvider.Constants;
using OpenApiProvider.Helpers;
namespace OpenApiProvider.St... |
SonghayCore.Tests/NuGetTests.cs | BryanWilhite/SonghayCore | 1 | 7069805 | <reponame>BryanWilhite/SonghayCore
using System.IO;
using System.Xml.Linq;
using Xunit;
using Xunit.Abstractions;
namespace Songhay.Tests
{
public class NuGetTests
{
public NuGetTests(ITestOutputHelper helper)
{
this._testOutputHelper = helper;
}
[DebuggerAttachedT... |
source/ThirdParty.Benchmarks/Program.cs | silverlakesoftware/mailboxes | 0 | 7069806 | // Copyright © 2019, Silverlake Software LLC and Contributors (see NOTICES file)
// SPDX-License-Identifier: Apache-2.0
using BenchmarkDotNet.Running;
namespace ThirdParty.Benchmarks
{
class Program
{
static void Main(string[] args)
{
BenchmarkRunner.Run<PingPongComparisonBenchmar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.