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
ITC-Softskills_1/Assets/YOURPROJECTNAME/MAINMENU_New/SetupNew/Script/Select.cs
fossabot/ITC-Softskills
0
7049598
using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.EventSystems; public class Select : MonoBehaviour { public Transform OkButton; public Color hl; public Image img; public GameObject PlayerObject; Animator anim; float time; public float MsgInterval; bo...
Assets/Scripts/Controllers/WaveController.cs
Rennan24/Game-Off-2019
0
7049599
<filename>Assets/Scripts/Controllers/WaveController.cs using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class WaveController : MonoBehaviour { public Transform player; public WaveData[] WaveDatas; public int WaveIndex = 0; public int EnemiesLeft; ...
Project/ARMRP-unity/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs
euphoriaer/Roguelike-fantasy
0
7049600
<filename>Project/ARMRP-unity/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs<gh_stars>0 // (c) Copyright HutongGames, LLC 2010-2021. All rights reserved. namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.Input)] [Tooltip("Sends an Event when the user hits any Key or Mouse Button.")] publ...
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/FNB/Forms/frmFoodInventoriesVoucher.cs
atiq-shumon/DotNetProjects
0
7049601
<reponame>atiq-shumon/DotNetProjects<filename>Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/FNB/Forms/frmFoodInventoriesVoucher.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Linq; us...
src/Common/RxWeb.Core.Annotations/Attributes/ModelValidation.cs
rxweb/Rx
368
7049602
using System; namespace RxWeb.Core.Annotations { public class ModelValidationAttribute : Attribute { public string KeyName { get; set; } public ModelValidationAttribute(string keyName) { KeyName = keyName; } } }
JackSharpTest/Dummies/ControllerReceiver.cs
beethoven21/JackSharp
23
7049603
<filename>JackSharpTest/Dummies/ControllerReceiver.cs // Author: // <NAME> <<EMAIL>> // // 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 restricti...
Three ways/Library/PackageCache/com.unity.ads@3.7.5/Editor/DevX/Utils/EditorTimer.cs
Megarekrut65/Project-OOP-2020
1
7049604
<reponame>Megarekrut65/Project-OOP-2020 #if SERVICES_SDK_CORE_ENABLED using System; using UnityEditor; namespace UnityEngine.Advertisements.Editor { class EditorTimer { public event Action Elapsed; double m_IntervalInSeconds; public double IntervalInSeconds { get =...
Lab7Project/Assets/MyAssets/Scripts/Managers/AudioManager.cs
aytona/GameEngineScripting_Labs
0
7049605
<gh_stars>0 using UnityEngine; using System.Collections; using System.Collections.Generic; public class AudioManager : MonoBehaviour { [SerializeField] private AudioClip coinCollectClip = null; [SerializeField] private AudioClip collisionClip = null; [SerializeField] private AudioClip tooFastCollisionClip = null;...
Source/Optano.Algorithm.Tuner/Tuning/PopulationUpdateStrategyManager.cs
OPTANO/optano.algorithm.tuner
1
7049606
<reponame>OPTANO/optano.algorithm.tuner #region Copyright (c) OPTANO GmbH // //////////////////////////////////////////////////////////////////////////////// // // OPTANO GmbH Source Code // Copyright (c) 2010-2021 OPTANO GmbH // ALL RIGHTS RESERVED. // // The entire contents of this file is...
Assets/Scripts/CockpitCameraRotate.cs
Commkeen/Starscape
0
7049607
<reponame>Commkeen/Starscape using System.Collections; using System.Collections.Generic; using UnityEngine; public class CockpitCameraRotate : MonoBehaviour { Camera camera; Transform cameraTransform; Quaternion cameraDefaultRotation; float minFov = 20f; float maxFov; float targetFov; bool lockCamera = fals...
miscellaneousAlgorithms/permutations/main.cs
ej-sanmartin/ComputerScienceReference
3
7049608
/* T - O(n * n!), for any given length of array n there are n! possible permutations S - O(n!), recursive call stack for all n! permutations at worst case */ class ArrayPermutations { public static List<int[]> ArrayPermutations(int[] arr){ List<int[]> results = new List<int[]>(); ArrayPermutationsHelper(a...
src/Libraries/Core/ApplicationModels/Dtos/Payments/PaymentDto.cs
adnanioricce/DHsys
1
7049610
using System; using Core.ApplicationModels.Dtos.User; using Core.Entities.Payments; namespace Core.ApplicationModels.Dtos.Payments { public class PaymentDto : BaseEntityDto { public CustomerDto Customer { get; set; } public PaymentMethodDto Method { get; set; } public PaymentStatus St...
EIva.Algorithms/ConnectedComponents/ConnectedComponents.cs
eiva/Algorithms
0
7049612
<reponame>eiva/Algorithms<gh_stars>0 using System; using System.Collections.Generic; using Graph; namespace EIva.Algorithms.ConnectedComponents { /// <summary> /// Simplest implementation of building connected components using DFS and Hash. /// </summary> /// <remarks> /// Build ...
ICSSoft.STORMNET.Business/DataServiceUsingTypeCustomizer.cs
archaim/NewPlatform.Flexberry.ORM
2
7049614
using System; namespace ICSSoft.STORMNET.Business { /// <summary> /// Summary description for DataServiceUsingTypeCustomizer. /// </summary> public struct PropertyUsingTypes { /// <summary> /// тип объекта данных. /// </summary> public Type DataObjectType; ...
src/Tizen.Location/Tizen.Location/GpsSatellite.cs
yoowonyoung/TizenFX
149
7049615
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
CMS/CMSModules/OnlineMarketing/Controls/UI/ContentPersonalizationVariant/List.ascx.cs
mzhokh/FilterByCategoryWidget
26
7049616
using System; using CMS.Base; using CMS.DataEngine; using CMS.DocumentEngine; using CMS.Helpers; using CMS.Localization; using CMS.Membership; using CMS.OnlineMarketing; using CMS.UIControls; public partial class CMSModules_OnlineMarketing_Controls_UI_ContentPersonalizationVariant_List : CMSAdminListControl { #...
src/core/main/Reflection/TypeNullableExtensions.cs
rapidcore/rapidcore
6
7049617
<reponame>rapidcore/rapidcore using System; using System.Reflection; namespace RapidCore.Reflection { /// <summary> /// Extension methods for working with nullable types /// </summary> public static class TypeNullableExtensions { /// <summary> /// Is this type nullable? ///...
source/CoordinateConversion/ProAppCoordConversionModule/Models/CCProGraphic.cs
ArcGIS/coordinate-tool-addin-dotnet
40
7049619
<reponame>ArcGIS/coordinate-tool-addin-dotnet using ArcGIS.Core.Geometry; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProAppCoordConversionModule.Models { public class CCProGraphic { public MapPoint MapPoint {...
AzureMapsRestToolkit/AzureMapsRestToolkit/IAzureMapsServices.cs
0xced/AzureMapsRestServices
0
7049620
using AzureMapsToolkit.Common; using AzureMapsToolkit.Data; using AzureMapsToolkit.GeoJson; using AzureMapsToolkit.Mobility; using AzureMapsToolkit.Render; using AzureMapsToolkit.Route; using AzureMapsToolkit.Search; using AzureMapsToolkit.Spatial; using AzureMapsToolkit.Timezone; using AzureMapsToolkit.Traffic; using...
Functional/Implementation/Bool_or.cs
codecore/Functional
1
7049621
<gh_stars>1-10 using System; using System.Collections.Generic; using Functional.Implementation; using Functional.Test; namespace Functional.Implementation { public static partial class F { /// <summary>or</summary><returns>true if any the inputs are true</returns> [Coverage(TestCoverage.F_bool_or)...
NPOI.OpenXmlFormats.Spreadsheet/CT_RevisionFormatting.cs
iNeverSleeeeep/NPOI-For-Unity
1
7049622
<gh_stars>1-10 using System.Collections.Generic; using System.ComponentModel; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Spreadsheet { public class CT_RevisionFormatting { private CT_Dxf dxfField; private CT_ExtensionList extLstField; private uint sheetIdField; private bool xfDxfField; ...
Source/Rx.Kql/Functions/ScalarFunctionFactory.cs
microsoft/RxKql
9
7049623
// /******************************************************** // * * // * Copyright (C) Microsoft. All rights reserved. * // * Licensed under the MIT license. * // * * // ***********...
AudioListener.cs
aszecsei/CrimsonEngine
0
7049624
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CrimsonEngine { /// <summary> /// Describes when an AudioSource or AudioListener is updated. /// </summary> public enum AudioVelocityUpdateMode { /// <summary> ...
DAIProxy.Lambda/Function.cs
toolsfactory/DAIProxySample
0
7049625
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Amazon.Lambda.Core; using Amazon.Lambda.APIGatewayEvents; using DAIProxy.Core; using System.Net.Http; // Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class. [assembly: La...
Assets/Scripts/UI/SlideOnHoverUI.cs
YautjaTNT/Taoex-Archive
0
7049626
using UnityEngine; using UnityEngine.EventSystems; [RequireComponent(typeof(RectTransform))] public class SlideOnHoverUI : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler { /// <summary> /// factor to convert degrees to radians /// </summary> private static readonly float DEG_TO_RAD = Mathf....
TcpServ/GameServer/Controller/ControllerManager.cs
zhengjinwei123/u3dStudy
0
7049627
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Common; using GameServer.Servers; namespace GameServer.Controller { class ControllerManager { private Server server; private Dictionary<RequestCode, BaseController> ...
src/NDDDSample/app/application/NDDDSample.Application/IApplicationEvents.cs
sailocean/ndddsample
15
7049628
namespace NDDDSample.Application { #region Usings using Domain.Model.Cargos; using Domain.Model.Handlings; #endregion /// <summary> /// /** ///This interface provides a way to let other parts /// of the system know about events that have occurred. /// <p/> /// It may be imple...
src/NJade/Parser.cs
sergeyt/NJade
1
7049629
<reponame>sergeyt/NJade using System; using System.IO; using NJade.Ast; namespace NJade { internal static class Parser { public static JadeTemplate Parse(TextReader input) { throw new NotImplementedException(); } } }
Profiler/Tests/LoadTests.cs
Laxa/Profiler
0
7049630
<reponame>Laxa/Profiler<filename>Profiler/Tests/LoadTests.cs using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Profiler; using System.Collections.Generic; namespace Tests { [TestClass] public class LoadTests { /// <summary> /// Testing the load of 1000 scopes ...
src/Anvoker.Maps/Interfaces/IBiMap.cs
Anvoker/Anvoker.Maps
4
7049631
using System.Collections.Generic; namespace Anvoker.Maps.Interfaces { /// <summary> /// Represents a generic collection of keys and values where keys can be /// retrieved by their associated value. /// </summary> /// <typeparam name="TKey">The type of the keys /// <see cref="IBiMap{TKey, TVal}...
Codebase/Runtime/Extensions/Convert/Int.cs
z3nth10n/unity-themes
13
7049632
using System; using System.Collections.Generic; namespace Zios.Extensions.Convert{ public static class ConvertInt{ public static string ToHex(this int current){return current.ToString("X6");} public static Enum ToEnum(this int current,Type enumType){return (Enum)Enum.ToObject(enumType,current);} public static T ...
tests/EmbeddedDSOs/EmbeddedDSO/NUnitInstrumentation.cs
cherry003/xamarin-android
1,959
7049633
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using Android.App; using Android.OS; using Android.Runtime; using Xamarin.Android.UnitTests; using Xamarin.Android.UnitTests.NUnit; namespace EmbeddedDSO { [Instrumentation (Name = "xamarin.android.embedded...
logic/model/APIModels/ForkVersion.cs
newtwelch/fork
24
7049634
<filename>logic/model/APIModels/ForkVersion.cs<gh_stars>10-100 using System; namespace Fork.Logic.Model.APIModels { public class ForkVersion : IComparable, IComparable<ForkVersion> { internal string Id { get; set; } public int Major { get; set; } public int Minor { get; set; } p...
Backend_Prod_Front/InzBackend/InzBackend/InzBackApi/InzBackCore/Domain/Player.cs
stanek09512/Zarz-dzanie-Dru-yn-Pi-karsk-
0
7049635
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; namespace InzBackCore.Domain { public class Player { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)...
Barista.StockOperations/Controllers/StockOperationsController.cs
nesfit/Coffee
0
7049636
using System; using System.Threading.Tasks; using Barista.Common.AspNetCore; using Barista.Common.Dispatchers; using Barista.Contracts; using Barista.StockOperations.Dto; using Barista.StockOperations.Queries; using Microsoft.AspNetCore.Mvc; namespace Barista.StockOperations.Controllers { [Route("api/stockOperati...
UiaAtkBridge/UiaAtkBridge/ImageImplementorHelper.cs
ABEMBARKA/monoUI
1
7049637
// 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, modify, merge, publish, // distribute, sublicense, and/or ...
Tests/Web.IntegrationTests/Catalog/V1/CatalogItems/Responses/CatalogItemsListResponse.cs
CarloMicieli/dotnetcore-clean-architecture
1
7049638
using System.Collections.Generic; using TreniniDotNet.IntegrationTests.Responses; namespace TreniniDotNet.IntegrationTests.Catalog.V1.CatalogItems.Responses { internal class CatalogItemsListResponse { public PaginationLinks _links { get; set; } public int? Limit { get; set; } public Lis...
_no_namespace/TouchScreenState1.TouchStateArray1.--GetEnumerator--d__15.cs
SinsofSloth/RF5-global-metadata
1
7049639
<filename>_no_namespace/TouchScreenState1.TouchStateArray1.--GetEnumerator--d__15.cs [CompilerGeneratedAttribute] // RVA: 0x15B500 Offset: 0x15B601 VA: 0x15B500 private sealed class TouchScreenState1.TouchStateArray1.<GetEnumerator>d__15 : IEnumerator<TouchState>, IEnumerator, IDisposable // TypeDefIndex: 11593 { // F...
src/Orneholm.CognitiveWorkbench.Web/Models/TextAnalytics/TextAnalyticsAnalyzeRequest.cs
PeterOrneholm/CogntitiveWorkbench
4
7049640
<gh_stars>1-10 namespace Orneholm.CognitiveWorkbench.Web.Models.TextAnalytics { public class TextAnalyticsAnalyzeRequest { public string TextAnalyticsSubscriptionKey { get; set; } = string.Empty; public string TextAnalyticsEndpoint { get; set; } = string.Empty; public string Text { get;...
TJAStudio/Charts/HeaderCheker.cs
grtwall/TJAStudio
3
7049642
<filename>TJAStudio/Charts/HeaderCheker.cs using System; using System.Text.RegularExpressions; namespace TJAStudio.Charts { /// <summary> /// ヘッダーをチェックするクラス。 /// </summary> public class HeaderCheker : ITJACheckable { /// <summary> /// 初期化。 /// </summary> /// <param ...
sample/Demo/Startup.cs
filipw/Strathweb.TypedRouting.AspNetCore
79
7049643
<filename>sample/Demo/Startup.cs<gh_stars>10-100 using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extension...
Exams/Exam-2017-09-03-Retake/02-CryptoMaster/CryptoMaster.cs
VladimirKyuranov/CSharp-Advanced
0
7049644
using System; using System.Linq; class CryptoMaster { static void Main(string[] args) { int[] numbers = Console.ReadLine() .Split(", ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries) .Select(int.Parse) .ToArray(); int maxSequenceLength = 0; fo...
C#/C# v praxi/IT3/MVC_WebService/MVC_WebService/Views/Trida/CreateForm.cshtml
bramborman/Area42
0
7049645
<gh_stars>0 @model MVC_WebService.Models.TridaModel @{ ViewBag.Title = "Přidat třídu custom"; } <h2>@ViewBag.Title</h2> <form action="@Url.Action("CreateForm", "Trida")" method="post"> <input type="hidden" name="cas-nacteni" value="@DateTime.Now.ToString()"/> <table class="table"> <tr> ...
AmpyFileManager/Properties/Settings.Designer.cs
watrt/AmpyFileManager
31
7049646
<gh_stars>10-100 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </aut...
src/GR.Extensions/GR.Crm.Extension/GR.Crm.Extensions/GR.Crm.Payments/GR.Crm.Payments.Abstractions/ViewModels/PaymentsViewModels/PaymentCodeViewModel.cs
indrivo/bizon360_crm
1
7049647
<filename>src/GR.Extensions/GR.Crm.Extension/GR.Crm.Extensions/GR.Crm.Payments/GR.Crm.Payments.Abstractions/ViewModels/PaymentsViewModels/PaymentCodeViewModel.cs using System; using System.ComponentModel.DataAnnotations; using GR.Crm.Organizations.Abstractions.Models; namespace GR.Crm.Payments.Abstractions.ViewModels...
tests/Tests.MaybeF/- Test Abstracts -/Enumerable/Bind_Tests.cs
bfren/maybe
0
7049648
// Maybe: Unit Tests // Copyright (c) bfren - licensed under https://mit.bfren.dev/2019 using MaybeF; namespace Abstracts.Enumerable; public abstract class Bind_Tests { public abstract void Test00_Removes_None_Input_Items(); protected static void Test00(Func<IEnumerable<Maybe<int>>, Func<int, Maybe<string>>, IEnu...
Mozu.Api/Contracts/AppDev/ApplicationCapabilityDomain.cs
GaryWayneSmith/mozu-dotnet
0
7049649
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Codezu. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------...
src/AgateLib/UserInterface/UserInterfaceAudio.cs
eylvisaker/AgateLib
14
7049650
using YamlDotNet.Serialization; namespace AgateLib.UserInterface { /// <summary> /// Interface for an object which plays sounds when the user performs actions in the /// user interface. /// </summary> public interface IUserInterfaceAudio { Desktop ActiveDesktop { get; set; } /...
Calculator/Mean.cs
Rychu-Pawel/NumericalLibraries
1
7049651
using System.Collections.Generic; using System.Linq; using Rychusoft.NumericalLibraries.Calculator.Exceptions; namespace Rychusoft.NumericalLibraries.Calculator { public class Mean { /// <summary> /// Compute arithmetic mean /// </summary> /// <param name="values">Va...
Source/GlobalAssemblyInfo.cs
ethaler/ElasticLINQ
0
7049652
<reponame>ethaler/ElasticLINQ<filename>Source/GlobalAssemblyInfo.cs using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("ElasticLINQ")] [assembly: AssemblyCopyright("Copyright (C) 2013-4 CenturyLink Cloud Inc.")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("1.1.0.0")...
src/Rebus.Tests/Bugs/TestingWorksWithMockedMessageContextAlsoWhenAborting.cs
dev4ce/Rebus
0
7049653
<gh_stars>0 using System; using System.Collections.Generic; using NUnit.Framework; using Rebus.Testing; using Shouldly; using Rhino.Mocks; namespace Rebus.Tests.Bugs { [TestFixture] public class TestingWorksWithMockedMessageContextAlsoWhenAborting : FixtureBase { SagaFixture<ChunkOfData> fixture; ...
src/longquan.gongan.Web/Migrations/20201122033949_all01.cs
zhongw2020/longquan.gongan
0
7049654
<gh_stars>0 using System; using Microsoft.EntityFrameworkCore.Migrations; namespace longquan.gongan.Web.Migrations { public partial class all01 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "standa...
Source/ImageComparisonViewer.Common/Mvvm/DisposableBindableBase.cs
hsytkm/ImageComparisonViewer
0
7049655
using Prism.Mvvm; using System; using System.Diagnostics; using System.Reactive.Disposables; namespace ImageComparisonViewer.Common.Mvvm { public class DisposableBindableBase : BindableBase, IDisposable { protected readonly CompositeDisposable CompositeDisposable = new CompositeDisposable(); ...
Core/Data/Data/Encounter/Encounter.cs
GameAnalysisUniverse/gau-encounterdetection
0
7049656
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Data.Gameobjects; namespace Detection { /// <summary> /// Encounter showing multiple coherent combatcomponents across multiple ticks /// </summary> public class Encounter { ...
tests/Blueprint.Tests/Utilities/GetPreviousDate_Tests/Given_No_Valid_Days.cs
michaeldtaylor/blueprint
8
7049657
<filename>tests/Blueprint.Tests/Utilities/GetPreviousDate_Tests/Given_No_Valid_Days.cs using System; using System.Collections.Generic; using Blueprint.Utilities; using FluentAssertions; using NUnit.Framework; namespace Blueprint.Tests.Utilities.GetPreviousDate_Tests { public class Given_No_Valid_Days { ...
MeInfoForm.cs
SPEMoorthy/MeshCentralAssistant
19
7049658
/* Copyright 2009-2021 Intel Corporation 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, ...
PhotosOfUs.Model/Models/PhotoTag.cs
sparc-coop/photos-of-us
0
7049659
<filename>PhotosOfUs.Model/Models/PhotoTag.cs using System; using System.Collections.Generic; using System.Text; namespace PhotosOfUs.Model.Models { public partial class PhotoTag { public int PhotoId { get; set; } public int TagId { get; set; } public DateTime RegisterDate { get; set; ...
src/Anilibria/Converters/MediaSourceConverter.cs
anilibria/anilibria-win
34
7049660
using System; using Windows.Media.Core; using Windows.UI.Xaml.Data; namespace Anilibria.Converters { /// <summary> /// Convert Uri to Media source. /// </summary> public class MediaSourceConverter : IValueConverter { /// <summary> /// Convert from <see cref="Uri"/> to <see cref="MediaSource"/>. /// </summ...
Evolve/Models/UserInfoModel.cs
vssenko/evolve
0
7049661
<filename>Evolve/Models/UserInfoModel.cs<gh_stars>0 using Evolve.Domain.PostAggr; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Evolve.Models { public class UserInfoModel { public int UserId { get; set; } public s...
Gibe.DittoProcessors/Processors/StringToCssClassAttribute.cs
Gibe/Gibe.DittoProcessors
1
7049662
<gh_stars>1-10 using System; using Gibe.DittoProcessors.Processors; using System.Text.RegularExpressions; namespace Gibe.DittoProcessors.Processors { public class StringToCssClassAttribute : TestableDittoProcessorAttribute { public override object ProcessValue() { if (Value == null) throw new NullReferenceEx...
WindowsSmartInk/SmartInkLaboratory/Services/AppStateService.cs
microsoft/MTC_WindowsSmartInk
6
7049664
<filename>WindowsSmartInk/SmartInkLaboratory/Services/AppStateService.cs /* * Copyright(c) Microsoft Corporation * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the ""Software""), to de...
IcgSoftware.Threema.CoreMsgApi.Console/Commands/FetchPublicKeyCommand.cs
pt-icg/Threema-MsgApi-Net-Core
0
7049665
<reponame>pt-icg/Threema-MsgApi-Net-Core<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IcgSoftware.Threema.CoreMsgApi.Console.Commands.Fields; namespace IcgSoftware.Threema.CoreMsgApi.Console.Commands { class FetchPublicKeyCommand...
OpenGL.Net.Objects/AlignedMemoryBuffer.cs
MagmaiKH/OpenGL.Net
606
7049666
// Copyright (C) 2009-2017 <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, modify, merge, publish,...
SeleniumTestAutomation/AutomationTestFramework/TestSuite/TestCases/AutomationLooped.cs
AhmedAlsaab/SeleniumAutomation
0
7049667
<reponame>AhmedAlsaab/SeleniumAutomation using NUnit.Framework; namespace AutomationTest.TestSuite.TestCases { // Automation in batch of web form 1,2 and 3 [TestFixture] public class AutomationLooped : DriverLogic { UserDetails userDetails = new UserDetails(); // ..redacted...
LuciusIncidentLogbook/LeagueData.cs
DeusInnomen/LuciusIncidentLogbook
0
7049668
<filename>LuciusIncidentLogbook/LeagueData.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; namespace KitchenGeeks { /// <summary> /// Contains all of the details and results for a single League. This can be an Achievement league, a /// standard ga...
GoComics.Shared/Models/UI/FeatureModel.cs
simonndev/SimoniUComics
0
7049669
<reponame>simonndev/SimoniUComics<gh_stars>0 using Prism.Mvvm; using System.Runtime.Serialization; using Windows.UI.Xaml.Media.Imaging; namespace GoComics.Shared.Models.UI { [DataContract] public class FeatureModel : BindableBase { private int _id; private string _title; private st...
linq/labs/LINQ_DataServices/after/DataServiceClient/Program.cs
BradKnowles/classes
138
7049670
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DataServiceClient.MovieReviewDataService; namespace DataServiceClient { class Program { static void Main(string[] args) { Uri serviceRoot = new Uri( "http://localhost.:8080/W...
sources/Interop/Windows/Windows/um/winioctl/MEDIA_TYPE.cs
reflectronic/terrafx.interop.windows
0
7049671
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winioctl.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows; /// <incl...
Gui/UIStateMachine.cs
zz-systems/Unity.Shared
1
7049672
<reponame>zz-systems/Unity.Shared #region copyright /*************************************************************************** * The Void * Copyright (C) 2015-2017 <NAME> * sergej.zuyev - at - zz-systems.net * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software an...
Stimulating Simulations/Art Auction/Art Auction GUI/Program.cs
JoyfulReaper/CSharp-Mini-Projects
0
7049673
<reponame>JoyfulReaper/CSharp-Mini-Projects<gh_stars>0 // Adapted from "Stimulating Simulations" (C) 1977 <NAME>. (C) 1979 by <NAME> // Adapted from BASIC to C# by <NAME> // https://github.com/JoyfulReaper/Mini-Projects // Special thanks to to following website: www.trs-80.com/wordpress/info-level-2-basic-language //...
StudentInfoPage.xaml.cs
RoyalKarma/student-db
0
7049674
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Med...
ion.microservices/ion-microservices-pkg/tests/Ion.MicroServices.Tests/Configuration/ConfigurationValidationTests.DataAnnotated.cs
ionizd/ion
0
7049675
using FluentAssertions; using Ion.MicroServices.Configuration; using Ion.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using System.ComponentModel.DataAnnotations; using Xunit; namespace Ion.MicroServices.Tests.Configuration; public partial class ConfigurationValidation...
Arachinator/Assets/Scripts/Enemies/Boss/WaspAnimationManager.cs
lucasteles/arachinator
8
7049676
<filename>Arachinator/Assets/Scripts/Enemies/Boss/WaspAnimationManager.cs using System; using System.Collections; using UnityEngine; public class WaspAnimationManager : MonoBehaviour { Animator animator; bool startTaunt; bool inFly; bool takeOff; bool iddleEnded; bool deathEnded; bool endA...
Source/Common/Knomes.Localize/Resolver/CustomTextResolver.cs
knoepdan/Bom
0
7049677
using System; using Knomes.Localize.Utils; namespace Knomes.Localize.Resolver { public class CustomTextResolver : TextResolverBase { public CustomTextResolver(string langCode) { if (string.IsNullOrWhiteSpace(langCode)) { throw new ArgumentException("Pass...
Conduit.Auth.WebApi/Program.cs
alex2021cyberhuman-team/auth-microservice
1
7049678
using System; using System.Collections.Generic; using System.Globalization; using Conduit.Auth.ApplicationLayer.Users.GetCurrent; using Conduit.Auth.ApplicationLayer.Users.Register; using Conduit.Auth.Domain.Services; using Conduit.Auth.Domain.Services.ApplicationLayer.Users; using Conduit.Auth.Domain.Users.Pass...
Assets/Scripts/UI/UIActionPoints.cs
local-minimum/suffertheking
0
7049679
using UnityEngine; using UnityEngine.UI; using Boardgame.Data; namespace Boardgame.UI { public class UIActionPoints : MonoBehaviour { [SerializeField] Image[] points; Participant currentParticipant; bool _playerTurn = false; [SerializeField] Color32 remainin...
MonoJavaBridge/android/generated/java/io/FileReader.cs
JeroMiya/androidmono
3
7049680
namespace java.io { [global::MonoJavaBridge.JavaClass()] public partial class FileReader : java.io.InputStreamReader { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; protected FileReader(global::MonoJavaBridge.JNIEnv @__env) : base(@__env) { } private static global::MonoJavaBridge....
Com.SharpZebra/Commands/StandardZPLCommand.cs
philippbeckmann/SharpZebra
1
7049681
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace Com.SharpZebra.Commands { public partial class ZPLCommands { public static byte[] ClearPrinter(Printing.PrinterSettings settings) { //^MMT: Tear off Mode. ^PRp,s,b: print speed (print, slew...
src/SocialQ.Functions/DocumentBase.cs
housebesuch/SocialQ
0
7049682
<filename>src/SocialQ.Functions/DocumentBase.cs using System; namespace SocialQ.Functions { public abstract class DocumentBase { public Guid Id { get; set; } } }
CodeWars/8kyu/ObjectOrientedPiracy.cs
a-kozhanov/codewars_csharp
11
7049683
/* https://www.codewars.com/kata/object-oriented-piracy/csharp https://www.codewars.com/kata/54fe05c4762e2e3047000add/csharp 8 kyu Object Oriented Piracy Ahoy matey! You are a leader of a small pirate crew. And you have a plan. With the help of OOP you wish to make a pretty efficient system to identify ships with a...
src/GameEngine.Blazor/Enumerations/GameState.cs
FreddieMercurial/WordMastermind
3
7049684
namespace GameEngine.Blazor.Enumerations; public enum GameState { Rules = 0, SourceSelection = 1, LengthSelection = 2, Playing = 3, GameOver = 4, Settings = 5, }
csharp/src/Apache.Arrow.Flight/FlightLocation.cs
timkpaine/arrow
9,734
7049685
<filename>csharp/src/Apache.Arrow.Flight/FlightLocation.cs // 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 ...
Hoops.Core/Entities/ShoppingCart.cs
rsalit1516/Hoops
0
7049686
<reponame>rsalit1516/Hoops<gh_stars>0 using System; using System.Collections.Generic; namespace Hoops.Core.Entities { public partial class ShoppingCart { public int CartId { get; set; } public int? CompanyId { get; set; } public int? SeasonId { get; set; } public int? HouseId {...
TrashNetBeacon/TrashNetBeacon.DriverInterface/IBeaconWebDriver.cs
lggomez/TrashNetBeacon
0
7049687
<gh_stars>0 using System; using OpenQA.Selenium; namespace TrashNetBeacon.DriverInterface { public interface IBeaconWebDriver : IDisposable { TimeSpan MinUpdateInterval { get; } string DriverName { get; } string DriverProcessName { get; } string DeviceName { get; } ...
src/SJP.Schematic.DataAccess/DatabaseViewGenerator.cs
sjp/SJP.Schema
0
7049688
using System; using System.Collections.Generic; using System.IO; using System.IO.Abstractions; using LanguageExt; using SJP.Schematic.Core; using SJP.Schematic.Core.Comments; namespace SJP.Schematic.DataAccess; /// <summary> /// Common functionality for generating database views. /// </summary> /// <see...
SmartLife.Applications/SmartLife.DataExchange.Services/P12/C03/A0101.asmx.cs
rhuber1279/SmartLifeForDotNet
3
7049689
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.IO; using System.Text; using System.Dynamic; using System.Collections; using System.Xml.Linq; using e0571.web.core.Model; using e0571.web.core.Wcf; using Sm...
C#OOP-Homeworks/03.Extension-Methods-Delegates-Lambda-LINQ/03-05.FirstBeforeLast/MainStudents.cs
Konstantin-Todorov/CSharpOOP
0
7049690
<reponame>Konstantin-Todorov/CSharpOOP //Problem 3: //First before last //Write a method that from a given array of students finds all students whose first name is before its last name alphabetically. //Use LINQ query operators. //Problem 4: //Age range //Write a LINQ query that finds the first name and last name of ...
src/WeixinSDK/Core/RequestMsgEventType.cs
Wlitsoft/WeixinSDK
118
7049691
<gh_stars>100-1000 /********************************************************************************************************************** * 描述: * 事件类型。 * * 变更历史: * 作者:李亮 时间:2016年12月25日 新建 ***************************************************************************************************************...
lab03/lab3/Program.cs
evgenijaZ/PP-labs
0
7049692
<gh_stars>0 using System; using System.Threading; namespace lab3 { class Program { static int N = 0; static Semaphore sem = new Semaphore(1, 1); static void Main(string[] args) { Console.WriteLine("Main started"); Int32.TryParse(Console.ReadLine(),out ...
Assets/Scripts/Shield.cs
JackTheRipper42/SimpleBattle3
0
7049693
using System; using UnityEngine; [Serializable] public class Shield : ISerializable { public float MaxHitPoints; public float HitPoints; [Range(0f, 1f)] public float Absorption = 1; public void Serialize(SerializationInfo serializationInfo) { serializationInfo.SetValue(SerializationNames....
SignInWithAppleSample/App.xaml.cs
Alexi71/SignWithAppleXamarinForms
10
7049694
using System; using SignInWithAppleSample.Models; using SignInWithAppleSample.Services; using Xamarin.Essentials; using Xamarin.Forms; namespace SignInWithAppleSample { public partial class App : Application { public const string LoggedInKey = "LoggedIn"; public const string AppleUserIdKey = "...
src/Functioniser.cs
AdamPiascik/SqlInliner
0
7049695
<gh_stars>0 using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace SqlInliner { public class Inliner { private Dictionary<string, string> _blockDefinitions { get; set; } = new Dictionary<string, string>(); ...
POC/nyw.microservice/Nyw.Employee/Controllers/ValuesController.cs
niyw/honeycomb
14
7049696
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Nyw.EmployeeServices.Models; namespace Nyw.EmployeeServices.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { pri...
Source/Web/SmartConnect.Web.App/Views/Shared/EditorTemplates/Deals/Deal.cshtml
vassildinev/Smart-Connect
1
7049697
@model SmartConnect.Web.ViewModels.Deals.DealViewModel <div style="padding: 0 30px"> @Html.ValidationSummary() @Html.HiddenFor(m => m.Id) <div class="form-group"> @Html.LabelFor(m => m.Name) <br /> @Html.EditorFor(m => m.Name) @Html.ValidationMessageFor(m => m.Name) </d...
modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/PutGetExample.cs
DirectXceriD/gridgain
1
7049698
<filename>modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/PutGetExample.cs /* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restri...
camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/dmn/businessruletask/DmnBusinessRuleTaskTest.cs
luizfbicalho/Camunda.NET
6
7049699
/* * 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 Apache License, * Version 2.0; ...
UtilsPackages.Common/Extensions/StringExtensions.cs
SanyaVishnivskiy/UtilsPackages
0
7049700
namespace UtilsPackages.Common.Extensions { public static class StringExtensions { public static string ToCamelCase(this string str) { if (string.IsNullOrEmpty(str)) return str; return char.ToLowerInvariant(str[0]) + str.Substring(1); } } }
server/src/Agencia.Domain/Agencia/Specifications/DeveExistirApenasUmaAgenciaSpecification.cs
gabrielmaxii/bankflix
92
7049701
<reponame>gabrielmaxii/bankflix using Agencia.Domain.Agencia.Repository; using Core.Domain.Validations; using System; using System.Linq; namespace Agencia.Domain.Agencia.Specifications { public class DeveExistirApenasUmaAgenciaSpecification : DomainSpecification<Agencia> { private readonly IAgenciaRep...
SOUNDVISION_PUBLIC/Assets/Scripts/Visualizer/TexturePanelBehaviour.cs
strangerattractor/Soundvision
4
7049702
<reponame>strangerattractor/Soundvision<filename>SOUNDVISION_PUBLIC/Assets/Scripts/Visualizer/TexturePanelBehaviour.cs using UnityEngine; namespace cylvester { class TexturePanelBehaviour : MonoBehaviour { [SerializeField] private GameObject panel = null; private Renderer renderer_; pr...
Src/Test/Test.Xigadee.Azure.ServiceBus/ServiceBusHarnessTests.cs
xigadee/Microservice
58
7049703
<reponame>xigadee/Microservice<filename>Src/Test/Test.Xigadee.Azure.ServiceBus/ServiceBusHarnessTests.cs #region Copyright // Copyright <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 Licen...