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
backend/MyTabs.UnitTests/Dtos/UserUpdateDtoTests.cs
bartoszkruba/MyTabs
0
7040240
using MyTabs.API.Dtos; using Xunit; namespace MyTabs.UnitTests.Dtos { public class UserUpdateDtoTests { private const string Username = "test1234"; private const string Password = "<PASSWORD>"; [Fact] public void Test_Equals_Positive() { var userOne = new Us...
Questionnaire1029/Questionnaire1029/SystemAdmin/DetailData.aspx.designer.cs
thousandtw/Questionnaire
0
7040241
<reponame>thousandtw/Questionnaire //------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </自動產生的> //------------------------------------------------------------------------------ namespace Questionna...
ObjectsAndClasses/StudentsEx/Program.cs
tonchevaAleksandra/C-Fundamentals
2
7040242
<filename>ObjectsAndClasses/StudentsEx/Program.cs using System; using System.Collections.Generic; using System.Linq; namespace StudentsEx { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); List<Student> students = new List<Student...
VWG.Community.FormsTest/EChartsBoxTest.cs
paulusyeung/VWG.Community
0
7040243
<reponame>paulusyeung/VWG.Community #region Using using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using Gizmox.WebGUI.Common; using Gizmox.WebGUI.Forms; using VWG.Community.Forms; using System.Text.RegularExpr...
src/Machete/DateTimeValueExtensions.cs
AreebaAroosh/Machete
38
7040244
<gh_stars>10-100 namespace Machete { using System; using Values; public static class DateTimeValueExtensions { /// <summary> /// Converts the current date/time to the specified time zone /// </summary> /// <param name="dateTime"></param> /// <param name="destina...
Sample Applications/DataBindingDemo/DateConverter.cs
augustoproiete-forks/microsoft--WPF-Samples
2,179
7040245
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using System.Windows.Data; namespace DataBindingDemo { [ValueConversion(typeof (DateTime), typeof (string))] pu...
TempusApi/Models/Rank/Rank.cs
Hona/TempusApi
1
7040246
using Newtonsoft.Json; namespace TempusApi.Models.Rank { public class Rank { [JsonProperty(PropertyName = "player_info")] public PlayerInfo PlayerInfo { get; set; } [JsonProperty(PropertyName = "class_rank_info")] public ClassRankInfo ClassRankInfo { get; set; } [JsonProperty(Property...
scheduler/ViewModel/SchedulerBindingViewModel.cs
syncfusion/winui-demos
18
7040248
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicable laws. #endr...
idp/Controllers/CallbackController.cs
apemon/ndid-examples-dotnet
0
7040249
<reponame>apemon/ndid-examples-dotnet<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using idp.Models; using idp.Services; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace idp.Controllers { [...
Networking/pProgressionData.cs
Panthr75/GTFO-CustomLevelProgression
0
7040250
<filename>Networking/pProgressionData.cs using Agents; using System.Runtime.InteropServices; namespace CustomLevelProgression.Networking { [StructLayout(LayoutKind.Sequential)] public struct pProgressionData { public int a1State; public int a2State; public int a3State; publ...
SchoolAdmin/UI/Tabs/SmartschoolInfo.xaml.cs
yvanvds/YSchoolAPI
0
7040251
<gh_stars>0 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.Me...
E3DC.RSCP.Lib/Tags/TagGroupAttribute.cs
mr-sven/E3DC.RSCP
0
7040252
<gh_stars>0 namespace E3DC.RSCP.Lib.Tags { [AttributeUsage(AttributeTargets.Enum)] public class TagGroupAttribute : Attribute { public uint Group { get; } public TagGroupAttribute(uint Group) { this.Group = Group; } } }
Epam.Task3/Epam.Task3.Game2.8/Game.cs
Vladislav-Pushkarev/XT-2018Q4
0
7040253
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Epam.Task3.Game2._8 { public sealed class Game { public static void CreateField() { } public static void CreateGameObject() { ...
TGC.Tools/MeshCreator/InputMessageBox.cs
tgc-utn/tgc-tools
4
7040254
using System; using System.Windows.Forms; namespace TGC.Tools.MeshCreator { /// <summary> /// Un MessageBox con un campo de texto para llenar /// </summary> public partial class InputMessageBox : Form { public InputMessageBox() { InitializeComponent(); } ...
Plugins/Stats/Helpers/WeaponNameExtensions.cs
Lemur2906/IW4M-Admin
129
7040255
using Data.Models.Client.Stats; namespace Stats.Helpers { public static class WeaponNameExtensions { public static string RebuildWeaponName(this EFClientHitStatistic stat) => $"{stat.Weapon?.Name}{string.Join("_", stat.WeaponAttachmentCombo?.Attachment1?.Name, stat.WeaponAttachmentCombo?.A...
iOS/SampleBrowser/Controllers/OptionViewController.cs
raver99/SFTreeView_Binding_Issue
269
7040256
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicable laws. #endr...
Workday.DynamicDocumentGeneration/Dynamic_Document_GenerationPortChannel.cs
matteofabbri/Workday.WebServices
18
7040258
<filename>Workday.DynamicDocumentGeneration/Dynamic_Document_GenerationPortChannel.cs using System; using System.CodeDom.Compiler; using System.ServiceModel; using System.ServiceModel.Channels; namespace Workday.DynamicDocumentGeneration { [GeneratedCode("System.ServiceModel", "4.0.0.0")] public interface Dynamic_Do...
src/csharp/Grpc.Reflection/SymbolRegistry.cs
samotarnik/grpc
36,552
7040259
#region Copyright notice and license // Copyright 2015 gRPC authors. // // 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 req...
MsgService/Startup.cs
zhixin9001/Learn_Micro_Service
0
7040260
<filename>MsgService/Startup.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Consul; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.De...
UnderLook/Assets/Scripts/MenuLobby/Launch.cs
The-Under-Project/UnderLook
6
7040261
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Launch : MonoBehaviour { void Start() { } void Update() { if (Input.GetKeyDown(KeyCode.L)) { if (PhotonNetwork.isMasterClient) { Debug.Log("...
Assets/Scripts/DataManager.cs
madinsane/EREG
0
7040262
<filename>Assets/Scripts/DataManager.cs using CsvHelper; using UnityEngine; using System.Globalization; using System.IO; using System.Collections; using System.Linq; using System.Collections.Generic; namespace Assets.Scripts { /// <summary> /// Manages loading data files /// </summary> public static c...
Dinosaurs and Footmen/Assets/SkeletonControl/chaseAction.cs
mihaiandrei1294/Virtual-Worlds
0
7040263
<gh_stars>0 using UnityEngine; using System.Collections; public class chaseAction : MonoBehaviour { private SkelControl parent; //main script that will have useful variables private NavMeshAgent agent; public float speed = 0.5f; // Use this for initialization void Start () { parent = GetComponent<SkelCo...
src/JT808.Gateway.Client/Internal/JT808RetryBlockingCollection.cs
liuguiyou/JT808Gateway
87
7040264
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; namespace JT808.Gateway.Client.Internal { public class JT808RetryBlockingCollection { public BlockingCollection<JT808DeviceConfig> RetryBlockingCollection { get; } public JT808RetryBlocking...
FairMark/TrueApi/DataContracts/3_1_1_Organization.cs
Nikolay200/FairMarkClient
8
7040265
using System.Runtime.Serialization; namespace FairMark.TrueApi.DataContracts { /// <summary> /// Организация. /// 3.1.1. Метод создания заявки на регистрацию УОТ /// </summary> [DataContract(Name = "organisation")] public class Organization { [DataMember(Name = "inn")] publ...
Source/BuildGridBackup.cs
coolymike/FWR-QoL-Mod
1
7040266
<filename>Source/BuildGridBackup.cs using System; using System.Collections.Generic; using UnityEngine; // Token: 0x020000EE RID: 238 public class BuildGridBackup : MonoBehaviour { // Token: 0x060004B9 RID: 1209 RVA: 0x00005E71 File Offset: 0x00004071 private void OnLevelWasLoaded() { BuildGridBackup.re...
MiBand-Heartrate-2/Extras/Setting.cs
LiquidCGS/miband-heartrate
25
7040267
<gh_stars>10-100 using System; using Microsoft.Win32; namespace MiBand_Heartrate_2.Extras { public static class Setting { const string regPath = @"Software\PAWZ\Heartrate"; public static T Get<T>(string key, T defaultValue) { T result = defaultValue; ...
MahTweets.UI/Controls/StreamsContainer.xaml.cs
shiftkey/MahTweets.LawrenceHargrave
2
7040268
using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using MahTweets.Core.Composition; using MahTweets.Core.Events; using MahTweets.Core.Events.EventTypes; using MahTweets.Core.Interfaces.Application; using MahTweets.Core.Interfaces.ViewModels; namespace MahTweets.UI.Controls { p...
Examples/CSharp/POP3/ConnectingToPOP3.cs
jawadaspose/Aspose_Email_For_.NET_Backup
0
7040269
using System; using Aspose.Email.Pop3; namespace Aspose.Email.Examples.CSharp.Email.POP3 { class ConnectingToPOP3 { public static void Run() { //ExStart:ConnectingToPOP3 // Create an instance of the Pop3Client class Pop3Client client = new Pop3Client(); ...
mcs/class/corlib/Test/System.Globalization/DaylightTimeTest.cs
DavidKarlas/mono
4
7040270
// // BinaryFormatterTest.cs - Unit tests for // System.Runtime.Serialization.Formatters.Binary.BinaryFormatter // // Author: // <NAME> <<EMAIL>> // // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and...
Assets/Skripte/Sladoled1_Transform.cs
jovanmit998/Winter-Slider
0
7040271
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Sladoled1_Transform : MonoBehaviour { //Transformacija prvog sladoleda na mapi //Skripta se nalazi na objektu pod nazivom "Detekcija poena" public GameObject sladoled; private void OnTriggerEnter(Collider other...
src/LinqLib/Array/DoubleComparer.cs
AmirLiberman/LinqLib
0
7040272
<reponame>AmirLiberman/LinqLib<filename>src/LinqLib/Array/DoubleComparer.cs<gh_stars>0 using System.Collections.Generic; namespace LinqLib.Array { /// <summary> /// A class that provides a way to compare double types while ignoring minor floating point arithmetic errors /// </summary> public class DoubleCompa...
Assets/QFramework/Framework/1.Core/Editor/uFrame.Editor/Systems/GraphUI/Drawers/impl/InspectorDrawer.cs
alexddhuang/QFramework
1
7040273
<filename>Assets/QFramework/Framework/1.Core/Editor/uFrame.Editor/Systems/GraphUI/Drawers/impl/InspectorDrawer.cs using System.Collections.Generic; using QF.GraphDesigner; using UnityEngine; namespace QF.GraphDesigner { public class InspectorDrawer : Drawer<InspectorViewModel> { private float _inspecto...
PresentationObject/Views/IOrdersView.cs
Spinariaz/BookApplication
0
7040274
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WinForms.Models; namespace WinForms.Views { // represents view of orders public interface IOrdersView : IView { IList<OrderModel> Orders { set; } } }
LuaSTGNode.Legacy/EditorData/Node/Player/PlayerOptionForEach.cs
Tru-Dev/LuaSTG-Editor-Sharp-X
3
7040275
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using LuaSTGEditorSharp.EditorData; using LuaSTGEditorSharp.EditorData.Document; using LuaSTGEditorSharp.EditorData.Node.NodeAttributes; using Newtonsoft.Json; name...
DemoUnityAndReplayKit/Assets/RecordController.cs
ustwo/ReplayKitUnityBridge
52
7040276
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video; public class RecordController : MonoBehaviour { public VideoPlayer videoPlayer; private bool isRecording = false; public GameObject cube; public GameObject videoTexture; public float TimeToRe...
InvoiceDataView.cs
newkisoft/newki-libraries
0
7040277
<filename>InvoiceDataView.cs using System.ComponentModel.DataAnnotations.Schema; namespace newkilibraries { public class InvoiceDataView { [DatabaseGenerated(DatabaseGeneratedOption.None)] public int InvoiceId { get; set; } public string Data{get;set;} } }
src/scenarios/weblarge3.0/src/ClassLib056/Class001.cs
sandreenko/performance
547
7040278
namespace ClassLib056 { public class Class001 { public static string Property => "ClassLib056" + " " + ClassLib037.Class001.Property + " " + ClassLib038.Class001.Property + " " + ClassLib012.Class001.Property; } }
atfadmin/scripts/atfadmin/defaultGame.cs
kfox/atfadmin
0
7040279
<filename>atfadmin/scripts/atfadmin/defaultGame.cs // START package atfadmin_defaultGame package atfadmin_defaultGame { function DefaultGame::clientMissionDropReady(%game, %client) { // synchronize the clock HUD messageClient(%client, 'MsgSystemClock', "", 0, 0); %game.sendClientTeamList(%client); %game.setupCli...
crisischeckin/crisicheckinweb/Controllers/DisasterController.cs
fredatgithub/crisischeckin
162
7040280
using crisicheckinweb.Filters; using crisicheckinweb.ViewModels; using Models; using Services.Exceptions; using Services.Interfaces; using System; using System.Linq; using System.Web.Mvc; namespace crisicheckinweb.Controllers { [AccessDeniedAuthorize(Roles = Common.Constants.RoleAdmin, AccessDeniedView...
examples/CsQuery.MvcApp/CsQuery.MvcApp.Tests/TestMvcApp.cs
periface/CsQuery
791
7040281
<gh_stars>100-1000 using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using CsQuery.MvcApp.Controllers; namespace CsQuery.MvcApp.Tests { /// <summary> /// A very simple test showing how to test an external MVC app's output ...
SnipeSharp/Endpoints/ExtendedManagers/UserEndpointManager.cs
corpitsysadmins/SnipeSharp
2
7040282
<reponame>corpitsysadmins/SnipeSharp using Newtonsoft.Json; using SnipeSharp.Common; using SnipeSharp.Endpoints.Models; namespace SnipeSharp.Endpoints.ExtendedManagers { public class UserEndpointManager : EndpointManager<User> { public UserEndpointManager(IRequestManager reqManager) : base(reqManager,...
src/Extensions/CommentFormatter/Sources/MultiLineCommentTaggerContext.cs
fschneidereit/VSEssentials
9
7040283
/*************************************************************************************************** * * Copyright © 2015-2018 <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 ...
Baku.IrasutoyaPpt/Baku.IrasutoyaPpt/ThisAddIn.cs
malaybaku/BakuIrasutoyaPpt
4
7040284
using System.Windows.Forms.Integration; using System.Windows.Forms; using System.IO; using Microsoft.Office.Interop.PowerPoint; namespace Baku.IrasutoyaPpt { public partial class ThisAddIn { internal static ThisAddIn Instance { get; private set; } = null; private void ThisAddIn_Startup(object...
AdventOfCode/SecurityThroughObscurity.cs
JoeIngledew/AdventOfCode.Jfi
0
7040285
<reponame>JoeIngledew/AdventOfCode.Jfi namespace AdventOfCode { using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; public class SecurityThroughObscurity { public int GetSumOfValidRoomSectorIds(string inputs) { ...
WindowsInput/EventsSources/Keyboard/CurrentThreadKeyboardEventSource.cs
yanngarras/WindowsInput
53
7040286
// This code is distributed under MIT license. // Copyright (c) 2015 <NAME> // See license.txt or https://mit-license.org/ using System; using System.Collections.Generic; using System.Text; using WindowsInput.Events; using WindowsInput.Native; namespace WindowsInput.Events.Sources { public class CurrentThreadKey...
Squiggle.Bridge/PresenceMessageInspector.cs
Angellomix/Squiggle
90
7040287
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using Squiggle.Core; using Squiggle.Core.Presence.Transport; using Squiggle.Core.Presence.Transport.Messages; namespace Squiggle.Bridge { class PresenceMessageInspector { RouteTable routeTable; ...
Smooth/Foundations/Algebraics/Results/Result.cs
Volodej/smooth.foundations
8
7040288
using System; using Smooth.Algebraics.Results.Exceptions; using Smooth.Collections; // ReSharper disable UnusedMember.Global namespace Smooth.Algebraics.Results { /// <summary> /// Struct represents the result of any work that could end not only with a valid value but also with error. /// <para/>This mona...
src/JT1078.Gateway/JT1078GatewayExtensions.cs
SmallChi/JT1078Gateway
29
7040289
using JT1078.Gateway.Abstractions; using JT1078.Gateway.Configurations; using JT1078.Gateway.Impl; using JT1078.Gateway.Jobs; using JT1078.Gateway.Services; using JT1078.Gateway.Sessions; using JT1078.Hls.Options; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft...
test/ElmSharp.Test/TC/Wearable/GestureLayerTest1.cs
yoowonyoung/TizenFX
149
7040290
<filename>test/ElmSharp.Test/TC/Wearable/GestureLayerTest1.cs<gh_stars>100-1000 /* * 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 th...
HistoricalDataPreparer/src/Dfe.Spi.HistoricalDataPreparer.Domain/Registry/CosmosRegisteredEntity.cs
DFE-Digital/spi-tools
0
7040291
using System; namespace Dfe.Spi.HistoricalDataPreparer.Domain.Registry { public class CosmosRegisteredEntity : RegisteredEntity { public string PartitionableId { get; set; } public string[] SearchableSourceSystemIdentifiers { get; set; } public string[] SearchableName { get; set; } ...
src/FluentLinqToSql/Mappings/FunctionParameterMapping.cs
JeremySkinner/FluentLinqToSql
7
7040292
#region License // Copyright 2008 <NAME> (http://www.jeremyskinner.co.uk) // // 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 // // Unl...
GUI/MainForm.cs
fragranse/ArchiSteamFarm
2
7040293
using System; using System.Collections.Concurrent; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace ArchiSteamFarm { internal sealed partial class MainForm : Form { private sta...
KitchenPC/Core/NLP/PrepNotes.cs
Derneuca/KitchenPCTeamwork
0
7040294
<reponame>Derneuca/KitchenPCTeamwork namespace KitchenPC.NLP { using System.Collections.Generic; public class PrepNotes : SynonymTree<PrepNode> { private static readonly object MapInitLock = new object(); public static void InitIndex(ISynonymLoader<PrepNode> loader) { ...
SGC/Core/DAOs/UsuarioD/EnderecoDAO.cs
MM-Andrade/LES
0
7040295
using Core.Aplicacao; using Dominio; using Dominio.Usuarios; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; namespace Core.DAOs { public class EnderecoDAO : AbstractDAO { public EnderecoDAO() : base("tb_endereco", "id") { } public ...
ConsultorioGeral/Enums/Especialidade.cs
lgpilati/SiteConsultorio
4
7040296
<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace ConsultorioGeral.Enums { public enum Especialidade { Cardiologista = 1, Pediatra = 2, Otorrinolaringologista = 3, ...
KnowledgeSpreadSystem/KnowledgeSpreadSystem.Models/Rating.cs
ggnv/KnowledgeSpreadSystem
1
7040297
<reponame>ggnv/KnowledgeSpreadSystem namespace KnowledgeSpreadSystem.Models { using System; using System.ComponentModel.DataAnnotations; using KnowledgeSpreadSystem.Data.Common.Models; using KnowledgeSpreadSystem.Models.Base.ResourceEntity; public class Rating : AuditInfo, IDeletableEntity { ...
Apocalypse.Any.Core/IInputArgs.cs
inidibininging/apocalypse_netcore
0
7040299
using System; using System.Collections.Generic; namespace Apocalypse.Any.Core { public interface IInputArgs { DateTime RecordedOn { get; } List<string> PressedKeys { get; } //MouseState MouseStates { get; } } }
src/SharpVectorScripting/SharpVectors/Scripting/Wrapping/ViewsWrapper.cs
codebutler/savagesvg
5
7040300
using System; using SharpVectors.Dom; using SharpVectors.Dom.Css; using SharpVectors.Dom.Events; using SharpVectors.Dom.Stylesheets; using SharpVectors.Dom.Svg; using SharpVectors.Dom.Views; namespace SharpVectors.Scripting { /// <summary> /// Implementation wrapper for IScriptableAbstractView /// </summary> ...
Backup/ATP.CoreLibs/Facade/UIAutomationFacade.cs
zhaojingbo918/ATP
28
7040301
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using ATP.Core; namespace ATP.CoreLibs { public class UIAutomationFacade { public IUIAutomationRunner AutomationRunner { get; private set; } public UIAutomationFacade(IUIAutomationRunner auto...
RoslynMetrics.CSharp/RoslynMetrics.CSharp/MethodLocalVariablesAnalyzer.cs
Zefek/RoslynMetrics
0
7040302
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.Linq.Expressions; using System.Reflection; using System.Runtime.CompilerServices; namespace RoslynMetrics.CSharp { internal sealed class MethodLocalVariablesAnalyzer : CSharpSyntax...
BroadworksConnector/Ocip/Models/ServiceProviderDnGetSummaryListRequest.cs
cwmiller/broadworks-connector-net
8
7040303
<gh_stars>1-10 using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request a summary table of all DNs in a service provider. /// ...
Assets/Package/Tuntenfisch/Commons/Scripts/Editor/EditorGUIUtility.cs
Tuntenfisch/Tuntenfisch-Commons-Package
0
7040304
<gh_stars>0 using UnityEngine; using Unity.Mathematics; namespace Tuntenfisch.Commons.Editor { public static class EditorGUIUtility { #region Public Properties public static readonly float2 Spacing; // Workaround to get width. Taken from https://forum.unity.com/threads/editorguilayout...
SwiftReader/Exceptions/InvalidNewLineException.cs
luboid/Swift
12
7040305
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Swift { public class InvalidNewLineException : SwiftReaderException { public InvalidNewLineException(int index, int line, int character) : base(string.Format("Inval...
Antastic/Antastic/GameScreens/GameplayScreen.cs
SamTheBay/Antastic
0
7040306
<reponame>SamTheBay/Antastic using System; using System.Threading; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Input.Touch; using System.Collections.Generic; using System.IO; using Syste...
module/ASC.Api/ASC.Api.Settings/SettingsApi.cs
dev-nm/CommunityServer
0
7040307
<reponame>dev-nm/CommunityServer<filename>module/ASC.Api/ASC.Api.Settings/SettingsApi.cs<gh_stars>0 /* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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...
client/weatherapi/Program.cs
kevinrjones/SettingUpDuendeIdentityServer
0
7040308
using Microsoft.AspNetCore.Authentication.JwtBearer; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle builder.Services.AddEndpointsApiExplorer(); bui...
Iris.NET.Demo/Iris.NET.Demo/Program.cs
tommasobertoni/Iris.NET
15
7040309
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Iris.NET.Demo { class Program { static void Main(string[] args) { var test = new LocalTestClass(); Console.WriteLine("/Local (no network) demo of Iris.NET.Server/\n"); ...
Money.IO.Tests/CalculatorTests/TestFixture.cs
PeterMilovcik/Money.IO
0
7040310
<reponame>PeterMilovcik/Money.IO<filename>Money.IO.Tests/CalculatorTests/TestFixture.cs using NUnit.Framework; namespace Money.IO.Tests.CalculatorTests { public class TestFixture { protected Calculator Calculator { get; private set; } [SetUp] public virtual void SetUp() => Calculator ...
OtelYeniProje/OtelYeniProje/Form1.Designer.cs
CaglaT/C-ve-MVC-ile-Otel-Rezervasyon-Projesi
0
7040311
<reponame>CaglaT/C-ve-MVC-ile-Otel-Rezervasyon-Projesi  namespace OtelYeniProje { partial class Form1 { /// <summary> ///Gerekli tasarımcı değişkeni. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ///Kullanılan tüm kayna...
public/jqwidgets5.5.0/demos/asp.net-core-mvc-tag-helpers/Views/TagHelpers/Slider/Slider.cshtml
ironmarcel/pipspie
1
7040312
<filename>public/jqwidgets5.5.0/demos/asp.net-core-mvc-tag-helpers/Views/TagHelpers/Slider/Slider.cshtml @using jQWidgets.AspNetCore.Mvc.TagHelpers @{ ViewData["Title"] = "ASP .NET MVC Slider Example"; } <label>ASP .NET Core MVC Slider Tag Helper Example</label><br/><br/> <jqx-slider theme="@ViewData["Theme"]" wi...
Runtime/Frameworks/Save System/Surrogates/ColorSerializationSurrogate.cs
ninito-ph/ManyTools-Unity-Extended
3
7040313
<gh_stars>1-10 using System.Runtime.Serialization; using UnityEngine; namespace Ninito.UsualSuspects.SaveSystem.Surrogates { public class ColorSerializationSurrogate : ISerializationSurrogate { public void GetObjectData(object obj, SerializationInfo info, StreamingContext context) { ...
Src/Core/Studio.Application/EmployeeServices/Commands/Update/UpdateEmployeeServiceCommandHandler.cs
VeselinBPavlov/studioto.bg
0
7040314
<reponame>VeselinBPavlov/studioto.bg namespace Studio.Application.EmployeeServices.Commands.Update { using System; using System.Threading; using System.Threading.Tasks; using Common; using Exceptions; using Interfaces.Persistence; using MediatR; using Microsoft.EntityFrameworkCore; ...
source/Enums/VirtualServerProperty.cs
TeamSpeak-Systems/ts3_sdk_dotNet
22
7040315
namespace TeamSpeak.Sdk { internal enum VirtualServerProperty { /// <summary> /// available when connected, can be used to identify this particular server installation /// </summary> UniqueIdentifier = 0, /// <summary> /// available and always up-to-date when con...
Programming/OOP/05. OOP Principles I/03. Animals/Dog.cs
niki-funky/Telerik_Academy
1
7040316
using System; using System.Linq; namespace Animals { class Dog : Animal { //constructor public Dog(int age, string name, Sex sex) : base(age, name, sex) { } //method public override void MakeSound() { Console.WriteLine("bark bar...
VTCManager 1.0.0/GameChecks.cs
VTCManager/VTCManager-Client-old
0
7040317
<reponame>VTCManager/VTCManager-Client-old using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VTCManager_1._0._0 { class GameChecks { private Utilities utils = new Utilities(); } }
src/ServiceBuses/Rhino.ServiceBus.File/FileMessaging/Design/MessageFormatterConverter.cs
Grimace1975/bclcontrib-abstract
0
7040318
using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; using System.Runtime.Serialization.Formatters; namespace Rhino.ServiceBus.FileMessaging.Design { internal class MessageFormatterConverter : ExpandableObjectConverter { publ...
src/EA.Weee.Domain/AatfReturn/ReturnStatus.cs
uk-gov-mirror/defra.prsd-weee
2
7040319
<reponame>uk-gov-mirror/defra.prsd-weee<filename>src/EA.Weee.Domain/AatfReturn/ReturnStatus.cs<gh_stars>1-10 namespace EA.Weee.Domain.AatfReturn { using Prsd.Core.Domain; public class ReturnStatus : Enumeration { public static readonly ReturnStatus Created = new ReturnStatus(1, "Not Submitted"); ...
Src/SAEA.MVC/MVCInvoker.cs
lixiaohuang/SAEA
1
7040320
<filename>Src/SAEA.MVC/MVCInvoker.cs /**************************************************************************** *Copyright (c) 2018 yswenli All Rights Reserved. *CLR版本: 4.0.30319.42000 *机器名称:WENLI-PC *公司名称:yswenli *命名空间:SAEA.MVC *文件名: MvcInvoker *版本号: v5.0.0.1 *唯一标识:eb956356-8ea4-4657-aec1-458a3654c078 *当前的用户域:WENL...
unity-renderer/Assets/Plugins/bc-csharp/crypto/src/asn1/BerSet.cs
mr0ng/unity-renderer
90
7040321
using System; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Asn1 { public class BerSet : DerSet { public static new readonly BerSet Empty = new BerSet(); public static new BerSet FromVector(Asn1EncodableVector elementVector) { return elementVector.Count < 1 ? Empty : ...
ODriveClientLibrary.DeviceSchema/DeviceSchema.Generated.cs
metanoic/ODriveClientLibrary
3
7040322
<reponame>metanoic/ODriveClientLibrary<filename>ODriveClientLibrary.DeviceSchema/DeviceSchema.Generated.cs namespace ODriveClientLibrary.DeviceSchema { using System; using System.Threading.Tasks; using ODriveClientLibrary.Common; using ODriveClientLibrary.DeviceSchema; public partial class ...
src/Middleware/src/Headstart.Common/Services/SebExchangeRatesService.cs
ppatel-sitecore/headstart
0
7040323
using Headstart.Models; using ordercloud.integrations.exchangerates; using OrderCloud.Catalyst; using OrderCloud.SDK; using Sitecore.Foundation.SitecoreExtensions.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SitecoreExtensions = Sitecore.Foundation....
src/application/Transport.Contract/Communication/INotificationHandler.cs
cschulzsuper/paula
3
7040324
<reponame>cschulzsuper/paula<gh_stars>1-10 using Super.Paula.Application.Communication.Requests; using Super.Paula.Application.Communication.Responses; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Super.Paula.Application.Communication { public interface INotificationHand...
main/Smartsheet/Api/UserResources.cs
JTP3XP/smartsheet-csharp-sdk
0
7040325
<filename>main/Smartsheet/Api/UserResources.cs<gh_stars>0 // #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You...
Content.Server/Fluids/Components/SpillableComponent.cs
Efruit/SS14
0
7040326
<filename>Content.Server/Fluids/Components/SpillableComponent.cs<gh_stars>0 using Content.Shared.ActionBlocker; using Content.Shared.Chemistry.Components.SolutionManager; using Content.Shared.Chemistry.EntitySystems; using Content.Shared.Chemistry.Reagent; using Content.Shared.Interaction; using Content.Shared.Popups; ...
DataAccessCommon/DataAccessLayer/CampaignEntity.cs
chinnurtb/OpenAdStack
1
7040327
<gh_stars>1-10 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="CampaignEntity.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // y...
Tesseract/TesseractSettings.cs
reductech/TesseractConnector
1
7040328
using System.IO; using System.Reflection; using System.Text.Json.Serialization; using Tesseract; namespace Reductech.Sequence.Connectors.Tesseract; /// <summary> /// Settings for the Tesseract connector /// </summary> [Serializable] public class TesseractSettings : IEntityConvertible { /// <summary> /// Empt...
VersionOne.ServerConnector/Filters/Filter.cs
versionone/VersionOne.Integration.FitNesse
1
7040329
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using VersionOne.SDK.APIClient; namespace VersionOne.ServerConnector.Filters { public class Filter : IFilter { public readonly string Name; public readonly FilterActions Operation; pri...
growsense/growsense/Properties/Settings.Designer.cs
growsenseman/growsense
5
7040330
using System; using System.CodeDom.Compiler; using System.Configuration; using System.Runtime.CompilerServices; namespace TrainerBase.Properties { // Token: 0x02000009 RID: 9 [CompilerGenerated] [GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")] in...
Core/ProtoCore/ParserUtils.cs
DynamoDS/designscript-archive
4
7040331
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using ProtoCore.DSASM; using ProtoCore.Lang.Replication; using ProtoCore.Utils; namespace ProtoCore.Utils { /// <summary> /// These are string manipulation uti...
Protobuild.Internal/Packages/PlatformAndServiceActiveDetection.cs
SjB/Protobuild
0
7040332
using System; namespace Protobuild { public class PlatformAndServiceActiveDetection { // TODO: Find some way of merging this class with the C# XSLT generator. public bool ProjectAndServiceIsActive( string platformString, string includePlatformString, string...
Desafio/Desafio.Domain/Query/VotoQueryResult.cs
guuulemos/desafio-api
0
7040333
namespace Desafio.Domain.Query { public class VotoQueryResult { public long Id { get; set; } public UsuarioQueryResult Usuario { get; set; } public FilmeQueryResult Filme { get; set; } } }
src/MyLab.Search.Delegate/Controllers/TokenControllerV1.cs
mylab-search-fx/delegate
0
7040334
<reponame>mylab-search-fx/delegate using System.Net; using Microsoft.AspNetCore.Mvc; using MyLab.Search.Delegate.Models; using MyLab.Search.Delegate.Services; using MyLab.WebErrors; namespace MyLab.Search.Delegate.Controllers { [ApiController] [Route("v1/token")] public class TokenControllerV1 : Controlle...
src/Stripe.net/Services/Orders/OrderListOptions.cs
matthewling-stripe/stripe-dotnet
1
7040335
namespace Stripe { using System.Collections.Generic; using Newtonsoft.Json; public class OrderListOptions : ListOptionsWithCreated { /// <summary> /// Only return orders for the given customer. /// </summary> [JsonProperty("customer")] public string Customer { ge...
03 - Configuration/03aCustomMediaFormatter/Controllers/DemoController.cs
airesdiegom66/WebAPIDesign-master
154
7040336
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using System.Web.Http.Description; using _03aCustomMediaFormatter.Models; namespace _03aCustomMediaFormatter.Controllers { public class DemoController : ApiController { private static readonly List<DemoItem> Item...
TryCSharp.Samples/Basic/AnonymousDelegateSample.cs
devlights/try-csharp
5
7040337
<gh_stars>1-10 using TryCSharp.Common; namespace TryCSharp.Samples.Basic { /// <summary> /// 匿名デリゲート(anonymous delegete)のサンプル(.NET Framework 2.0) /// </summary> [Sample] internal class AnonymousDelegateSample : IExecutable { /// <summary> /// 処理を実行します。 /// </sum...
snippets/csharp/VS_Snippets_CLR_System/system.DateTime.ToString/cs/ToString1.cs
BohdanMosiyuk/samples
2
7040338
// <Snippet1> using System; using System.Globalization; using System.Threading; public class DateToStringExample { public static void Main() { CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture; DateTime exampleDate = new DateTime(2008, 5, 1, 18, 32, 6); // Display the date...
PolloPollo.Web/Startup.cs
joglr/back-end
0
7040339
<gh_stars>0 using System.Collections.Generic; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; usin...
StoreWebApp/EfModel/Interfaces/ICustomer.cs
2011-nov02-net/paul-project1
0
7040340
using StoreLibrary; using System; using System.Collections.Generic; using System.Text; namespace EfModel.Interfaces { public interface ICustomer { List<Customer> GetAllCustomers(); List<Customer> GetCustomerByName(string first, string last); Customer GetCustomerById(int? id); v...
MonoGame.Framework.Content.Pipeline/Graphics/NodeContentCollection.cs
Gitspathe/MonoGame
0
7040341
<gh_stars>0 // MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics { public class NodeContentCollection : ChildCollection<NodeContent, ...
App.cs
Koneke/AuralProbe2
0
7040342
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using System.IO; using System.Linq; using Microsoft.Win32; using Newtonsoft.Json; namespace Aural_Probe { public class App { public FmodManager fmodManager; public FMOD.CHANNEL_CALLBACK cbFMOD; p...