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 |
|---|---|---|---|---|
Samples/SimpleApp/SimpleAppModule/SimpleAppModule.cs | davesspacebar/AppCan | 0 | 7047906 | <reponame>davesspacebar/AppCan
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//==============================================================================... |
RequerimientosPro/Core/Entities/Lideres.cs | eliraEsFlo/RazorWebForm | 0 | 7047907 | namespace Core.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Lideres
{
[System.Diagnostics.CodeAnalysis.SuppressMessag... |
Security/APIKeyHandler.cs | volkanvanlioglu/APIProgrammingExample | 0 | 7047908 | <filename>Security/APIKeyHandler.cs
using Programming.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
namespace Programming.API.Security
... |
TaskManagerData/BulkInsertRepository.cs | wawa0210/TaskManager | 1 | 7047909 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Reflection;
using TaskManagerData.MicroOrm.Attributes;
using TaskManagerData.MicroOrm.Extensio... |
CUELegendKeys/Clients/ClientTypeGame.cs | begner/CUELegendKeys.Net | 0 | 7047911 | <reponame>begner/CUELegendKeys.Net
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.Media;
using Corsair.Native;
using OpenCvSharp;
using OpenCvSharp.Extensions;
using OsHelper;
... |
tournament/tournament/Infrastructure/Repositories/Interfaces/IMatchTeamRepository.cs | youstinus/tournament-system | 0 | 7047912 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using tournament.Infrastructure.DataBase.Models;
namespace tournament.Infrastructure.Repositories.Interfaces
{
public interface IMatchTeamRepository
{
Task<MatchTeam> GetById(int matchId, int teamId);
... |
Telerik.Sitefinity.Newsletters.SendGrid/NewsletterTemplatesConstants.cs | Sitefinity/NewslettersSendGrid | 1 | 7047913 | <filename>Telerik.Sitefinity.Newsletters.SendGrid/NewsletterTemplatesConstants.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Telerik.Sitefinity.Newsletters.SendGrid
{
/// <summary>
/// Cont... |
Engine/extlibs/IosLibs/mono-2.6.7/mcs/errors/cs0738-2.cs | zlxy/Genesis-3D | 0 | 7047914 | // CS0738: `C' does not implement interface member `I2.Key.get' and the best implementing candidate `C.Key' return type `IB' does not match interface member return type `IA'
// Line: 22
public interface I1
{
IB Key { get; }
}
public interface I2
{
IA Key { get; }
}
public interface IB : IA
{
}
public interface IA... |
Dort/Dort.WebApi/Extensions/MiddlewareExtension.cs | lucasgmagalhaes/hubook | 1 | 7047915 | using Dort.WebApi.Middleware;
using Microsoft.AspNetCore.Builder;
namespace Dort.WebApi.Extensions
{
public static class MiddlewareExtension
{
public static IApplicationBuilder UseRequestCulture(this IApplicationBuilder builder)
{
return builder.UseMiddleware<RequestCultureMiddlew... |
Yallocc/TokenizerTests/PatternTest.cs | OlafOtterbach/Yallocc | 1 | 7047916 | <reponame>OlafOtterbach/Yallocc<gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text.RegularExpressions;
namespace Yallocc.Tokenizer
{
[TestClass]
public class PatternTest
{
[TestMethod]
public void ConstructorTest_WhenCalledWithParameters_ThenParamtersAreSet()
... |
Encuestas/Softv/Softv.SQL/PreguntaData.cs | nubiancc/CallCenter | 1 | 7047917 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Linq;
using System.Data.SqlClient;
using Softv.Entities;
using Softv.Providers;
using SoftvConfiguration;
using Globals;
namespace Softv.DAO
{
/// <summary>
/// Class : Softv.DAO.PreguntaData
... |
CCB-Administrativo/Models/CongregacaoObreiro.cs | Jonatha2051/CCB-Administrativo | 0 | 7047918 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace CCB_Administrativo.Models
{
public class CongregacaoObreiro
{
[Key]
public int... |
Microsoft Office Developer Documentation Team/SharePoint 2013 Creating an OData source with BCS notifications/[C#]-SharePoint 2013 Creating an OData source with BCS notifications/C#/AdventureWorksOData/AdventureWorksService.svc.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7047919 | <filename>Microsoft Office Developer Documentation Team/SharePoint 2013 Creating an OData source with BCS notifications/[C#]-SharePoint 2013 Creating an OData source with BCS notifications/C#/AdventureWorksOData/AdventureWorksService.svc.cs<gh_stars>1-10
//---------------------------------------------------------------... |
src/Tennis-Open-Data-Standards/Participant.cs | itftennis/tods | 0 | 7047920 | using System.Collections.ObjectModel;
using System.Xml.Serialization;
using Newtonsoft.Json;
using Tennis_Open_Data_Standards.Attributes;
namespace Tennis_Open_Data_Standards
{
[XmlRoot("Participants"), XmlType(TypeName = "Participants")]
public class Participants
{
[XmlElement(IsNullable = false)... |
SimpleExpression/SimpleExpression.Core/AbstractTree/Builders/Containers/GroupBuilder.cs | Timothep/SimpleExpressions | 3 | 7047921 | <filename>SimpleExpression/SimpleExpression.Core/AbstractTree/Builders/Containers/GroupBuilder.cs
using System;
using SimpleExpressions.Core.AbstractTree.Nodes;
using SimpleExpressions.Core.Converters;
using SimpleExpressions.Core.Converters.Grouping;
namespace SimpleExpressions.Core.AbstractTree.Builders.Containers
... |
src_wip/Demos.WebForms.Mvp/Layout/DemoLayout.Master.cs | brianmains/Nucleo.NET | 2 | 7047922 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Nucleo.Layout
{
public partial class DemoLayout : System.Web.UI.MasterPage, Nucleo.Demos.IDemoMasterPage
{
private void AddStyle(string styleName)
{
}
pub... |
VBoxInTray/Machine.cs | Einbert-Xeride/VBoxInTray | 0 | 7047923 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VBoxInTray
{
class Machine
{
private VirtualBox.IMachine vm;
public Machine(VirtualBox.IMachine vm)
{
if (vm ... |
Assets/Scripts/TextItem.cs | 3174N/project-dungeon-dweller | 1 | 7047924 | <reponame>3174N/project-dungeon-dweller
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class TextItem
{
public string text;
public Color color = Color.white;
public float duration;
}
|
Program.cs | bettech123/sbscLAP2 | 0 | 7047925 | <filename>Program.cs<gh_stars>0
using System;
namespace lab2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("LAB2 \n Given two numbers, return true if the sum of both numbers is less than 100. Otherwise return false.");
int num1;
... |
packages/VL.Stride.Runtime/src/Rendering/Lights/LightNodes.Skybox.cs | bj-rn/VL.Stride | 24 | 7047926 | using Stride.Core;
using Stride.Core.Mathematics;
using Stride.Engine;
using Stride.Graphics;
using Stride.Rendering;
using Stride.Rendering.ComputeEffect.GGXPrefiltering;
using Stride.Rendering.ComputeEffect.LambertianPrefiltering;
using Stride.Rendering.Materials;
using Stride.Rendering.Skyboxes;
using Stride.Shader... |
MicroSamples/locator/locator.cs | mjtpena/mac-samples | 302 | 7047927 | //
// Original sample by <NAME>
//
// This sample finds your location and displays it in Google maps
//
using System;
using CoreLocation;
using Foundation;
using AppKit;
class Locator {
const string googleUrl = "http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=#{0},#{1}";
public class LocationDelegate :... |
HttpClientUtilities/ServiceCollectionExtensions.cs | nventive/HttpClientUtilities | 0 | 7047928 | <filename>HttpClientUtilities/ServiceCollectionExtensions.cs
using System;
using System.Net.Http;
using HttpClientUtilities;
using Microsoft.Extensions.Options;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// <see cref="IServiceCollection"/> extension methods.
/// </summary>
pub... |
Src/Modules/Payments/Divstack.Company.Estimation.Tool.Payments.Domain/Payments/PaymentId.cs | kamilbaczek/estimation-tool | 1 | 7047929 | namespace Divstack.Company.Estimation.Tool.Payments.Domain.Payments;
public record PaymentId(Guid Value)
{
public static PaymentId Create()
{
return new PaymentId(Guid.NewGuid());
}
public static PaymentId Of(Guid id)
{
return new PaymentId(id);
}
}
|
Project_Tri-Pong/Assets/PlayMaker/Actions/Quaternion/QuaternionBaseAction.cs | Sindiewen/Super-Pong-Unity | 0 | 7047930 | <filename>Project_Tri-Pong/Assets/PlayMaker/Actions/Quaternion/QuaternionBaseAction.cs
// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
public abstract class QuaternionBaseAction : FsmStateAction
{
public enum everyFrameOptions {Update... |
TankLib/STU/Types/Enums/Enum_7E56FB0C.cs | Mike111177/OWLib | 1 | 7047931 | <gh_stars>1-10
// Enum generated by TankLibHelper.EnumBuilder
// ReSharper disable All
namespace TankLib.STU.Types.Enums {
[STUEnumAttribute(0x7E56FB0C)]
public enum Enum_7E56FB0C : uint {
[STUFieldAttribute(0x64458194)]
x64458194 = 0x0,
[STUFieldAttribute(0xCD13D48C)]
xCD13D48C... |
src/Nuuvify.CommonPack.Middleware/Setups/GlobalHandlerExceptionSetup.cs | lzocateli00/Lzfy.DevPack | 0 | 7047932 | using Microsoft.Extensions.DependencyInjection;
namespace Nuuvify.CommonPack.Middleware.Handle
{
public static class GlobalHandlerExceptionSetup
{
public static void AddGlobalHandlerExceptionSetup(this IServiceCollection services)
{
services.AddScoped<IGlobalHandleException, Globa... |
AdventOfCode/aoc.csharp.tests/2018/Day07Tests.cs | zivkan/CodingForFun | 0 | 7047933 | <reponame>zivkan/CodingForFun
using aoc.csharp._2018;
using Xunit;
namespace aoc.csharp.tests._2018
{
public class Day07Tests
{
[Fact]
public void Answer()
{
using var input = Input.Get(2018, 07);
var (part1, part2) = Day07.GetAnswer(input);
Assert.E... |
src/MachineLearning/Serialization/GamRegressionTrainerSurrogate.cs | darth-vader-lg/MachineLearning | 1 | 7047934 | using Microsoft.ML.Data;
using Microsoft.ML.Trainers.FastTree;
using System.Runtime.Serialization;
namespace MachineLearning.Serialization
{
/// <summary>
/// Surrogato di serializzazione
/// </summary>
internal class GamRegressionTrainerSurrogate : GamTrainerBaseBaseSurrogate<GamRegressionTrainer.Options... |
UserInterface/Styles/DynamicStyles/Styles/HomePageCS.cs | MiaHub/xamarin-forms-samples | 4,601 | 7047935 | <reponame>MiaHub/xamarin-forms-samples<gh_stars>1000+
using Xamarin.Forms;
namespace Styles
{
public class HomePageCS : TabbedPage
{
public HomePageCS ()
{
Children.Add (new DynamicStylesPageCS ());
Children.Add (new DynamicStylesInheritancePageCS ());
Children.Add (new DeviceStylesPageCS ());
}
}
}... |
Rodrigo.Tech.Model/Constants/HttpTriggerFunctionRouteConstants.cs | RorroRojas3/Azure-Functions-BoilerPlate | 0 | 7047936 | <reponame>RorroRojas3/Azure-Functions-BoilerPlate
namespace Rodrigo.Tech.Model.Constants
{
public class HttpTriggerFunctionRouteConstants
{
#region Item
public const string ITEM = "Item";
public const string ITEM_BYID = "Item/{id}";
#endregion
}
}
|
Players/Character.cs | DemonRem/GTA-RP | 30 | 7047937 | <reponame>DemonRem/GTA-RP
using System;
using GTA_RP.Factions;
using GrandTheftMultiplayer.Shared.Math;
using GrandTheftMultiplayer.Server.API;
using GrandTheftMultiplayer.Server.Elements;
using GrandTheftMultiplayer.Shared;
using System.Collections.Generic;
using GTA_RP.Items;
namespace GTA_RP
{
/// <summary>
... |
WDLib/Maths/Geometry/Point2D.cs | busyDuckman/WDLib | 0 | 7047938 | <gh_stars>0
/* ---------------------------------------------------------------------------------------------------------------------------------------
* (C) 2019, Dr <NAME>.
* This file is subject to the terms and conditions defined in the included file 'LICENSE.txt'
* -------------------------------------------... |
Web/Generated/Html/TextAreaElement.cs | n9/SaltarelleWeb | 2 | 7047939 | <reponame>n9/SaltarelleWeb
using System.Runtime.CompilerServices;
namespace System.Html {
[IgnoreNamespace, Imported(TypeCheckCode = "{$System.Script}.isInstanceOfType({this}, Element) && {this}.tagName === 'TEXTAREA'"), ScriptName("Element")]
public partial class TextAreaElement : Element {
internal TextAreaElem... |
taskt/Core/Automation/Commands/Data/StringReplaceCommand.cs | goncaloperes/taskt | 658 | 7047940 | <filename>taskt/Core/Automation/Commands/Data/StringReplaceCommand.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml.Serialization;
using taskt.UI.CustomControls;
using taskt.UI.Forms;
namespace taskt.Core.Automation.Commands
{
[Serializable]
[At... |
BoutiqueCommon/Models/Domain/Interfaces/Clothes/SizeGroupDomain/ISizeGroupMainDomain.cs | rubilnik4/VeraBoutique | 0 | 7047941 | using System;
using System.Collections.Generic;
using BoutiqueCommon.Models.Common.Interfaces.Clothes;
using BoutiqueCommon.Models.Common.Interfaces.Clothes.SizeGroups;
using BoutiqueCommon.Models.Domain.Interfaces.Base;
using BoutiqueCommon.Models.Enums.Clothes;
namespace BoutiqueCommon.Models.Domain.Interfaces.Clot... |
NodeMarkup/UI/Property panels/ColorAdvancedProperty.cs | DeznekCZ/NodeMarkup | 38 | 7047942 | <reponame>DeznekCZ/NodeMarkup
using ColossalFramework.UI;
using ModsCommon.UI;
using UnityEngine;
namespace NodeMarkup.UI
{
public class ColorAdvancedPropertyPanel : ColorPropertyPanel
{
private static Color32? Buffer { get; set; }
protected override void ColorPickerOpen(UIColorField dropdown... |
EFCoreApp_Model/Models/Author.cs | dsyam/EF5 | 0 | 7047943 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EFCoreApp_Model.Models
{
public class Author
{
[Key]
[DatabaseGenerated... |
src/ManagerGUI.WinForm/MainForm.cs | lufengfan/Wlan-edu-Manager | 0 | 7047944 | <filename>src/ManagerGUI.WinForm/MainForm.cs
using SamLu.Tools.Wlan_edu_Manager.GUI.Controls.WinForm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections... |
Controllers/ListView/NestedListController.cs | ESA-Security-Group/ej2-aspnetmvc-samples | 0 | 7047945 | <reponame>ESA-Security-Group/ej2-aspnetmvc-samples<filename>Controllers/ListView/NestedListController.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace EJ2MVCSampleBrowser.Controllers.ListView
{
public partial class ListViewControlle... |
SOCJT 2/BasisFunction.cs | tcodd86/SOCJT_2 | 4 | 7047946 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApplication1
{
class BasisFunction
{
/// <summary>
/// Value of j
/// </summary>
public decimal J { get; private set; }
/// <summary>
... |
On_OOP/On_OOP/NgaySinh.cs | ThuyfwgewegwDung/oop | 0 | 7047947 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace On_OOP
{
class NgaySinh
{
private int _ngay;
private int _thang;
private int _nam;
public int Ngay
{
get
{
... |
Blazorcrud.Server/Models/DataGenerator.cs | DavidScheuren/BlazorCrud | 17 | 7047948 | <gh_stars>10-100
using Blazorcrud.Shared.Models;
using Bogus;
namespace Blazorcrud.Server.Models
{
public class DataGenerator
{
public static void Initialize(AppDbContext appDbContext)
{
Randomizer.Seed = new Random(32321);
if (!(appDbContext.People.Any()))
... |
src/CosmosDbExplorer/Infrastructure/RadioButtonEx.cs | savbace/CosmosDbExplorer | 69 | 7047949 | using System;
using System.Windows;
using System.Windows.Controls;
namespace CosmosDbExplorer.Infrastructure
{
public class RadioButtonEx : RadioButton
{
public object RadioValue
{
get { return (object)GetValue(RadioValueProperty); }
set { SetValue(RadioValueProperty, v... |
src/Brunet/Security/Dtls/DtlsOverlord.cs | sporkmonger/brunet | 1 | 7047950 | using Brunet.Messaging;
using Brunet.Security.Utils;
using Brunet.Util;
using OpenSSL;
using OpenSSL.Core;
using OpenSSL.Crypto;
using OpenSSL.X509;
using System;
using System.Threading;
using System.Security.Cryptography;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;... |
src/Plurto.Portable/Entities/LoginProfile.cs | pH200/chronoplurk-wp | 0 | 7047951 | <reponame>pH200/chronoplurk-wp
using System.Net;
namespace Plurto.Entities
{
public sealed class LoginProfile
{
public string Username { get; set; }
public string Password { get; set; }
public CookieCollection Cookies { get; set; }
public Profile Profile { get; set; }
... |
Formall.MySql/branches/WebSiteWithPresentation/QrCode.Tests/PenaltyScore/Penalty3Test.cs | InnPad/Formall.NET | 1 | 7047952 | using Custom.Algebra.QrCode.Encoding.Masking.Scoring;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
namespace Custom.Algebra.QrCode.Encoding.Tests.PenaltyScore
{
[TestClass, TestFixture]
public class Penalty3Test : PenaltyTestBase
{
[Test, TestMethod]
[TestCaseSourc... |
Public/Src/Cache/ContentStore/DistributedTest/ContentLocation/NuCache/ContentLocationEventDataSerializerTests.cs | nayanshah/BuildXL | 1 | 7047953 | <gh_stars>1-10
// 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.Linq;
using BuildXL.Cache.ContentStore.Distributed.NuCache;
using BuildXL.Cache.ContentStore.Distributed.NuCache.EventSt... |
Luncher/Program.cs | dedepete/Luncher | 8 | 7047954 | <reponame>dedepete/Luncher
using System;
using System.Windows.Forms;
using Luncher.Forms.MainForm;
using Telerik.WinControls;
namespace Luncher
{
internal static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
public static string Minecraft... |
DocumentDBRestApi/DocumentDBRestAPIClient/DocumentDBRestAPI/Models/UserCollection.cs | HEDIDIN/DocumentDB-REST | 11 | 7047955 | <filename>DocumentDBRestApi/DocumentDBRestAPIClient/DocumentDBRestAPI/Models/UserCollection.cs
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
usin... |
Source/OxyPlot.Contrib.Wpf/Annotations/RectangleAnnotation.cs | oldhamir/oxyplot-contrib | 3 | 7047956 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="RectangleAnnotation.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// This is a WPF wrapper of OxyPlot.RectangleAnnotation
// <... |
src/ZonyLrcTools.Cli/Infrastructure/Exceptions/ErrorCodes.cs | yipaolu/ZonyLrcToolsX | 401 | 7047957 | namespace ZonyLrcTools.Cli.Infrastructure.Exceptions
{
/// <summary>
/// 错误码。
/// </summary>
public static class ErrorCodes
{
#region > 错误信息 <
/// <summary>
/// 文本: 待搜索的后缀不能为空。
/// </summary>
public const int FileSuffixIsEmpty = 10001;
/// <summary>
... |
MovieShopSystem/MovieShopSystem/Models/Home/IndexViewModel.cs | simeonbs/ASP.NET-Core-Movie-Shop | 2 | 7047959 | using System.Collections.Generic;
namespace MovieShopSystem.Models.Home
{
public class IndexViewModel
{
public int TotalMovies { get; init; }
public int TotalUsers { get; init; }
public List<MovieIndexViewModel> Movies { get; init; }
}
}
|
Crystal Castle/Assets/Scripts/Story/AoisPart.cs | Gkupce/Crystal_Castle | 1 | 7047960 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AoisPart : CharacterScript {
private string[] aoi1 = {
"Nanny's castle",
"Think we made it in time?",
"WHA-",
"WHA-WHAT HAPPENED HERE???",
"And sis-",
"remember that paint you really liked?",
"1..",
"1.. 2..... |
mcproject/mcproject/AppShell.xaml.cs | filippovisconti/mcproject | 0 | 7047961 | <gh_stars>0
using System;
using System.Collections.Generic;
using mcproject.ViewModels;
using mcproject.Views;
using Xamarin.Forms;
namespace mcproject
{
public partial class AppShell : Xamarin.Forms.Shell
{
public AppShell()
{
InitializeComponent();
Routing.RegisterRou... |
Grammar/ProductionRule.cs | mff-uk/exolutio | 1 | 7047962 | <reponame>mff-uk/exolutio<filename>Grammar/ProductionRule.cs
using System.Collections.Generic;
using System.Linq;
using Exolutio.SupportingClasses;
namespace Exolutio.Model.PSM.Grammar
{
public class ProductionRule
{
public NonTerminal LeftHandNonTerminal { get; set; }
public RightHa... |
src/Core2D.Core/ViewModels/Editor/Bounds/Shapes/ArcBounds.cs | juliuming/my-core2d | 604 | 7047963 | <reponame>juliuming/my-core2d
#nullable enable
using System;
using System.Collections.Generic;
using Core2D.Model.Editor;
using Core2D.Model.Renderer;
using Core2D.ViewModels.Shapes;
using Core2D.Spatial;
namespace Core2D.ViewModels.Editor.Bounds.Shapes;
public class ArcBounds : IBounds
{
public Type TargetType ... |
Assets/Scripts/MainMenuScript.cs | NRZero1/Augmented-Reality_Animals-Study | 0 | 7047964 | <filename>Assets/Scripts/MainMenuScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenuScript : MonoBehaviour
{
public GameObject exitPanel;
public GameObject aboutPanel;
public AudioSource aboutSound;
public AudioSource exitSound;
public vo... |
Assets/Project/Scripts/NewHighScoreMenu.cs | OmiyaGames/hachi-block | 1 | 7047965 | <gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
using OmiyaGames.Menu;
using OmiyaGames.Settings;
using TMPro;
namespace Project
{
public class NewHighScoreMenu : IMenu
{
[Header("Common Settings")]
[SerializeField]
BackgroundMenu.BackgroundType background = Backgro... |
GummiBearKingdom/Models/EFReviewRepository.cs | eyesicedover/GummiBearKingdom | 0 | 7047966 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GummiBearKingdom.Models
{
public class EFReviewRepository : IReviewRepository
{
GBKContext db = new GBKContext();
public IQueryable<Review> Reviews {... |
TestApplications/SimpleQA/SimpleQA.Common/Messaging/PushSubscriptionRequest.cs | vtortola/RedisClient | 5 | 7047967 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SimpleQA.Messaging
{
public sealed class PushSubscriptionRequest
{
public String Topic { get; set; }
}
public sealed class PushMessage
{
public String Topic { get; set; }
public ... |
framework/wcf/Basic/Web/UriTemplateDispatcher/CS/Program.cs | joseocampo/samples | 2,197 | 7047968 | <gh_stars>1000+
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace Microsoft.Samples.UriTemplateDispatcher
{
p... |
Source/Eto.WinForms/Forms/WindowsPanel.cs | DavidRutten/Eto | 1 | 7047969 | <gh_stars>1-10
using System;
using sd = System.Drawing;
using swf = System.Windows.Forms;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.WinForms.Forms
{
public abstract class WindowsPanel<TControl, TWidget, TCallback> : WindowsContainer<TControl, TWidget, TCallback>, Panel.IHandler
where TControl : swf.Control
... |
gameserver/networking/socket/NetworkHandler.cs | Devwarlt/LOE-V6-SERVER | 2 | 7047970 | using System;
using System.Collections.Concurrent;
using System.Net.Sockets;
using log4net;
using LoESoft.Core.config;
using static LoESoft.GameServer.networking.Client;
using LoESoft.GameServer.realm;
using LoESoft.Core.models;
namespace LoESoft.GameServer.networking
{
internal partial class NetworkHandler : IDi... |
src/EA.Iws.RequestHandlers/Notification/GetIsPreconsentedRecoveryFacilityHandler.cs | DEFRA/prsd-iws | 1 | 7047971 | <reponame>DEFRA/prsd-iws
namespace EA.Iws.RequestHandlers.Notification
{
using System.Data.Entity;
using System.Threading.Tasks;
using DataAccess;
using Domain.NotificationApplication;
using Prsd.Core.Mapper;
using Prsd.Core.Mediator;
using Requests.Notification;
internal class GetIsPr... |
Runtime/NGUIEx/Component/Grid/UITableAnimEventListener.cs | mulova/ngui_extensions | 2 | 7047972 | <filename>Runtime/NGUIEx/Component/Grid/UITableAnimEventListener.cs
#if FULL
//----------------------------------------------
// NGUI extensions
// License: The MIT License ( http://opensource.org/licenses/MIT )
// Copyright © 2013- <EMAIL>
//----------------------------------------------
namespace ngui.ex {
public... |
Source/MQTTnet/Server/IMqttClientSessionStatus.cs | JTrotta/MQTTnet | 2 | 7047973 | using System;
using System.Threading.Tasks;
using MQTTnet.Serializer;
namespace MQTTnet.Server
{
public interface IMqttClientSessionStatus
{
string ClientId { get; }
string Endpoint { get; }
bool IsConnected { get; }
MqttProtocolVersion? ProtocolVersion { get; }
Tim... |
LyraWallet/Views/BarcodeGenPage.xaml.cs | LYRA-Block-Lattice/LyraMobileWallet | 0 | 7047974 | using LyraWallet.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace LyraWallet.Views
{
[QueryProperty("Account", "account")]
[XamlCompilation(XamlCompilationOptions.Compile)]
publi... |
Models/Entities/Customer.cs | curlyfro/robstagram | 2 | 7047975 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace robstagram.Models.Entities
{
public class Customer
{
public int Id { get; set; }
public string IdentityId { get; set; }
public AppUser Identity { get; set; } // navigation proper... |
AccountSystem.WebApi/App_Start/AutofacConfig.cs | MinfeiHe/AS.WebApi | 0 | 7047976 | <gh_stars>0
using System.Reflection;
using System.Web.Http;
using AccountSystem.WebApi.Interfaces;
using AccountSystem.WebApi.Services;
using Autofac;
using Autofac.Integration.WebApi;
namespace AccountSystem.WebApi
{
public class AutofacConfig
{
public static void Register()
{
var... |
src/AngryRESTaurant.WebAPI/Contracts/CookingQueue.cs | 5c0r/AngryRestaurant | 0 | 7047977 | using System;
namespace AngryRESTaurant.WebAPI.Contracts
{
public interface FastFoodOrdered
{
public Guid OrderId { get; }
public string CustomerName { get; }
public string FoodName { get; }
}
public interface SlowFoodOrdered
{
public Guid OrderId { get; }
... |
TGK-RPG/Assets/Scripts/Item/Item.cs | hitnoodle/TGK-RPG | 2 | 7047978 | using UnityEngine;
using System.Collections;
using System.Xml;
using System.Xml.Serialization;
[System.Serializable]
[XmlInclude(typeof(OneHandedMelee))]
[XmlInclude(typeof(TwoHandedMelee))]
[XmlInclude(typeof(Bow))]
[XmlInclude(typeof(Staff))]
[XmlInclude(typeof(Shield))]
[XmlInclude(typeof(HeadArmor))]
[XmlInclude(... |
Net/ThreadSafeQueue.cs | gatekeep/Trident.RPC | 0 | 7047979 | <filename>Net/ThreadSafeQueue.cs
/**
* Copyright (c) 2008-2020 <NAME>., All Rights Reserved.
* MIT Open Source. Use is subject to license terms.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*/
/*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and... |
Megumin.Explosion/Megumin/Class/NeighborFinder.cs | KumoKyaku/Megumin.Explosion | 7 | 7047980 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Megumin
{
public class NeighborFinder<T>
where T : IXZ<int>
{
public IEnumerable<T> all { get; set; }
public T Center { get; set; }
public T NeighborUpRight { get { return all.Fir... |
test/Core/System.String/Reverse.cs | edwardmeng/FluentMethods | 0 | 7047981 | <reponame>edwardmeng/FluentMethods<gh_stars>0
using System;
namespace FluentMethods.UnitTests
{
public partial class StringFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void Reverse()
{
// Type
string @this =... |
src/BikeSharing.Services.Core/Commands/CommandBase.cs | leonhardrocha/BikeSharing360_BackendServices | 77 | 7047982 | <filename>src/BikeSharing.Services.Core/Commands/CommandBase.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BikeSharing.Services.Core.Commands
{
public abstract class CommandBase : ICommand
{
private readonly List<string> _errors;
... |
src/Atm.Core.Test/UserTest.cs | mamcer/atm-fun | 0 | 7047983 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Atm.Core.Test
{
[TestClass]
public class UserTest
{
[TestMethod]
public void ConstructorShouldInitializeAccounts()
{
// Arrange
User user;
// Act
user = new User();
... |
src/Battle.Tests/Scenarios/ToggleSwitchScenarioTest.cs | samsmithnz/Battle | 1 | 7047985 | <filename>src/Battle.Tests/Scenarios/ToggleSwitchScenarioTest.cs
using Battle.Logic.Characters;
using Battle.Logic.Game;
using Battle.Logic.Map;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Numerics;
namespace Battle.Tests.Scenarios
{
[System.Diagnostics.CodeA... |
WAD/lab3/Api/LabThree/LabThree.Data/Entities/AccordionEntity.cs | Bardin08/KPI-Third-Term | 7 | 7047986 | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace LabThree.Data.Entities;
public class AccordionEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public Guid Id { get; set; }
public string? Title { get; set; }
public str... |
EList/Controllers/UsersController.cs | Encode-2020/EList | 0 | 7047987 | <filename>EList/Controllers/UsersController.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using EList.Data;
using EList.Models;
using AutoMapper;
using ... |
src/MongoFramework/MongoDbUtility.cs | bobbyangers/MongoFramework | 224 | 7047988 | <gh_stars>100-1000
using MongoDB.Bson;
namespace MongoFramework
{
public static class MongoDbUtility
{
/// <summary>
/// Checks whether the provided string matches the 24-character hexadecimal format of an ObjectId
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public static bool I... |
src/XperienceCommunity.QueryExtensions/XperienceCommunityConnectionHelperExtensions.cs | wiredviews/xperience-query-extensions | 0 | 7047989 | using System;
using System.Data;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CMS.Helpers;
using XperienceCommunity.QueryExtensions.Objects;
namespace CMS.DataEngine
{
public static class XperienceCommunityConnectionHelper
{
/// <summary>
/// Executes the given... |
test/Test.ModuleInject.Common/Utility/DoubleDictionaryTest.cs | Useurmind/ModuleInject | 0 | 7047991 | <reponame>Useurmind/ModuleInject
using System.Linq;
using Xunit;
namespace Test.ModuleInject.Common.Utility
{
using global::ModuleInject.Common.Utility;
public class DoubleDictionaryTest
{
private DoubleKeyDictionary<int, string, int> mDictionary;
public DoubleDictionaryTest()
{
... |
MyClassLibrary_Standard/Database/DataObjectCollectionReaderProcessBase.cs | mhertzfeld/MyClassLibrary | 0 | 7047992 | using System;
namespace MyClassLibrary.Database
{
public abstract class DataObjectCollectionReaderProcessBase<T_DataObject, T_DataObjectCollection, T_DataParameter, T_DataReader, T_DbCommand, T_DbConnection, T_DbDataAdapter, T_DbTransaction>
: ReaderProcessBase<T_DataParameter, T_DataReader, T_DbCo... |
Assets/Plugins/UnityLocalize/Data/TranslationStorage/TranslationDatabase.cs | anvoro/ULocalize | 0 | 7047993 | using System;
using System.Collections.Generic;
using System.Linq;
namespace UnityLocalize.DataStorage
{
internal class TranslationDatabase
{
private readonly TranslationRepository _translationRepository;
public TranslationDatabase(TranslationRepository translationRepository)
{
... |
src/Web/CleaningWeb.Web/Views/Contact/Index.cshtml | VelinovAngel/ASP.NET-Core-Project-Cleaning-Website-System | 4 | 7047994 | @using CleaningWeb.Web.ViewModels.Layout
@model ContactFormModel
@inject CleaningWeb.Services.Data.Company.ICompanyService CompanyService
@{
this.ViewData["Title"] = "Contact";
var model = CompanyService.GetCompanyInfoViewModel<CompanyInfoViewModel>();
var email = model.Email;
var address = model.Add... |
src/server/src/Modules/Shop.Module.Orders/Controllers/CustomerOrderApiController.cs | trueai-org/module-shop | 481 | 7047995 | <filename>src/server/src/Modules/Shop.Module.Orders/Controllers/CustomerOrderApiController.cs
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Shop.Infrastructure;
using Shop.Infrastructure.Data;
using Shop.Infrastructure.Web.StandardTa... |
CSP.Tests/HttpCacheServiceTests/GetShould.cs | primas23/CacheServiceProject | 0 | 7047996 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MSTestExtensions;
using CSP.CacheService;
namespace CSP.Tests.HttpCacheServiceTests
{
[TestClass]
public class GetShould
{
[TestMethod]
public void ThrowNullException_WhenItemNameIsNull()
{
// Arr... |
src/02_Data/Data.Abstractions/ICodeFirstProvider.cs | HmmmWoo/Mkh | 1 | 7047997 | namespace Mkh.Data.Abstractions
{
/// <summary>
/// 代码优先提供器
/// </summary>
public interface ICodeFirstProvider
{
/// <summary>
/// 创建库
/// </summary>
void CreateDatabase();
/// <summary>
/// 创建表
/// </summary>
void CreateTable();
}... |
Test/Desktop/OpenRiaServices.Common.DomainServices.Test/Northwind/LTS_Northwind.cs | icnocop/OpenRiaServices | 0 | 7047998 | using System;
using System.ComponentModel.DataAnnotations;
using System.Data.Linq;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using OpenRiaServices;
using OpenRiaServices.DomainServices.Hosting;
using OpenRiaServices.DomainServices.Server;
using DataTests.Northwind.LTS;
using Ope... |
src/Discussion.Web/Services/UserManagement/Exceptions/RetrievePasswordVerificationException.cs | Unlonlyness/dotnetclub | 156 | 7047999 | using System;
namespace Discussion.Web.Services.UserManagement.Exceptions
{
public class RetrievePasswordVerificationException : InvalidOperationException
{
public RetrievePasswordVerificationException(string message) : base(message)
{
}
}
}
|
src/Witsml.Server.MongoDb/Data/MongoDbClassMapper.generated.cs | dhibarrett/witsml-server | 0 | 7048000 | //-----------------------------------------------------------------------
// PDS.Witsml, 2016.1
//
// Copyright 2016 Petrotechnical Data Systems
//
// 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 ... |
src/Typewriter/CodeModel/Configuration/ProjectHelpers.cs | lincolnb/Typewriter | 21 | 7048001 | <filename>src/Typewriter/CodeModel/Configuration/ProjectHelpers.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
using Typewriter.Generation.Controllers;
using Typewriter.VisualStudio;
using VSLangProj;
namespace Typewriter.CodeMo... |
src/platform/Borg.Platform.EF/CMS/Data/CmsDbContext.cs | mitsbits/NoBorg | 1 | 7048002 | <reponame>mitsbits/NoBorg
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using System;
using System.Collections.Generic;
using System.Linq;
using Borg.Platform.EF.Instructions;
namespace Borg.Platform.EF.CMS.Data
{
public class CmsDbContext : DbContext
{
private reado... |
Lobalug/StepsInserter.cs | nus-ii/Jason3 | 0 | 7048003 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StepRepository;
namespace Lobalug
{
public static class StepsInserter
{
public static void StepInsertMain(CommonProperty commonProperty)
{
str... |
AutoClient/Models/Dealer.cs | oleachka/VAutoAnswer | 0 | 7048004 | using System.Collections.Generic;
namespace VAuto.Client.Models
{
public class Dealer
{
public int DealerId { get; set; }
public string Name { get; set; }
public IEnumerable<Vehicle> Vehicles { get; set;}
}
} |
EpiCommonUtils/Infrastructure/EntryValueConverter.cs | fortedigital/EpiCommonUtils | 2 | 7048005 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Forte.EpiCommonUtils.Infrastructure
{
public class EntryValueConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return (objectType == typeof(List<... |
DamageLib/Events/Di/RequestDependencyEvent.cs | damagefilter/damagebot4twitch | 0 | 7048006 | using System;
using DamageBot.EventSystem;
namespace DamageBot.Events.Di {
public class RequestDependencyEvent : Event<RequestDependencyEvent> {
/// <summary>
/// The service you request.
/// </summary>
public Type RequestedResource {
get;
}
///... |
src/SplitThatBill.Backend.Data/Migrations/20200221155739_AddCurrencies.cs | lhargil/split-that-bill-backend | 1 | 7048007 | <gh_stars>1-10
using System;
using System.IO;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SplitThatBill.Backend.Data.Migrations
{
public partial class AddCurrencies : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... |
src/OpenProtocolInterpreter/Alarm/Mid0077.cs | artleo-prodrive/OpenProtocolInterpreter | 78 | 7048008 | <reponame>artleo-prodrive/OpenProtocolInterpreter<filename>src/OpenProtocolInterpreter/Alarm/Mid0077.cs<gh_stars>10-100
namespace OpenProtocolInterpreter.Alarm
{
/// <summary>
/// Alarm status acknowledge
/// <para>Acknowledgement of <see cref="Mid0076"/> Alarm Status.</para>
/// <para>Message sent by:... |
src/BioCif.Core/IDataBlockMember.cs | EliotJones/BioCif | 1 | 7048009 | <filename>src/BioCif.Core/IDataBlockMember.cs
namespace BioCif.Core
{
/// <summary>
/// Marker interface for an item in a <see cref="DataBlock"/>.
/// Could be one of <see cref="DataItem"/>, <see cref="DataTable"/>
/// or for dictionary files, a <see cref="SaveFrame"/>.
/// </summary>
public in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.