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 |
|---|---|---|---|---|
CSharpExample/CSharpBasic/ConApp/Samples/NetDemo.cs | huruiyi/CSharpExample | 3 | 7028579 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Net.Mime;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Threading.Tasks;
u... |
Source/JobDefOf.cs | AUTOMATIC1111/HairDye | 1 | 7028580 | using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace HairDye
{
[DefOf]
public static class JobDefOf
{
static JobDefOf()
{
DefOfHelper.EnsureInitializedInCtor(typeof(JobDefOf));
}
public sta... |
Assets/Standard Assets/Editor/Builder.cs | BrettGregson/ProceduralBuildings | 21 | 7028581 | using UnityEngine;
using UnityEditor;
using Thesis;
using System.Collections.Generic;
using System;
using Object = UnityEngine.Object;
public class Builder : EditorWindow
{
// dimensions stuff
private Vector2 _p1 = Vector2.zero;
private Vector2 _p2 = Vector2.zero;
private Vector2 _p3 = Vector2.zero;
private... |
SimpleTester/CompactionStressTest.cs | klesta490/BTDB | 0 | 7028582 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using BTDB.Buffer;
using BTDB.KVDBLayer;
namespace SimpleTester;
public class CompactionStressTest
{
public void Run(string dbDirectory, CancellationToken cancellationToken)
{
using var fc = new OnDis... |
src/Promitor.Core/Serialization/Yaml/YamlSerialization.cs | ChristianEder/promitor | 203 | 7028583 | using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace Promitor.Core.Serialization.Yaml
{
public static class YamlSerialization
{
private static readonly INamingConvention namingConvention = CamelCaseNamingConvention.Instance;
public static ISerializer Cre... |
CompareBases/ConStrForm.cs | cha0ss666/CompareBases | 0 | 7028584 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CompareBases
{
public partial class ConStrForm : Form
{
private bool Changing ... |
CMiX_MVVM/Models/ColorSelectorModel.cs | cloneproduction/CMiX_UI | 2 | 7028585 | using System;
namespace CMiX.MVVM.Models
{
[Serializable]
public class ColorSelectorModel : Model
{
public ColorSelectorModel()
{
ColorPickerModel = new ColorPickerModel();
}
public ColorPickerModel ColorPickerModel { get; set; }
}
} |
Ginger/Ginger/SolutionWindows/TreeViewItems/HTMLGingerReportTreeItem.cs | Ginger-Automation/Ginger | 87 | 7028586 | <gh_stars>10-100
#region License
/*
Copyright © 2014-2021 European Support Limited
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 ap... |
src/HealthChecks.Rabbitmq/RabbitMQHealthCheck.cs | Manuel-Apuy/AspNetCore.Diagnostics.HealthChecks | 0 | 7028587 | using Microsoft.Extensions.Diagnostics.HealthChecks;
using RabbitMQ.Client;
namespace HealthChecks.RabbitMQ
{
public class RabbitMQHealthCheck : IHealthCheck, IDisposable
{
private IConnection? _connection;
private IConnectionFactory? _factory;
private readonly Uri? _rabbitConnectionStr... |
TypeResolution/FakeChainElements/ResolutionOfArrays.cs | grzesiek-galezowski/tdd-toolkit | 12 | 7028588 | <filename>TypeResolution/FakeChainElements/ResolutionOfArrays.cs<gh_stars>10-100
using TddEbook.TddToolkit.TypeResolution.Interfaces;
using TddEbook.TypeReflection;
namespace TddEbook.TddToolkit.TypeResolution.FakeChainElements
{
public class ResolutionOfArrays<T> : IResolution<T>
{
private readonly ICollectio... |
ThirtyFiveG.Commons/Extensions/ClassExtensions.cs | drigofonte/ThirtyFiveG.Commons | 0 | 7028589 | using Newtonsoft.Json;
using System;
namespace ThirtyFiveG.Commons.Extensions
{
public static class ClassExtensions
{
private static readonly JsonSerializerSettings _settings = new JsonSerializerSettings() { ReferenceLoopHandling = ReferenceLoopHandling.Ignore, Formatting = Formatting.None, MissingMem... |
tests/generator-Tests/expected.xaji/Adapters/Xamarin.Test.AbsSpinner.cs | jonpryor/java.interop | 167 | 7028590 | <reponame>jonpryor/java.interop
using System;
using System.Collections.Generic;
using Android.Runtime;
using Java.Interop;
namespace Xamarin.Test {
// Metadata.xml XPath class reference: path="/api/<EMAIL>']/class[@name='AbsSpinner']"
[global::Android.Runtime.Register ("xamarin/test/AbsSpinner", DoNotGenerateAcw=tr... |
src/SDKs/Compute/Management.Compute/Generated/Models/DiskCreateOption.cs | q3blend/azure-sdk-for-net | 0 | 7028591 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
Metadata/FpML.V5r3/FpML.V5r3.Reporting.ModelFramework/IPointFunction.cs | mmrath/Highlander.Net | 0 | 7028592 | /*
Copyright (C) 2019 <NAME> (<EMAIL>)
This file is part of Highlander Project https://github.com/alexanderwatt/Highlander.Net
Highlander is free software: you can redistribute it and/or modify it
under the terms of the Highlander license. You should have received a
copy of the license along with this program; ... |
src/Microsoft/JSInterop/0.Abstractions/src/Component/Assigners/InterceptorValueAssignerContext.cs | teroneko/Teronis.DotNet | 30 | 7028593 | // Copyright (c) Teroneko.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Teronis.Microsoft.JSInterop.Component.Assigners
{
public class InterceptorValueAssignerContext : ValueAssignerContext
{
public I... |
ios8/HelloGoodbye/HelloGoodbye/Screens/Profile/ProfileViewController.cs | ertan2002/monotouch-samples | 1 | 7028594 | <reponame>ertan2002/monotouch-samples
using System;
using System.Drawing;
using System.Collections.Generic;
using UIKit;
using Foundation;
using CoreText;
namespace HelloGoodbye
{
public class ProfileViewController : PhotoBackgroundViewController
{
private const float LabelControlMinimumSpacing = 20;
private c... |
Assets/CommonCoreGame/RPGGame/Dialogue/DialogueCameraTarget.cs | XCVG/glow_public | 6 | 7028595 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CommonCore.RpgGame.Dialogue
{
/// <summary>
/// Attach to an object to define it as the target for the dialogue camera
/// </summary>
public class DialogueCameraTarget : MonoBehaviour
{
... |
WebAPI/WebAPI/Controllers/UserController.cs | sumuongit/asp-mvc-web-api-vscode-angular-8-crud-2 | 1 | 7028596 | <filename>WebAPI/WebAPI/Controllers/UserController.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Core.Objects;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Sys... |
g1/Class15/ExceptionHandling/WebApi/Fake_Database/DB.cs | sedc-codecademy/skwd8-05-oopcharp | 11 | 7028597 | using System;
using System.Collections.Generic;
using System.Text;
using WebApi.Models;
namespace WebApi.Fake_Database
{
internal static class DB
{
internal static List<User> Users = MockData.GetMockedUsers();
}
}
|
PreExam1ADO/PreExam1ADO/Gui/FormBooks.cs | tarishi3/C-Projects | 0 | 7028598 | <reponame>tarishi3/C-Projects
using PreExam1ADO.Business;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PreExam1ADO.Gui
{
publ... |
WamBot.Twitch/Migrations/20210702160931_InitialCreate.Designer.cs | WamWooWam/WamBot.Twitch | 0 | 7028599 | <filename>WamBot.Twitch/Migrations/20210702160931_InitialCreate.Designer.cs
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFram... |
Assets/FunctionalTest/DevDemo/Test/AMT_Item.cs | nathanGroovy/Agora_Unity_WebGL | 0 | 7028600 | <filename>Assets/FunctionalTest/DevDemo/Test/AMT_Item.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AMT_Item : MonoBehaviour {
public int itemIndex = 0;
public Text txtName;
public Text txtDeviceId;
//public AudioManTest amt;
//public APM_Te... |
Assets/Features/FirstPersonController/Controller/FirstPersonController.cs | Bastilling/mappers-peak | 0 | 7028601 | <reponame>Bastilling/mappers-peak
using System;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
/// <summary>
/// Controller that handles the character controls and camera controls of the first person player.
/// </summary>
[RequireComponent(typeof(CharacterController))]
public class FirstPersonController ... |
SourceBase/DataAccess/Interface.Clinical/IPatientRecord.cs | uon-coehm/IQCare | 0 | 7028602 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace Interface.Clinical
{
public interface IPatientRecord
{
DataTable SavePatientRecord(Hashtable ht, Array arrIllness, Array arrReferredTo, Array arrAdhReason, Array arrARVReason4, Dat... |
src/Libraries/Shinobytes.Ravenfall.Data.Entities/EntityChangeSet.cs | zerratar/Ravenfall-Server | 5 | 7028603 | <filename>src/Libraries/Shinobytes.Ravenfall.Data.Entities/EntityChangeSet.cs
using System;
namespace Shinobytes.Ravenfall.Data.Entities
{
public class EntityChangeSet
{
public DateTime LastModified { get; set; }
public EntityState State { get; set; }
public IEntity Entity { get; set; ... |
Comparly/Comparly.Data/Services/RapidApiService/Implementation/RapidApiService.cs | LontraX/Comparly | 0 | 7028604 | <gh_stars>0
using Comparly.Data.Dtos;
using Comparly.Data.Services.RapidApiService.Interface;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Comparly.D... |
Palmtree.Math/Implements/NativeUnsignedInteger.Arithmetic.cs | rougemeilland/palmtreemath | 0 | 7028605 | /*
NativeUnsignedInteger.Arithmetic.cs
Copyright (c) 2017 Palmtree Software
This software is released under the MIT License.
https://opensource.org/licenses/MIT
*/
using System;
namespace Palmtree.Math.Implements
{
partial class NativeUnsignedInteger
{
#region パブリックメソッド
public Nati... |
Accounting/UtilityAccrual.ClientLibrary/DataAccess/ApiHelper.cs | dotnet-devops/Examples | 0 | 7028606 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text;
using System.Threading.Tasks;
using UtilityAccrual.Shared.Models;
using UtilityAccrual.Shared.Models.Display;
namespace UtilityAccrual.ClientLibrary.DataAccess
{
public class Ap... |
src/AzerothWarsCSharp.MacroTools/Frames/Frame.cs | YakaryBovine/AzerothWarsCSharp | 0 | 7028607 | using System;
using System.Collections.Generic;
using static War3Api.Common;
namespace AzerothWarsCSharp.MacroTools.Frames
{
public class Frame : IDisposable
{
private readonly List<Frame> _children = new();
private bool _disposed;
private readonly float _height;
private readonly float _width;
... |
Assets/Plugins/Juice/Editor/Utils/MenuItemMethods.cs | MiguelCriado/muui | 6 | 7028608 | <reponame>MiguelCriado/muui
using UnityEditor;
namespace Juice.Editor
{
public static class MenuItemMethods
{
private const string CreateMenuBasePath = "Assets/Create/jUIce/";
[MenuItem(CreateMenuBasePath + "Window")]
public static void CreateWindow()
{
ViewCreationWizardEditorWindow.ShowForWindow();
... |
nanoFramework.Json/JsonObject.cs | nanoframework/nanoFramework.Json | 3 | 7028609 | <filename>nanoFramework.Json/JsonObject.cs
//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright 2007 <NAME>, (c) Pervasive Digital LLC
// See LICENSE file in the project root for full license information.
//
using System;
using System.Collections;
using System.Diagnostics;
using System.Reflectio... |
CSETWebApi/CSETWeb_Api/DataLayerCore/ModelDataAccess/FileResult.cs | darojuv/cset | 1 | 7028610 | <filename>CSETWebApi/CSETWeb_Api/DataLayerCore/ModelDataAccess/FileResult.cs<gh_stars>1-10
////////////////////////////////
//
// Copyright 2020 Battelle Energy Alliance, LLC
//
//
////////////////////////////////
using System;
using System.Collections.Generic;
namespace DataAccess.Model
{
public class Fi... |
mcs/class/corlib/Test/System.Security.AccessControl/CommonAceTest.cs | lefb766/mono | 469 | 7028611 | //
// CommonAceTest.cs - NUnit Test Cases for CommonAce
//
// Author:
// <NAME>
//
using System.Security.AccessControl;
using System.Security.Principal;
using NUnit.Framework;
namespace MonoTests.System.Security.AccessControl {
[TestFixture]
public class CommonAceTest {
[Test]
public void GetBinaryForm ()
{
... |
LanguagesController.cs | letsbelopez/asp.net-snippets | 0 | 7028612 | using Sabio.Web.Models;
using Sabio.Web.Models.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Sabio.Web.Controllers
{
[Authorize(Roles = "Admin")]
[RoutePrefix("languages")]
public class LanguagesController : BaseController
... |
ShortcutsGrid/Services/Image/IconExtensions.cs | minkostaev/ShortcutsGrid | 0 | 7028613 | namespace ShortcutsGrid.Services.Image;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
internal static class IconExtensions
{
[DllImport("gdi... |
Wutnu3/Areas/Manage/Controllers/ProfileController.cs | Matty9191/Wutnu | 10 | 7028614 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Wutnu.Common;
using Wutnu.Data;
using Wutnu.Data.Models;
using Wutnu.Infrastructure;
namespace Wutnu.Areas.Manage.Controllers
{
[Authorize]
public class ProfileController : BaseController
{
... |
sources/SloCovidServer/SloCovidServer/Models/PerTreatment.cs | overlordtm/data-api | 0 | 7028615 | namespace SloCovidServer.Models
{
public record PerTreatment
{
public int? InHospital { get; init; }
public int? InHospitalToDate { get; init; }
public int? InICU { get; init; }
public int? Critical { get; init; }
public int? DeceasedToDate { get; init; }
public ... |
src/libraries/System.Private.CoreLib/src/System/Reflection/InvokeUtils.cs | berkansasmaz/runtime | 8 | 7028616 | <reponame>berkansasmaz/runtime<filename>src/libraries/System.Private.CoreLib/src/System/Reflection/InvokeUtils.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime;
using System.Runtime.CompilerServices;
using ... |
Programming Fundamentals - May 2017/ArrayListAlgorithms/AverageCharDelimiter/AverageCharDelimiter.cs | AlexanderPetrovv/Tech-Module-SoftUni | 0 | 7028617 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AverageCharDelimiter
{
class AverageCharDelimiter
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ').ToArray();
... |
src/Lamar/Scanning/Conventions/IRegistrationConvention.cs | matthawley/lamar | 0 | 7028618 | <reponame>matthawley/lamar
using Microsoft.Extensions.DependencyInjection;
namespace Lamar.Scanning.Conventions
{
// SAMPLE: IRegistrationConvention
/// <summary>
/// Used to create custom type scanning conventions
/// </summary>
public interface IRegistrationConvention
{
void ScanTypes... |
Assets/Scripts/CommonsUEvents.cs | Zas32x/RoomRush | 0 | 7028619 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine.Events;
[System.Serializable]
public class RunStateChangeEvent : UnityEngine.Events.UnityEvent<RUNSTATE>
{
}
[System.Serializable]
public class RoomEvent : UnityEngine.Eve... |
DynamicReconfigureSharp/MainWindow.xaml.cs | MagicHYD/Windows-Robot | 91 | 7028620 | <reponame>MagicHYD/Windows-Robot
#region USINGZ
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using DynamicReconfigureSharp;
using Ros_CSharp;
using XmlRpc_Wrapper;
#endregion
namespace Dyn... |
NickvisionPromote/Models/Update/Updater.cs | entvex/NickvisionPromote | 0 | 7028621 | <reponame>entvex/NickvisionPromote
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Text.Json;
using System.Threading.Tasks;
using System.Windows;
namespace NickvisionPromote.Models.Update
{
public class Updater
{
private string _linkToConfig;
... |
DNetUtils/Entities/DiscordMessage.cs | xthunderx/DNetBotTemplate | 7 | 7028623 | <reponame>xthunderx/DNetBotTemplate<gh_stars>1-10
using Discord;
using Discord.Rest;
using Discord.WebSocket;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace DNetUtils.Entities
{
public class DiscordMessage
{
/// <summary>
/// The Id / Snowf... |
IDIKWA-App/Views/BlankButton.cs | Wiltoag/Idikwa | 0 | 7028624 | <gh_stars>0
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
using Avalonia.Styling;
using System;
using System.Windows.Input;
namespace IDIKWA_App
{
public partial class BlankButton : ContentControl, IStyleable
{
public static re... |
InvenTory/Models/PurchaseOrder.cs | kaleemkb/Inventory | 0 | 7028625 | <reponame>kaleemkb/Inventory
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace InvenTory.Models
{
public class PurchaseOrder
{
public long PurchaseOrderId { get; set; }
[Display(Name = "Order ... |
src/WebApi/Sword.Nine.Domain/Entities/SnClassAttribute.cs | MapleWithoutWords/sword_nine | 1 | 7028626 | using System;
using NoRain.Reposition;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;
namespace Sword.Nine.Domain
{
/// <summary>
/// 实体类:类别属性
/// </summary>
[Table("Sn_Class_Attribute")]
[SugarTable("Sn_Class_Attribute")]
public ... |
Source/RpcService/RpcService/Logic/ServiceLogic.cs | tc303730352/WedonekRpcFrame | 1 | 7028627 | using RpcModel;
using RpcModel.Model;
using RpcModel.Server;
using RpcService.Collect;
using RpcService.Controller;
using RpcService.Model;
using RpcService.Save;
namespace RpcService.Logic
{
internal class ServiceLogic
{
/// <summary>
/// 远程服务登陆
/// </... |
SharpMedia/AspectOriented/Framework/IAssemblyProcessor.cs | zigaosolin/SharpMedia | 0 | 7028628 | // This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team
// and is licensed for your use under the conditions of the NDA or other legally binding contract
// that you or a legal entity you represent has signed with the SharpMedia team.
// In an event that you have received or obtained ... |
ServerExample/Program.cs | SVLubin/LANServerFinder | 0 | 7028629 | using System;
using System.Threading;
using LANServerFinder;
namespace ServerExample
{
class Program
{
static void Main()
{
Console.WriteLine("Server example started");
const int recivePort = 6000;
var responder = new Responder();
responder.StartResponding(recivePort);
responder.StopResponding... |
src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/PAPPay/NotifyPAPPayContractsRequest.cs | vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat | 1 | 7028630 | <filename>src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/PAPPay/NotifyPAPPayContractsRequest.cs<gh_stars>1-10
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
/// <summary>
/// <para>表示 [POST] /papay/contracts/{contract_id}/notify 接口的请求。</para>
/// </summary>
public class NotifyPAPPayContractsR... |
src/Dap.Protocol/Feature/Requests/LoadedSourcesFeature.cs | david-driscoll/csharp-language-server-protocol | 2 | 7028631 | using MediatR;
using OmniSharp.Extensions.DebugAdapter.Protocol.Models;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
// ReSharper disable once CheckNamespace
namespace OmniSharp.Extensions.DebugAdapter.Protocol
{
namespace Requests
{
[Parallel]
[Method(Requ... |
source/ChromeDevTools/Protocol/Chrome/Target/SetDiscoverTargetsCommand.cs | daviddays/ChromeDevTools | 118 | 7028632 | <filename>source/ChromeDevTools/Protocol/Chrome/Target/SetDiscoverTargetsCommand.cs<gh_stars>100-1000
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Target
{
/// <summary>
/// Controls whether to discover ava... |
runtime/ByteCode.cs | achouman/IKVM.NET | 11 | 7028633 | <reponame>achouman/IKVM.NET
/*
Copyright (C) 2002, 2004, 2005, 2006 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for ... |
tests/Lykke.MatchingEngine.Connector.Tests/MeTests.cs | JTOne123/MatchingEngineConnector | 0 | 7028634 | <filename>tests/Lykke.MatchingEngine.Connector.Tests/MeTests.cs
using System;
using System.Diagnostics;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Lykke.MatchingEngine.Connector.Models.Api;
using Lykke.MatchingEngine.Connector.Models.Common;
using Lykke.MatchingEngine.Connector.Servic... |
EnemyAI.cs | eki0166/Unity-2D | 0 | 7028635 | <filename>EnemyAI.cs
using UnityEngine;
using System.Collections;
public class EnemyAI : MonoBehaviour {
public Transform Target;
private GameObject Enemy;
private GameObject Player;
private float Range;
public float Speed;
// Use this for initialization
void Start () {
Enemy = GameObject.Fi... |
src/Tests/Arguments/NoValidatorInputValidator.cs | SimonCropp/GraphQL.Validation | 42 | 7028636 | using FluentValidation;
// ReSharper disable once UnusedTypeParameter
public class NoValidatorInputValidator<T> :
AbstractValidator<NoValidatorInput>
{
public NoValidatorInputValidator()
{
RuleFor(_ => _.Content)
.NotEmpty();
}
} |
Tools/MapCruncher/MSR.CVE.BackMaker/NameWatchingTreeNode.cs | QualitySolution/-GMap.NET | 1 | 7028637 | using System;
using System.Threading;
using System.Windows.Forms;
namespace MSR.CVE.BackMaker
{
internal class NameWatchingTreeNode : TreeNode
{
public NameWatchingTreeNode(HasDisplayNameIfc tag)
{
this.Init(tag);
}
public NameWatchingTreeNode(HasDisplayNameIfc tag, TreeNode[] children) : base(n... |
DarkGalaxyProject/Models/Player/RegisterFormModel.cs | Marin988/DarkGalaxyProject | 3 | 7028638 | using System.ComponentModel.DataAnnotations;
namespace DarkGalaxyProject.Models.Player
{
public class RegisterFormModel
{
[Required]
public string Email { get; set; }
[Required]
public string Username { get; set; }
[Required]
public string Password { get; set;... |
Kanpachi.Lib/Service/ExecService.cs | barrettotte/Kanpachi | 1 | 7028639 | <filename>Kanpachi.Lib/Service/ExecService.cs
using System;
using System.Collections.Generic;
using System.Data;
using ConsoleTables;
namespace Kanpachi.Lib{
public class ExecService: BaseService{
public KanpachiProfile Profile {get;}
public ExecService(KanpachiProfile profile){
Pro... |
src/Namotion.Reflection/Context/ContextualPropertyInfo.cs | TravisEz13/Namotion.Reflection | 0 | 7028640 | <reponame>TravisEz13/Namotion.Reflection<filename>src/Namotion.Reflection/Context/ContextualPropertyInfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Namotion.Reflection
{
/// <summary>
/// A property info with contextual information.
/// </summary>
public class Context... |
Geckofx-Core/Generated/nsIEditor.cs | CharlesZHENG/Geckofx | 12 | 7028641 | <reponame>CharlesZHENG/Geckofx<filename>Geckofx-Core/Generated/nsIEditor.cs
// --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); ... |
Farseer-Physics/Content/PolygonContainer.cs | ebatiano/Farseer-Physics-Standard | 1 | 7028642 | using System.Collections.Generic;
using FarseerPhysics.Common;
using FarseerPhysics.Common.Decomposition;
namespace FarseerPhysics.Content
{
public struct Polygon
{
public Vertices Vertices;
public bool Closed;
public Polygon(Vertices v, bool closed)
{
Vertices = v... |
Sudoku/ScreenBuffer.cs | CorySButler/Sudoku | 0 | 7028643 | <reponame>CorySButler/Sudoku
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sudoku
{
public class ScreenBuffer
{
//initiate important variables
private static int roomWidth;
private static int roomHeight;
... |
src/Umbraco.Web/umbraco.presentation/umbraco/create/dictionaryTasks.cs | wtct/Umbraco-CMS | 0 | 7028644 | using System;
using System.Data;
using System.Web.Security;
using Umbraco.Core.Logging;
using umbraco.BusinessLogic;
using umbraco.DataLayer;
using umbraco.BasePages;
using Umbraco.Core.IO;
using umbraco.cms.businesslogic.member;
namespace umbraco
{
public class dictionaryTasks : interfaces.ITaskReturn... |
modules/AWSPowerShell/Cmdlets/Route53Resolver/Basic/New-R53RFirewallRule-Cmdlet.cs | zechariahks/aws-tools-for-powershell | 181 | 7028645 | <filename>modules/AWSPowerShell/Cmdlets/Route53Resolver/Basic/New-R53RFirewallRule-Cmdlet.cs<gh_stars>100-1000
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version ... |
src/System.Linq.Parallel/tests/Helpers/UnorderedSources.cs | johnkellyoxford/corefx | 15 | 7028646 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namesp... |
examples/BasicExamples/CrashCourse-NN.cs | deepakkumar1984/mxnetlib | 121 | 7028647 | using System;
using System.Collections.Generic;
using System.Text;
using MxNet;
using MxNet.Gluon;
using MxNet.Gluon.Data;
using MxNet.Gluon.Data.Vision.Datasets;
using MxNet.Gluon.Data.Vision.Transforms;
using MxNet.Gluon.Losses;
using MxNet.Gluon.NN;
using MxNet.Initializers;
using MxNet.Numpy;
using MxNet.Optimizer... |
Dumps/PrimitierDumpV1.0.1/CameraButton.cs | TotalJTM/PrimitierModdingFramework | 2 | 7028648 | <filename>Dumps/PrimitierDumpV1.0.1/CameraButton.cs
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using UnityEngine;
// Image 66: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Vers... |
src/PincushionClient/AddServers.Designer.cs | bhochgurtel/PinCusion | 0 | 7028649 | <reponame>bhochgurtel/PinCusion
/*
MIT License
Copyright(c) 2019 bhochgurtel
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
... |
src/GooglePlacesApi/Services/GooglePlacesApiService.cs | MartijnVanAndel/GooglePlacesApi | 11 | 7028650 | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using GooglePlacesApi.Extensions;
using GooglePlacesApi.Handlers;
using GooglePlacesApi.Interfaces;
using GooglePlacesApi.Models;
using Newtonsoft.Json;
using Refit;
namespace GooglePlacesApi
{
public class GooglePlac... |
libraries/Microsoft.Bot.Builder/Streaming/StreamingRequestHandler.cs | jsiegmund/botbuilder-dotnet | 1 | 7028651 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.WebSockets;
usi... |
guard_claws/Exceptions/GuardClauseViolationException.cs | brendanjerwin/guard_claws | 1 | 7028652 | <filename>guard_claws/Exceptions/GuardClauseViolationException.cs
using System;
namespace GuardClaws.Exceptions
{
public class GuardClauseViolationException<T> : ApplicationException
{
protected GuardClauseViolationException(Func<T> delinquent , string message) : base(BuildMessage(delinquent, message))... |
Ex7_(MVC)/WebApplication/WebApplication/Models/Song.cs | baczynska/Advanced_Internet_Applications | 0 | 7028653 | <reponame>baczynska/Advanced_Internet_Applications<filename>Ex7_(MVC)/WebApplication/WebApplication/Models/Song.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace WebApplication.Models
{
public class Song
{
pub... |
src/SoccerStatistics.Api.Database/Repositories/Interfaces/ITeamRepository.cs | PieterQQ/SoccerStatistics.Api | 1 | 7028654 | <gh_stars>1-10
using SoccerStatistics.Api.Database.Entities;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SoccerStatistics.Api.Database.Repositories.Interfaces
{
public interface ITeamRepository : IRepository
{
Task<IEnumerable<Team>> GetAllAsync(... |
DamaCoreCMS.Web/Core/Core.Blog/Views/Widgets/TagCloud.cshtml | damaraaxaindonesia/DamaCMS | 0 | 7028655 | <filename>DamaCoreCMS.Web/Core/Core.Blog/Views/Widgets/TagCloud.cshtml<gh_stars>0
@using DamaCoreCMS.Framework.Core.Mvc.Models
@model TagCloudViewModel
@{
if (Model.ItemList != null)
{
var i = 0;
int maxFont = 30;
int minFont = 12;
int diffFont = maxFont - minFont;
in... |
SOLID/5 - DIP/DIP.Solucao/ClienteService.cs | thiagobelem/SOLID | 0 | 7028656 | <filename>SOLID/5 - DIP/DIP.Solucao/ClienteService.cs<gh_stars>0
namespace SOLID.DIP.Solucao
{
public class ClienteService : IClienteService
{
private readonly IClienteRepository _clienteRepository;
public ClienteService(IClienteRepository clienteRepository)
{
_clienteRepo... |
Modules/AudioModule/LavaLink/Models/Lyrics/Suggest/LyricsSuggestResponse.cs | emre1702/BonusBo | 9 | 7028657 | <gh_stars>1-10
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace BonusBot.AudioModule.LavaLink.Models.Lyrics.Suggest
{
internal class LyricsSuggestResponse
{
[JsonPropertyName("total")]
public int? Total { get; init; }
[JsonPropertyName("data")]
... |
samples/Product/ProductService.AppCore/Core/Specs/ProductListQuerySpec.cs | brookqin/clean-architecture-dotnet | 721 | 7028658 | <gh_stars>100-1000
using N8T.Core.Domain;
using N8T.Core.Specification;
namespace ProductService.AppCore.Core.Specs
{
public sealed class ProductListQuerySpec<TResponse> : GridSpecificationBase<Product>
{
public ProductListQuerySpec(IListQuery<ListResultModel<TResponse>> gridQueryInput)
{
... |
windows/QMK Toolbox/USB.cs | liusoon/qmk_toolbox | 0 | 7028660 | <gh_stars>0
// Created by <NAME> on 11/2/17.
// Copyright © 2017 <NAME>. This code is licensed under MIT license (see LICENSE.md for details).
using System;
using System.IO.Ports;
using System.Linq;
using System.Management;
using System.Text.RegularExpressions;
namespace QMK_Toolbox
{
public class Usb
{
... |
Script/UnrealEngine/GeneratedScriptFile/FSlateBrush.cs | xiongfang/UnrealCS | 126 | 7028661 | <filename>Script/UnrealEngine/GeneratedScriptFile/FSlateBrush.cs
using System;
namespace UnrealEngine
{
/// <summary>An brush which contains information about how to draw a Slate element</summary>
public partial struct FSlateBrush
{
/// <summary>Size of the resource in Slate Units</summary>
public FVector2D Imag... |
code/Weapons/FreezeArea.cs | apetavern/sbox-frostfight | 1 | 7028662 | <gh_stars>1-10
using Sandbox;
using System.Linq;
namespace FrostFight.Weapons
{
public class FreezeArea : Entity
{
public float LifeSpan = 0.5f;
public float FreezeTickRate = 0.17f;
public TimeSince TimeSinceCreated { get; set; }
public TimeSince TimeSinceLastTick { get; set; }
public override void Spawn... |
Hazelcast.Net/Hazelcast.Client.Protocol.Codec/ClientLocalBackupListenerCodec.cs | mogatti/hazelcast-csharp-client | 0 | 7028663 | <reponame>mogatti/hazelcast-csharp-client<filename>Hazelcast.Net/Hazelcast.Client.Protocol.Codec/ClientLocalBackupListenerCodec.cs
// Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with... |
samples/batch/transcription-enabled-storage/Tests/Properties/AssemblyInfo.cs | nkgami/cognitive-services-speech-sdk | 1,114 | 7028664 | // <copyright file="AssemblyInfo.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
using System;
[assembly: CLSCompliant(false)] |
src/CSRedisCore/Internal/IO/RedisIO.cs | bidianqing/csredis | 1,831 | 7028665 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Security;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace CSRedis.Internal.IO
{
class RedisIO : IDisposable
{
readonly RedisWriter _writer;
RedisReader _rea... |
Model/Foods.cs | AgostonAttila/netacademia-juniorcsharp-snake | 1 | 7028666 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Snake201806.Model
{
class Foods
{
public Foods()
{
//null object pattern
FoodPositions = new List<CanvasPos... |
src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreMvcOptionsSetup.cs | mirkogeffken/aspnet-mvc | 0 | 7028667 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.AspNetCore.Mvc.ModelBi... |
MainProject/Util/ValidatingUtil.cs | isman-usoh/farm-management-system | 0 | 7028668 | <filename>MainProject/Util/ValidatingUtil.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.Windows.Forms;
namespace MainProject.Util
{
internal class ValidatingUtil
{
public static void Validating(TextBox tc, Int32 Length, CancelEventArgs ... |
VsixMvcAppResult/VsixMvcAppResult.UI.Web/Views/Shared/_ResourcesStyleSheetCommonRender.cshtml | jordivila/Net_MVC_NLayer_Result | 0 | 7028669 | @using VsixMvcAppResult.UI.Web.Common.Mvc.Html;
@using VsixMvcAppResult.UI.Web.Areas.UserAccount;
@using VsixMvcAppResult.UI.Web.Areas.Error;
@using VsixMvcAppResult.Models.Enumerations;
@using VsixMvcAppResult.UI.Web.Controllers;
@model VsixMvcAppResult.UI.Web.Models.baseViewModel
<link href="@this.Model.Ba... |
baggage-handling-system/baggage-handling-system/Arrival.Designer.cs | ardasdasdas/baggage-handling-system | 4 | 7028670 | <filename>baggage-handling-system/baggage-handling-system/Arrival.Designer.cs<gh_stars>1-10
namespace baggage_handling_system
{
partial class Arrival
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
src/Essensoft.Paylink.Alipay/Domain/AlipayMarketingDataDeerConnectorQueryModel.cs | essensoft/paymen | 522 | 7028671 | <gh_stars>100-1000
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// AlipayMarketingDataDeerConnectorQueryModel Data Structure.
/// </summary>
public class AlipayMarketingDataDeerConnectorQueryModel : AlipayObject
{
/// <summary>
//... |
src/CrystalMarkNet/EntityFX.CrystalMarkNet/ALU/Eratosthenes.cs | EntityFX/CrystalMarkNet | 0 | 7028672 | <filename>src/CrystalMarkNet/EntityFX.CrystalMarkNet/ALU/Eratosthenes.cs
using System.Threading;
namespace EntityFX.CrystalMarkNet.ALU
{
class Eratosthenes : CrystalBenchmarkBase
{
private const int N = 1024;
protected override int BenchImplementation(CancellationToken cancellationToken)
... |
src/DevAdventCalendarCompetition/DevAdventCalendarCompetition/Controllers/BaseTestController.cs | michal-franc/DevAdventCalendar | 0 | 7028673 | using DevAdventCalendarCompetition.Services.Interfaces;
using DevAdventCalendarCompetition.Vms;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Security.Claims;
namespace DevAdventCalendarCompetition.Controllers
{
[Authorize]
public class BaseTestController : Controller
... |
CMS/CMSModules/PortalEngine/FormControls/WebPartLayouts/WebPartLayoutSelector.ascx.cs | mzhokh/FilterByCategoryWidget | 26 | 7028674 | <gh_stars>10-100
using System;
using CMS.FormEngine.Web.UI;
using CMS.UIControls;
public partial class CMSModules_PortalEngine_FormControls_WebPartLayouts_WebPartLayoutSelector : FormEngineUserControl
{
#region "Variables"
#endregion
#region "Properties"
/// <summary>
/// Value.
/// </su... |
WaterCloud.Domain/Entity/SystemManage/FlowschemeEntity.cs | qian416322/WaterCloud | 3 | 7028675 | <gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
using Serenity.Data.Mapping;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期:2020-07-10 08:49
/// 描 述:流程设计实体类
/// </summary>
[SugarTable("sys_flowscheme")]
... |
Module3/Module3/Tools/ExceptionDam.cs | stackprobe/CSharp | 0 | 7028676 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte.Tools
{
public class ExceptionDam
{
private List<Exception> Es = new List<Exception>();
public T Get<T>(Func<T> getter, T defval)
{
try
{
return getter();
}
catch (Exception e)
{
t... |
Workday.Integrations/Integration_Map_Value_Data_WWSType.cs | matteofabbri/Workday.WebServices | 18 | 7028677 | using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.Integrations
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace = "ur... |
NakliyatV03.Web/Views/AraBulUsers/Index.cshtml | nebikiramanli/AraBul_E-NakliyatV03Solution | 0 | 7028678 | @model IEnumerable<AraBulNakliyat.Entities.AraBulUser>
@{
ViewBag.Title = "Kullanıcılar Anasayfa";
}
<div class="row">
<div class="col-md-12">
<h2>@ViewBag.Title</h2>
<hr />
</div>
</div>
<div class="row">
<div class="col-md-12 ">
<p>
<a href="/AraBulUsers/Create" class="... |
src/Witivio.Sdk.AspNet/Middleware/ApiKeyMiddleware.cs | Witivio/Sdk | 0 | 7028679 | <reponame>Witivio/Sdk
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Witivio.Sdk.AspNet
{
public class ApiKeyMiddleware
{
private readonly RequestDelegate _next;
private readonly Api... |
PriceCalculator/Models/PriceCalculatorConfig.cs | tkglaser/challenge.shell.01 | 0 | 7028680 | <filename>PriceCalculator/Models/PriceCalculatorConfig.cs
namespace PriceCalculator.Models
{
/// <summary>
/// The configuration as loaded from appsettings.json
/// Contains products and offers
/// </summary>
public class PriceCalculatorConfig
{
public const string Section = "PriceCalcul... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.